• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

MSFS20 MSFSTools - Generate a package of multiple objects from a KML or a PLN file

Messages
2
Country
spain
Hi. Let's present myself first. I'm Alfonso Siloniz and I'm in the flightsim world since a lot of years ago. I've made one MSFS scenery myself with the SDK and Blender, also with XPlane-11 in the past. Please, if this is not the appropiate section, just move it.

I feel that MSFS has amazing graphics but when doing VFR flights in the base scenery, it is very homogeneus and it is easy to loose the references. So I thought it would be good to have a tool that, taking a MSFS Flightplan generated by Little Nav Map or Plan G, or using a KML file with Google Earth, is able to generate a MSFS package to put in the Community Folder, adding some library objects that could be very well divised. So I started to write this tool. I would like to show it to all of you

https://github.com/alfonsosiloniz/MSFSTools

The fpl2scn.config file defines a list of "keys" that you need to use as prefix in the names for your markers so the tool take that marker in consideration, and the value is a Library Object GUID to use. I'm using the fsbase Library Objects for that, but you can use your own if you have an Object Library installed in the Community folder.

I have another use case in mind but I will not have time to implement it. Imaging generate a Red Bull air race, or Reno style air race, desigining the circuit in Google Earth (you can define altitude and heading of the objects there). Now this is possible without using the MSFS SDK.

It has 2 projects made in C# (I´m not a proffessional developer) One is FPL2SCN.exe, the tool that takes the PLN file or a KML file and generates the Package. It uses the second project BGLLibrary, that is a partial implementation of the BGL file format. It is able to compile a BGL file with all the Library Objects that are obtained from the PLN/KML files, without using the SDK neither BGLComp.

Please, take a look to the README.md of FPL2SCN to know how to use it. In the releases page in GitHub you can download the executable. In the easy mode just drag & drop a PLN/KML file to the exe file and it will generate the package under MSFS_Package folder. Or you can execute it using the command line.

I hope this is useful, and I am looking for any comment that you can have.

Thank You

PS: I let the software binaries in GitHub, but maybe I can upload it too. Please let me know what is the best options.
 
Last edited:
BTW, you could implement yourself any other conversion tool taking FPL2SCN as an example. You could just write a tool that take a plain list of points in a text file and use it to generate the library. You can easily build automatic package libraries for setting VFR notification points in any airport or region for instance.
 
Back
Top