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

FSX Combining BGLs

JonPatch

Resource contributor
Messages
443
Country
ca-britishcolumbia
I have an older facility I'm upgrading: it had the AFCAD in one BGL and taxiway signs and fencing in another (the latter both in XML and BGL).

What's the easiest way to combine all this into one ADE file?

Jon
 
Load one and import data from the others? ADE will certainly import taxi signs from another bgl file, not sure about the fences though
 
Making progress

Hi Jon, that worked as you thought for the taxiway signs (although they didn't show up until I restarted, except in the list). But the fences are MIA. I'm wondering if you can recommend a BGL to XML converter that I could use on my airport BGL, and manually add in the fences to the XML (I have the fence XML source, that's how I built them), compile and then edit in ADE.

The underlying issue is the failure of airport authorities to consider the needs of flightsim designers when moving runways, adding taxiways, constructing hangers, reconfiguring fences and otherwise putting the needs of real-world aviation ahead of the more important simulation community.

Jon
 
Bgl2Xml Gui will generate XML from FS9 and FSX airport/scenery bgl files

I need to improve the import function :o
 
Unfortunately BGL2XML (GUI or command line) doesn't work. (I am runnning Vista 64-bit). I confirmed that I had dot net 2.0 installed (I tried to reinstall it, and the installer aborted saying it was already part of the OS). Here's the dump.
======================================
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.BadImageFormatException: is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)
at ScruffyDuck.Flightsim.Scenery.SceneryFile.SceneryFile..ctor(String filename, FileType fileType)
at Bgl2Xml.Form1.goButton_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4200 (NetFxQFE.050727-4200)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
Bgl2Xml
Assembly Version: 0.90.2642.19576
Win32 Version: 0.90
CodeBase: file:///E:/Downloads%20-%20Sources/Flight%20Simulator/FSX%20Tools%20%26%20Objects%20%26%20Utilities/BGL2XML%20gui/Bgl2XmlGUI.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
jmCommonLib
Assembly Version: 1.2.2642.19038
Win32 Version: 01.02
CodeBase: file:///E:/Downloads%20-%20Sources/Flight%20Simulator/FSX%20Tools%20%26%20Objects%20%26%20Utilities/BGL2XML%20gui/jmCommonLib.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
jmFlightSimLib
Assembly Version: 0.92.2642.19039
Win32 Version: 0.92
CodeBase: file:///E:/Downloads%20-%20Sources/Flight%20Simulator/FSX%20Tools%20%26%20Objects%20%26%20Utilities/BGL2XML%20gui/jmFlightSimLib.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
 
Needs dotNET 3.5 - latest one is on my download center - get the GUI version not the command line one
 
That worked much better, Jon, thank you. Dotnet 3.5 installation failed with "Setup error" so your package did the trick, and I've got all my goodies now!

Great program!
 
That worked much better, Jon, thank you. Dotnet 3.5 installation failed with "Setup error" so your package did the trick, and I've got all my goodies now!

Great program!

OK that's good :)
 
Back
Top