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

Cannot extract XML

Messages
26
Country
egypt
plz help, anyone have an idea about that, i couldnt select the airport that i need.
 

Attachments

  • Screenshot (737).png
    Screenshot (737).png
    53.4 KB · Views: 213
  • Screenshot (738).png
    Screenshot (738).png
    75.7 KB · Views: 221
plz help, anyone have an idea about that, i couldnt select the airport that i need.

Hello:

I also got the same errors as shown in your screenshots above in Airport2Project.

Until Patrick replies, I suggest trying to use ADE directly ...as described here:

https://www.fsdeveloper.com/forum/t...-to-modify-default-airport.456002/post-907643


...but instead, use ICAO: HECA, and when you Click [Go] button, Browse / Select this file:

[MSFS-2020_Packages install path]\Official\OneStore\fs-base-genericairports\scenery\0702\APX56210.bgl

GaryGB
 
Last edited:
ADE will not open APX56210.bgl as it uses Patrick's code. I was able to decompile with msfsbglxml and then extract the code for HECA with a text editor. It is attached.
 

Attachments

ADE will not open APX56210.bgl as it uses Patrick's code.

I was able to decompile with msfsbglxml and then extract the code for HECA with a text editor. It is attached.

Thanks for that clarification. Dick. :)

I had seen Jon's brief statement regarding ADE using Patrick's decompiler recently, but it was not clear in the context of the post, what the known consequences might already be for ADE when processing some types of MSFS "airport" BGLs.

I have also seen a couple of statements you made regarding the MSFSBGLXML decompiler indicating that a few XML results were incomplete or incorrect, and needed manual editing to yield XML code that was demonstrably compliant with the (current) MSFS schema.

Until we receive another update by Patrick for his own stand-alone utilities and for code integrated into ADE, are there things we need to watch out for when using MSFSBGLXML decompiler, and more specifically, what would we need to manually edit in the XML code it outputs, to make it at least "functionally" compliant with the (currently known) MSFS schema and compiler ?


AFAIK, that may allow us to continue using ADE Alpha-21 HF-5 to create / edit projects from XML output by MSFSBGLXML decompiler.

Do you know what "new" / changed code structure(s) in the (SU-10 / other release date ?) APX56210.bgl ...crashed ADE ?

Thanks in advance for any help you might offer us for (cautious) use of MSFSBGLXML with the current build of MSFS and FS utilities.

GaryGB
 
Last edited:
I checked the APX56210.bgl from a SU9 backup, and it is also unreadable by Patrick's code.
 
I checked the APX56210.bgl from a SU9 backup, and it is also unreadable by Patrick's code.

IIRC, when Airport2Project was first released, it was able to find and use a legacy airport from a FSX / P3D installation to create a MSFS Project; is this no longer possible ?

Since Jon has not yet issued an update for ADE to work around recent changes implemented by Asobo, I am getting used to having to resort to use of my existing FSX or P3D installation \Scenery sub-folder chain to load the DEM BGL into FSX / P3D SDK TMFViewer and Jump to the ICAO ARP coordinates to determine the LOD-5 Area's QMID-11 sized Quad file number to be used for the MSFS APX BGL name ...from which we would otherwise prefer to derive our MSFS Project XML.

One might wonder whether ADE could directly open the FSX / P3D APX BGL as the source for MSFS airport Project creation, and we can then update that version of the airport as needed for use in MSFS ?

GaryGB
 
Last edited:
ADE will not open APX56210.bgl as it uses Patrick's code. I was able to decompile with msfsbglxml and then extract the code for HECA with a text editor. It is attached.
so what i should do now with this file (sorry im beginner with scenery dev)
 
This thread topic is specific to Patrick Germain's Airport2Project utility, which only reads airport BGLs.

You are now asking about use of ADE to work with ICAO: HECA from the XML code that is attached immediately above.


I suggest thanking Dick for manually preparing that file for you to use, then study how to use ADE Alpha-21, HF-5.

A basic work-flow is described in the thread I linked to above:

https://www.fsdeveloper.com/forum/t...-to-modify-default-airport.456002/post-907643


This change of procedure from using a BGL to instead using XML, will now require:

In ADE: Menu > File > Create Project From XML (to import the MSFS default airport from its XML source code).


Follow the recommendations in the linked thread to review ADE and MSFS SDK documentation, and use ADE 2020 online help:

http://www.scruffyduck.org.uk/ade_2020_help/CreatingaProject.html


If you require additional assistance with your MSFS ICAO: HECA project using ADE 2020, open a new separate thread here:


GaryGB
 
ADE will not open APX56210.bgl as it uses Patrick's code.

I was able to decompile with msfsbglxml and then extract the code for HECA with a text editor. It is attached.

Hi Dick:

MSFS questions the "legitimacy" of HECA airport when your XML attached above is submitted for compilation MSFS DevMode GUI: :yikes:

msfs_heca_aiport_from_xml_error_on_compilation-1-jpg.84192



Also, I have thus far not successfully raised the airport boundary area to 116 Meters, even though:

* HECA ARP is set to 116.000 Meters in ADE via ADE Menu > Tools > Change Airport Reference Data

[EDITED]

After compilation via ADE (which threw no "Invalid Child" or other error), the Project was opened in MSFS DevMode GUI

* HECA airport Asset Group is set to "Apply Flatten" in MSFS SDK DevMode GUI

* Terrforming Polygon overlapping HECA airport boundary area is set to 116.000 Meters and at +12 Priority in MSFS SDK DevMode GUI


Hmmm... when it comes to implementing an elevation change, it looks like this airport might prove to be a "Bastard" after all. :laughing:

https://en.wikipedia.org/wiki/Bastard


PS: Thanks for transplanting this sub-topic's appertaining posts into a new, separate thread that this evolving discussion certainly merits.


NOTE: For readers interested in following the OP's sub-topic, discussion of this project is also continued in another thread ...here: ;)

https://www.fsdeveloper.com/forum/threads/airport-fixed-elevation-plz-help.456019/#post-907775

[END_EDIT]

GaryGB
 

Attachments

  • MSFS_HECA_Aiport_From_XML_Error_On_Compilation-1.jpg
    MSFS_HECA_Aiport_From_XML_Error_On_Compilation-1.jpg
    747.5 KB · Views: 3,121
Last edited:
Back
Top