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

MCX EXPORT ERROR! Please help!

Messages
25
Country
italy
hello everyone! when an amount file.dae in MCX loads normally and after having arranged with the material editor export MDL file and everything works. But when I export the file.BGL i have the following error:

21:21 XMLWriter Information Starting writing of file F: \ Program scenarios \ ConvertX Model V1 \ SAVING SCENARIOS (MDL-BGL) \ PisaX-San Giusto \ Scenery \ PisaX1-GROUNDOBJECT \ untitled.xml
21:21 XMLWriter Information Finished writing of file F: \ Program scenarios \ ConvertX Model V1 \ SAVING SCENARIOS (MDL-BGL) \ PisaX-San Giusto \ Scenery \ PisaX1-GROUNDOBJECT \ untitled.xml
21:21 BGLCommp Information Parsing document: untitled.xml
21:21 BGLCommp Information INTERNAL COMPILER ERROR: # C2014: Failed to load model given in file: F: \ Program scenarios \ ConvertX Model V1 \ SAVING SCENARIOS (MDL-BGL) \ PisaX-San Giusto \ Scenery \ PisaX1-GROUNDOBJECT \ untitled_0.mdl
21:21 BGLCommp Information INTERNAL COMPILER ERROR: # C2149: Failed to load model date! Does the file exist?
21:21 BGLCommp Information INTERNAL COMPILER ERROR: # C2340: Failed to finalize MODEL_DATA!
21:21 BGLCommp Information INTERNAL COMPILER ERROR: # C2032: XML Parse Error! Element tree follows:
21:21 BGLCommp Information ERROR: <FSData
21:21 BGLCommp Information ERROR: version = 9.0
21:21 BGLCommp Information ERROR:>
21:21 BGLCommp Information ERROR: <ModelData
21:21 BGLCommp Information ERROR: sourceFile = F: \ Program scenarios \ ConvertX Model V1 \ SAVING SCENARIOS (MDL-BGL) \ PisaX-San Giusto \ Scenery \ PisaX1-GROUNDOBJECT \ untitled_0.mdl
21:21 BGLCommp Information ERROR:>
21:21 BGLCommp Information ERROR:
21:21 BGLCommp Information INTERNAL COMPILER ERROR: # C2024: Failed to process closing element tag <ModelData> near line 4!
21:21 BGLCommp Information INTERNAL COMPILER ERROR: # C2607: Compilation errors detected, compilation failed!
21:21 BGLCommp Information Parse complete!
21:21 BGLXWriter Information Finished writing of file F: \ Program scenarios \ ConvertX Model V1 \ SAVING SCENARIOS (MDL-BGL) \ PisaX-San Giusto \ Scenery \ PisaX1-GROUNDOBJECT \ untitled.BGL


this message there is when amount with dae or kmz while in 3ds does not! but the problem with 3DS is that some texture are not loaded by mcx and i see only white part.
this message there is even if the triangle vertices do not exceed 65000

can someone help me please?
 
Last edited:
Could it be the brackets in your folder name are the problem? Can you try to save in a different folder?
 
hi, yes i've tried to save in another folder without bracket but it makes the same error, I also discovered that the white texture there were saving in 3ds I managed to remove them by turning the face of the texture in sketchup, I believe there is some problem with the model and can not understand what, if I try to use the tool of sketchup to find sketchup error tells me that there are none.
 
Do you see any messages about exporting the mdl? I guess the creation of the mdl file has failed.
 
THIS
 

Attachments

  • mdl ERROR.png
    mdl ERROR.png
    248.7 KB · Views: 603
  • mdl ERROR.png
    mdl ERROR.png
    248.7 KB · Views: 584
I can't read the text in the images, they are resized too much.
 
On my phone the zoom didn't work, but now I see.

It's an out of memory error from XtoMDL. So I suspect your object is too complex to compile. How many polygons does it have?
 
About 700000 vertex i think i dont remember exactly but exceed the 65000 limit. But also if i try with other object with 25000 i have the same error. This is strange because other object with 85000 vertex hasn't the same errors and compile right.
 
Since it is a memory error of XtoMDL there is not much I can do about it.

But 700000 vertices is A LOT for FS, that's more than most complex aircraft have. For a scenery object I would really try to have a lower vertex count. Even 85000 is a lot already. I always try to keep my scenery objects under 5000 for sure.
 
I don't know. Do they have a similar amount of materials?
 
I had created an object composed of more buildings and parking , but when compiled gave error, so I decided to divide the various buildings each on a different object, so I split the first building and I have compiled and it worked even if it exceeds 65000 polygons then I tried to compile the parking but .dae gave the error so I converted to 3ds and it worked, then when it was time to compile the terminal (which is the object heavier than all) is that in .3ds dae that .kmz not work.

what do you meaning for similar amount of materials?
 
If another object with the same amount of vertices works, then there must be another difference. So do they have a different amount of textures or colors maybe?
 
yes they have a different amount of texture and colours, the building who works has less amount of texture than the building who doesn't work, but the building who works exceeds the 65000limit.
 
FSX has no 65k limit anymore, only per material there is such a limit. But the total mdl can have more vertices.
 
for example that has 41214 texture vertices is possible? isn't to much?

but then what could be the problem of the building's wrong? I have to do it again?
 

Attachments

  • example.png
    example.png
    642.7 KB · Views: 558
But where did you put all those vertices? If I see the object I think it should be possible to make it with 5000 vertices as well. SketchUp makes it very easy to add too many vertices, but that is not good for realtime visualization like FS.

As long as you get xtomdl out of memory errors it's hard to fix that. We can't debug the tool. So I guess the only things you can do is reduce the complexity.
 
i dont no. I try to create the building the easiest possible. I tried a program to reduce the mesh called MeshLab but when I try to reduce them I get an error saying that it is impossible to reduce them
 
Back
Top