• 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.

Import MSFS developer project XML

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
34,473
Country
netherlands
ModelConverterX is able to export MSFS scenery packages for quite a while already. To do this a MSFS dev project is written and then compiled with the fspackagetool. But when I implemented this feature, it never occurred to me that the reverse would be useful as well. Until a few weeks ago when I tried to help a developer tweak his MSFS project. I realized it was not that easy with MCX to modify an object in the project, while keeping the placement intact.

So in the latest development release I have added an import function for the MSFS developer project XML file as well. MCX will then read the ModelLib, BGL and SimObject assets that are defined in that project into its memory so that you manipulate them or export them to other formats.

To read ModelLib assets ModelConverterX uses the MSFS model XML reader that was already present. To read the BGL assets the XML reader is used and to read the SimObject assets the CFG reader is used to read the aircraft.cfg or sim.cfg file.

While adding this feature I also found a few minor bugs in the CFG reader, so I have fixed them directly as well.

Continue reading...
 
Back
Top