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

BGL Size

Messages
2
Country
us-ohio
I have observed something that does not seem to make sense. Compiled BGL size at times seems to vary wildly. In modifying some existing FSX airports (adding parking) I noticed that some airports had very large BGL sizes compared to others (like 50 kb vs 1.5 kb). If I just open the XML file and recompile the BGL, the size will drop to a much lower value. It doesn't happen for all airports and I have to close and reopen the XML file for the size reduction to occur. I also noticed that the FSX frame rate for these bloated BGLs was half or less than that of the recompiled, smaller version. Unfortunately, I can't provide a big BGL example because I recompiled all of them to get the smaller size.

Is there something I am doing wrong, a bug in the program, or should I open and recompile all my XML files to avoid the problem.

Dick Graham
 
Hi,

I think these BGL files contained some features not supported by the decompiler (FSX Planner in this case). So that means you will loose them when exporting again. That should explain the smaller size, but you will probably also miss some objects or so.
 
Arno is right. The size of an airport element in the bgl file is fixed. So if the bgl file is larger or smaller then something has changed. However there are some utilities (AFX) that add information to a bgl file that is not related to the airport. In this case the size might be bigger.
 
Also the stock airport bgl files contain multiple airports. So if you are making a change to one of those and recompiling it, your new bgl file will contain only one airport whereas the original bgl could have contained 50 airports.

-Russell
 
Tnx for the quick replies.

I went back and checked the 50 or so airports I've modified and can not identify any obvious changes. On that basis, I don't think Arno's response (I think these BGL files contained some features not supported by the decompiler (FSX Planner in this case). So that means you will loose them when exporting again. That should explain the smaller size, but you will probably also miss some objects or so.) is the source of the size change. The airports I'm modifying are simple with only runways, windsocks, and an occasional NDB or VOR. I'm just using the FSXPlanner Find function and adding parking to a specific airport. Because of that, I'm guessing that they are part of a multiple airport BGL. Since the smaller size doesn't occur until I reopen and compile the new XML file, it seems that this is most probably the explaination. However, does rf360m's reply (Also the stock airport bgl files contain multiple airports. So if you are making a change to one of those and recompiling it, your new bgl file will contain only one airport whereas the original bgl could have contained 50 airports.) mean that I'm recompiling all the included airports in addition to the one I'm working on? Maybe this is why I see a reduction in frame rates with the first BGL (duplicate airports?). If this is the case, perhaps everyone should always recompile from the new XML file to avoid duplication.

Anyhow, because of the effect I've seen on frame rates, I plan on doing some tests to see if I can determine what is actually happening. I'll let you know if I find out.

Dick
 
If you open an airport which is contained within a bgl file that has more than one airport in it and then compile that airport to a new bgl file you are not compiling all the airports in the file, only the one you originally specified.

-Russell
 
Back
Top