Hi Gary,
I don't understand what's going on here. When I click the Go button in the BGL2XML, I keep getting this message in the Log field:
Using ScruffyDuck Decompiler
Decompile Completed
[File was compiled with the FS9 Compiler]
Value cannot be null.
Parameter name: filename
What's the problem?
http://www.fsdeveloper.com/forum/threads/decompiling-a-bgl-file.434183/#post-711928
Sounds like you are using a version of Bgl2Xml that contains a bug. I believe we released an update.
I get the same error after attempting to de-compile another file from the same instance of BGL2XML version 1.6x which is still running in memory; this still occurs after BGL2XML is told to check for updates online.

Try using BGL2XML v1.3.7x; do NOT update it or you may get the v1.6 with an as yet un-resolved and ongoing BUG !

http://library.avsim.net/search.php?SearchTerm=Bgl2Xml&CatID=root&Go=Search
http://www.flightsim.com/vbfs/fslib.php?searchid=37567586
NOTE: I used version BGL2XML v1.5 for the tutorial above, but cannot find a separate download for it online; IIRC it was originally released as an auto-update for v1.3.7x
This is what it was doing before. In the Input field, are you telling me to browse to the folder and select the file bhm_bc00.bgl or select the KBHM_scenery.bgl? It looks like you're saying to select the bhm_bc00.bgl. I also noticed that you say go to the same folder and specify the file name "bhm_bc00.xml" to de-compile into. And whenever it says xml, it says bgl.xml. In other words, it says bhm_bc00.bgl.xml, instead of bhm_bc00.xml.
Please take another look at my previously posted explanation and work-around for this:
http://www.fsdeveloper.com/forum/threads/decompiling-a-bgl-file.434183/#post-712305
I'm just wondering if you're asking me to de-compile the bhm_bc00.bgl or is it KBHM_scenery.bgl.
Ken.
I understood that you already had de-compiled KBHM_scenery.BGL into KBHM_scenery.xml from your post here:
http://www.fsdeveloper.com/forum/threads/decompiling-a-bgl-file.434183/#post-712282
If you misplaced that KBHM_scenery.xml file, please de-compile KBHM_scenery.BGL into KBHM_scenery.xml again ...to complete the task(s) in the tutorial above at:
http://www.fsdeveloper.com/forum/threads/decompiling-a-bgl-file.434183/#post-712359
Hope this helps !
GaryGB
Last edited:






