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

Re-installed SAMM and now cannot compile anything

Messages
34
Country
unitedkingdom
Hi

Help, please!!

I am running Windows 7 Home Premium 32 bit, FS9 and the latest version of SAMM.

I have re-installed SAMM which is easy enough and it is located outside of the Program Files folder structure. Suddenly, I cannot compile any BGLs. I have tried at least half a dozen aircraft from various sources but each time I get the following error messages:

"bglcomp" is not in its usual location. Please locate it.

Well, it's in the SAMM root folder [it's the one that comes with SAMM and I haven't moved it!!] and so I select it, but every time I do another compile I have to tell SAMM where to find bglcomp again.

When I do the compile I get the following error message and it is the same no matter which aircraft I try to compile:

Parsing document: C:\Program Files 2\SAMM\Models\FS9\B737-300 Lufthansa\B737-300 Lufthansa.xml
ERROR C2033: XML Parse Error (line, column, error)
ERROR: 15, 31, Error parsing '{4fdfc698-5e67-43a9-b9c0-597f4cd92813}' as hexBinary datatype.The attribute: 'name' has an invalid value according to its data type.ERROR C2106: Improper value string for a library object name! ({4fdfc698-5e67-43a9-b9c0-597f4cd92813})
ERROR C2031: Failed element parse <LibraryObject>
ERROR C2032: XML Parse Error! Element tree follows:
ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <SceneryObject
ERROR: lat = 0.0
ERROR: lon = 0.0
ERROR: alt = 0M
ERROR: altitudeIsAgl = TRUE
ERROR: pitch = 0
ERROR: bank = 0
ERROR: heading = 0
ERROR: imageComplexity = NORMAL
ERROR: >
ERROR: <LibraryObject
ERROR: name = {4fdfc698-5e67-43a9-b9c0-597f4cd92813}
ERROR: scale = 1.0
ERROR: >
ERROR:
ERROR C2174: Library Objects require NAME.
ERROR C2338: Failed to finalize BGL for scenery object!
ERROR C2032: XML Parse Error! Element tree follows:
ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <SceneryObject
ERROR: lat = 0.0
ERROR: lon = 0.0
ERROR: alt = 0M
ERROR: altitudeIsAgl = TRUE
ERROR: pitch = 0
ERROR: bank = 0
ERROR: heading = 0
ERROR: imageComplexity = NORMAL
ERROR: >
ERROR:
ERROR C2024: Failed to process closing element tag <SceneryObject> near line 16!
ERROR C2298: Model data requires GUID and file name!
ERROR C2150: Model must have GUID and filename!
ERROR C2340: Failed to finalize MODEL_DATA!
ERROR C2032: XML Parse Error! Element tree follows:
ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <ModelData
ERROR: sourceFile =
ERROR: >
ERROR:
ERROR C2024: Failed to process closing element tag <ModelData> near line 18!
ERROR: Compilation errors detected, compilation failed!
Parse complete!


The xml file generated is:

<FSData version="9.0"
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xsi:noNamespaceSchemaLocation="bglcomp.xsd">
<SceneryObject
lat = "0.0"
lon = "0.0"
alt = "0M"
altitudeIsAgl = "TRUE"
pitch = "0"
bank = "0"
heading = "0"
imageComplexity = "NORMAL" >
<LibraryObject name="{4fdfc698-5e67-43a9-b9c0-597f4cd92813}"
scale="1.0" />
</SceneryObject>
<ModelData sourceFile="" />
</FSData>


For good measure this is my samm.ini file:

Default Units(Posn) is DDdddd=False
Default Units(Posn) is DDMMmm=False
Default Units(Posn) is DDMMmm=False
Default Units(Alt) is Ft=False
Listings and Tools=False
Last Folder - Scenery Save for FS9=
Last Folder - Scenery Save for FSX=
Last Folder - Scenery Save for PV1=
Last Folder - Scenery Save for PV2=C:\Program Files 2\SAMM\Scenery
No Automatic Updates=False
Last Update Checked=
Default Model Posn - Lat=0
Default Model Posn - Lon=0
Default Model Posn - Hdg=0
Dedicated Textures=False
Don't Use "All" Folders=False
Path to MakeMDL=
Path to XToMdl.exe (FSX)=
Path to XToMdl.exe (PV1)=
Path to XToMdl.exe (PV2)=
Warn if FSX Model->FS9 Scenery=True
Use FS9 Global Variables=False
Path to FS9=C:\Program Files 2\FS9
Path to FSX=
Path to PV1=
Path to PV2=
Path to FSX SDK=
Path to PV1 SDK=
Path to PV2 SDK=
Path to FSX Compiler=
Path to PV1 Compiler=
Path to PV2 Compiler=
Path to ImageTool=
Version Flag for Last Scenery Compile=-1
Aircraft Select=0


And this is my library.ini file:

MRU Library=
Add version suffix=False
Save Path for FS9 Library=
Save Path for FSX Library=
Save Path for PV1 Library=
Save Path for PV2 Library=
Version Flag for Models=-1
Version Flag for Library=-1


Despite these error messages I can successfully compile a BGL file using a third party compiler and the resulting static model shows up just fine in FS9. Everything worked fine before I re-installed SAMM, but now ....

If anyone can tell me where I am going wrong then I shall be very grateful.

Dijvid
 
That message will only occur if you attempt to convert a FSX aircraft or compile a library for other than FS9.

Don
 
Back
Top