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

MSFS20 Can't open BGL file of a scenery, exception thrown

Messages
9
Country
turkey
Hello,

I'm trying to open a BGL file in ADE F20 (M) v20.22.8157 Alpha and when I do Create Project from MSFS BGL, I get constant erros. Here are the errors:
1666116988535.png
1666116997595.png

1666117018445.png


1666117027612.png


The error log is:
C#:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at System.String.get_Chars(Int32 index)
   at ScruffyDuck.AirportDesignEditor.XmlClasses.LoadXmlSource.AssignIls2Runway(String ilsName)
   at ScruffyDuck.AirportDesignEditor.XmlClasses.LoadXmlSource.ProcessAirportRecordIls(SceneryBase parent, ctAirport xmlAirport)
   at ScruffyDuck.AirportDesignEditor.XmlClasses.LoadXmlSource.ProcessAirports(SceneryBase parent)
   at ScruffyDuck.AirportDesignEditor.XmlClasses.LoadXmlSource.LoadXml2SceneryFile(SceneryBase parent)
   at ScruffyDuck.AirportDesignEditor.MainForm.OpenAirportXmlFileByName(String path, String ident)
   at ScruffyDuck.AirportDesignEditor.MainForm.NewProjectFromMSFSBglMenuItem_Click(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

What I'm trying to achieve by opening this BGL is to get the coordinates of taxiways. If there is a easier way to do this, I'm open to suggestions as well!

Thanks
 
Can you provide the bgl file that is giving the problem?
 
I was able to get rid of the ILS entries (I think they were wrong anyways).
 

Attachments

  • LTFM.zip
    1.5 MB · Views: 112
Primarily, I used Airport2Project, and then opened the airport xml with ADE, and made an ADE project from there. The problem wasn't ADE but the erroneous ILS code in the BGL.
 
Back
Top