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

