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

Help with Export Error Blender to P3Dv.3

Messages
58
Working on a project and been getting this error off and on... meaning sometimes it will compile and others it will not.. which I find to be extremely strange. The project is pretty large (30MB mdl file, 90K vertices). It feels like I'm reaching the limit of what the XtoMDL compiler can handle or it may just be a simple bug. I compile often and I just keep getting these crashes lately. Any help is greatly appreciated.

This is the error log I keep getting.

Traceback (most recent call last):
File "C:\Users\Computer\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\io_scene_fsx\export_fsx.py", line 341, in Export
spawnv(P_WAIT, XToMdl, ['XToMdl.exe', '/XANIM', '/DICT:"%s"' % modeldef, '"%s"' % (Util.ReplaceFileNameExt(self.Config.filepath, '.x'))])
OSError: [Errno 0] Error

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\Computer\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\io_scene_fsx\__init__.py", line 175, in execute
Exporter.Export()
File "C:\Users\Computer\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\io_scene_fsx\export_fsx.py", line 354, in Export
raise ExportError("Export to .MDL failed. XToMdl.exe returned an error.")
io_scene_fsx.export_fsx.ExportError: Export to .MDL failed. XToMdl.exe returned an error.

location: <unknown location>:-1
 
Hello...

What is the filename used when compiling? Are you using the correct version of XtoMdl? P3Dv3? How many vertices does the model have? Have you tried exporting to a 3ds file and then tried to compile?
 
Hi Doug,

The Filename is pretty basic. projectengine3.blend ( no special characters). I am using the correct XtoMDL (in this case P3d v3.4 in the sdk)

Total Project has 91K Vertices spread across different textures. I didn't try exporting to 3ds yet but found one of my objects had too high of a subsurf modifier. and that seemed to fix it for the time being
 
Back
Top