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

Compile error

Messages
125
Country
sweden
Hi!
When I try to compile I get following error:

C:\Program\SceneryDesign.org\ObPlacer XML>bglcomp compile.xml

Parsing document: compile.xml

ERROR C2014: Failed to load model data in file: Klubbhus.mdl
ERROR C2149: Failed to load model data!
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: name = 9FE43B8C4CC1E49BD9B31F8D7528D832
ERROR: sourceFile = Klubbhus.mdl
ERROR: >
ERROR:
ERROR C2024: Failed to process closing element tag <ModelData> near line 9!


But if I invoke the compiler manually from the command line, it compiles ok.
Any suggestions?
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,883
Country
netherlands
Hi,

Did you create this XML totally from scratch in ObPlacer XML or did you start with the GMax template? There are some problems with using paths and compiling for a different folder.
 
Messages
72
Country
ca-ontario
Hello,

I just got the same error after trying to compile my mdl file to bgl

C:\Program Files\SceneryDesign.org\ObPlacer XML>bglcomp compile.xml

Parsing document: compile.xml

ERROR C2014: Failed to load model data in file: rwy_base.mdl
ERROR C2149: Failed to load model data!
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: name = F2E6B3F34F697E866DD2B780A172B586
ERROR: sourceFile = rwy_base.mdl
ERROR: >
ERROR:
ERROR C2024: Failed to process closing element tag <ModelData> near line 12!


Parse complete!
 
Messages
226
Country
indonesia
Arno, I'm trying to make xml by itself (gmax template) and compile with obplacer still got error like Markkus say.

and trying to use bglcomp copying from fsx_sdk still got error.

any clue?
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,883
Country
netherlands
Hi,

ObPlacer XML only works with the FS2004 BGLComp, you can not use it with FSX XML files and FSX BGLComp. So that is probably why your manual compile fails.

For the error within ObPlacer XML I am not sure. I always let ObPlacer XML make the whole XML file for me (not using the GMax templates) and never had such trouble.
 
Messages
226
Country
indonesia
waks! thanks Arno, so I must try another tools which support FSX bglcomp to placing scenery. :(
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,883
Country
netherlands
WhisPlacer would be a nice (and free) alternative.
 
Top