BGL2XML help

I'm trying to import ARTCC into Pilot2ATC and it needs the bvcf.BGL file in scenery/world/scenery and BGL2XML will create the bvcf.BGL.xml file that Pilot2ATC will use to import ARTCC centers.

Issue is, regardless how I try to do this, I always get the message in the log window from BGL2XML:

Using ScruffyDuck Decompiler
Decompile Completed

[File was compiled with the UNKNOWN Compiler]


The xml file does create, but is 1kb in size and only contains:

<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Created by Scenery Design Engine (SDE) on 7/22/2020 -->
<FSData
version="9.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="bglcomp.xsd">
</FSData>


Obviously something is wrong and I can't figure out what the issue is as there is no instructions anywhere on how to do this. I know it should be showing that it was compiled using the correct sim version, but this is indicating that it doesn't know what sim version I have?

Someone help!!!
 

scruffyduck

Administrator
Staff member
FSDevConf team
Resource contributor
Please post the file you are trying to decompile. What version of the Sim is the file from and what version of Bgl2Xml ae you using (I assume it is a GUI version)
 
The file is bvcf.bgl ... sim is P3Dv4.5 - the file is located in the main sim directory - scenery/world/scenery file and is installed as part of the sim from FSX all the way on up (not a 3rd party file)
I did manage to find another version of the bgl2xml that did come with instructions, but just pointing to the bgl file resulted in a successful decompile to xml (it did still say unknown compiler but it worked). I’ll see if I can find the version that worked vs the version that did not work and reply here (I deleted the non working one once the other one worked). Both were GUI versions.
 

scruffyduck

Administrator
Staff member
FSDevConf team
Resource contributor
OK - It works fine here for the versions I have. It probably says unknown compiler because I have not updated the code to recognize that sim version. That won't affect the decompile
 
Version that worked is:
Versions:
Application 01.03.7
Engine 05.05.0

Version that decompiled an empty xml (same bgl file):
Versions:

Application 01.08.6708.29619
Engine 04.75.6708.27954
 
Top