• 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 for fsx obj

Messages
120
Country
unitedstates
hi folks
i've recently downloaded library creator V1.03 and have some problems compiling my MDL file so that i can use it with object placement tool. following is the output from the parser:
C:\Program Files\Microsoft Games\library_creator_xml>bglcomp compile.xml

Parsing document: compile.xml

INTERNAL COMPILER ERROR: #C2952: Attribute 'name' is not allowed in element 'ModelData'!
INTERNAL COMPILER ERROR: #C2031: Failed element parse <ModelData>
INTERNAL COMPILER ERROR: #C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <ModelData
ERROR: name = C8D9668326FA411EBA9EBD6B405B1CE8
ERROR: sourceFile = C:\Program Files\gmax\gamepacks\FSX_GmaxGamePack\LightBulbWithEffect.MDL
ERROR: >
ERROR:
INTERNAL COMPILER ERROR: #C2298: Model data requires a file name!
INTERNAL COMPILER ERROR: #C2340: Failed to finalize MODEL_DATA!
INTERNAL COMPILER ERROR: #C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <ModelData
ERROR: name = C8D9668326FA411EBA9EBD6B405B1CE8
ERROR: sourceFile = C:\Program Files\gmax\gamepacks\FSX_GmaxGamePack\LightBulbWithEffect.MDL
ERROR: >
ERROR:
INTERNAL COMPILER ERROR: #C2024: Failed to process closing element tag <ModelData> near line 2!
INTERNAL COMPILER ERROR: #C2607: Compilation errors detected, compilation failed!


Parse complete!

i even copyed the bglcomp from the fsx sdk folder.
i heard that there is a V2.x but couldent find where to download it.

any help is apreciated and Arno don't break your head on the problem before maybe posting the link to V2.x:D. then we'll see if that fixes the problem. :)

P.S. this is for fsx and the MDL was created in gmax.
 
Using version 2.0.2 should indeed fix your problems, version 1 does not support FSX.
 
thanks a lot guys. i appreciate the help. let me know what i can do for you.

talents:)
Mission development and gmax detail.
 
worked great for me.:)

a hint for V3.0 maybe:D you could put a parameter in so that the user can choose a name for their object such as: GEN_Airplane_AN225 instead of having to search for the GUID. just a thought.

and a question to you Arno. what language did you use for lib creator? C++ C# ???
 
thanks again guys.:) i got it working very nice. i created some helipad cones for placement around a helipad. also attached some light blinkers to them. if i knew how i'd attach a pict.:D
 
Hi,

a hint for V3.0 maybe:D you could put a parameter in so that the user can choose a name for their object such as: GEN_Airplane_AN225 instead of having to search for the GUID. just a thought.

I am not really sure if I understand your suggestion here. The objects already have a friendly name, that is the one you set in GMax when exporting. But in Library Creator XML you don't have to search for either that name or GUID of course.

and a question to you Arno. what language did you use for lib creator? C++ C# ???

Version 1 was done with Visual Basic 6. But version 2 is a complete remake in C#.
 
I am not really sure if I understand your suggestion here...
maybe i'm doing something wrong.:D

when i want to add it to some scenery in Fax Via the object placement tool it appears in the list near the top where all the Guides are.
and the name appears only as a: {248645-f43t34t45...}
NOT like: GEN_Vehicle_truck_DarkGray...

Let me know what you think.

Version 1 was done with Visual Basic 6. But version 2 is a complete remake in C#.
cool. i know C# sharp pretty well and am studying for the MC TS test.
 
when i want to add it to some scenery in Fax Via the object placement tool it appears in the list near the top where all the Guides are.
and the name appears only as a: {248645-f43t34t45...}
NOT like: GEN_Vehicle_truck_DarkGray...

That is right, but that unfortunately that is not something Library Creator XML can do anything about. That is due to the way the OPT tool has been made, all those names are hardcoded. So for new objects it can only show the GUID. Hopefully MS can fix this once...
 
Back
Top