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

Messages
34
Country
unitedkingdom
I have a third party BGL file which contains a number of objects which I have added into ADE using the Library Object Manager.

If I look at the GUID of any object ADE displays the GUID number like this:

fc535106-14e4-48da-9cea-2fc3bc893e16

If I use BGLANALYZE on the same BGL file the same object shows the GUID number like this:

fc53510648da14e4c32fea9c163e89bc

I am confused because ADE doesn't display the GUIDs exactly as they are in the original third party file [some numbers have been mixed around], and ADE has added four "-" as well.

I am confused!!

The reason I am asking this question is that the third party has issued a new BGL file with additional objects in it and I am trying to find an easy way to identify what those new objects are. I had hoped that a simple comparison between the two listings might do the trick :(

David
 
FS9 or FSX - the format of GUIDs is different for each. If you use the BglAnalyze for FS9 then it is going to show you the FS9 format. ADE tries to convert the format to that needed for each sim type (well FS9 and the rest)
 
Many thanks for your prompt reply - but I don't follow you??!!

Let me try another way ....

I am definitely using the correct version of BGLANALYZE for FS9 - in fact the program is called BGLANALYZE9.EXE Here is a part listing of the xml file generated by the program:

<?xml version="1.0"?>

<!-- E:\Aviation\New folder\Lib_airlinersE.bgl disassembled by BglAnalyze9 Sat Oct 24 17:43:31 2015 -->

-<FSData xsi:noNamespaceSchemaLocation="bglcomp.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="9.0">

<ModelData fileOffset="0" sourceFile="E:\Aviation\New folder\Lib_airlinersE_00.mdl" name="fc53510648da14e4c32fea9c163e89bc"/>
<ModelData fileOffset="0" sourceFile="E:\Aviation\New folder\Lib_airlinersE_01.mdl" name="a250cb12481fd671d16dd1b2dbc1aaaf"/>
<ModelData fileOffset="0" sourceFile="E:\Aviation\New folder\Lib_airlinersE_02.mdl" name="7c63681d475fee1b2f3f02bc2406cd9a"/>
<ModelData fileOffset="0" sourceFile="E:\Aviation\New folder\Lib_airlinersE_03.mdl" name="b456082f4c8be623d90f8f9dcce34dc3"/>
<ModelData fileOffset="0" sourceFile="E:\Aviation\New folder\Lib_airlinersE_04.mdl" name="746b323062206c69072101404d53474a"/>

Now, if I take the GUID in the first line - fc53510648da14e4c32fea9c163e89bc - and enter it into the Find GUID box in ADE then ADE says it cannot find it.

However, in this case I do happen to know what this object is so when I select it by object, and not by Find GUID, the GUID box in the top right hand corner of the Add Library Object window displays the GUID number as fc535106-14e4-48da-9cea-2fc3bc893e16 which isn't the same.

I can only assume that ADE manipulates the GUID number for its own purposes when the BGL file is imported via the Library Object Manager.

OK, this is no big deal for me as I can solve my quest another way, so I guess I'm now at the stage where I'm just curious!

Many thanks for your help though.

David
 
Please confirm that you are using ADE in FS9 mode also?
 
Hi,

I can confirm that ADE is displaying a different GUID than that contained in the FS9 MDL file.

I loaded a small library of three objects into the ADE9 LOM. The first object has the GUID:

18C65FB04B1E6E67024E57A1707A7C5B

but in the LOM it's displayed as:

18c65fb0-6e67-4b1e-a157-4e025b7c7a70

The first section is correct but the rest is not.

When I use the Add.../Library Object command, the GUID is shown as it was in the LOM - incorrect.

After adding one to my airport and looking in Raw Data View, it shows:

<LibraryObject
name="18c65fb04b1e6e67024e57a1707a7c5b"
scale="1.00"
/>

Which is correct, and why it works OK.

So it appears that the display of the GUID is incorrect in the LOM and Add... dialog boxes, but the correct GUID does get added to the AD4 (and thus the XML) file when actually added to the airport.

Hope this helps,
 
Thanks Tom. I will look at it in the next update. Since ADE stores the GUID in an internal format this is most likely a display issue. FS9 used a non standard format for GUIDs - this was changed to the standard format in FSX and later. The same data is there - just formatted differently and in some different order
 
Glad to help. Since it appears you cannot change the GUID in the LOM or in the Add... dialog box this should not present an immediate problem. The only problem I see is that when you use the Search GUID button it searches for the incorrect GUID, not the correct one.
 
True - as far as I know this has not been reported before so has not been a great obstacle. For most GUID searches just using the first six or so letters should find it. Anyway it is on the list to fix.
 
If you need to convert GUIDs between FSX and FS9 format, there is a tool in Model Converter X that does that.

It's under "Special Tools".

cheers,
Lane
 
Just to reiterate that you can usually find a GUID by entering the first few characters in the find box. Since find uses 'contains' rather than starts with and the first block of characters should be the same in FS9 and FSX modes then you should be able to find objects in the LOM now.
 
Back
Top