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

Extract Scenery Object from Airport .BGL File

Messages
252
Country
australia
I believe I may have asked this before, but I cant remeber the nomenclature to achieve a result whilst searching. Apologies if this is the case. I am relocating (moving) an airport from a third party that doesnt sit properly in the sim. In doing so ADEX creates new files (.AD4, .BGL etc) but without the original airport .BGL I lose all the scenery objects (Terminals etc.). Am I able to extract the scenery objects from the Airport File into an objects file that I can then sit in with the relocated airport files? If I place the original file in the directory I get duplication of the airport in ghost form to the old location.
Cheers
Andrew
 
Hi Andrew:

IIRC, your project platform is FSX, so you could use scruffyduck's BGL2XML to derive the XML from the original airport, and edit a copy in NotePad++.

Moving BGLComp Generic objects and AFD infrastructure for an entire airport can also be done if you activate the (now free) ProKey code in ADEv1.79x.

I would assume any scenery library objects 'placed' via the original "Airport" BGL would also be moved.

If the original project also has separate scenery library objects 'placed' via separate BGLs, you could copy their placement XML into the derived original airport XML, and if the object placement XML elements are integrated into the airport BGL XML properly, they can be 'moved' as well.

GaryGB
 
Last edited:
I use Gary‘s first suggestion, that program will generate MDL files for each object. Then you can place them as MDL objects using ADE, or use XML to place them into a scenery library BGL file and use the ADE LOM, or also the add placement information into the XML file.
 
Thanks Gary,

Even with the objects in my project, I still required the original Airport *.BGL file as it also contained all the objects, as well as the Aerodrome information. The ADEX *.BGL only contained placement information for the objects. My final work flow which appears to have worked, at least in this case, is:

1. Use BGL2XML to extract the MDL files.
2. Import these files into LibraryCreatorXML and generate the *.BGL file with the same name as the original airport *.BGL file.
3. Place this file in the directory tree and switch off the original Airport *.BGL file.

et voila, buildings where they should be and no ghosts.

Thanks for your help guys!
Andrew
 
Back
Top