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

Making MDL--baffling error code

Messages
4
Country
unitedstates
I have compiled scenery before, just can't do it now. I am getting this error and can make no sense of it when trying make a MDL file from DAE. Please help....
I should note, I am using Win 10, and Steam version of FSX. I had the DVD before.

1:06 PM MDLXWriter Information Starting writing of file C:\Users\SCOTT\Documents\scenery design\brickhouse.MDL
1:06 PM XWriter Information Starting writing of file C:\Users\SCOTT\Documents\scenery design\brickhouse.x
1:06 PM XWriter Information Finished writing of file C:\Users\SCOTT\Documents\scenery design\brickhouse.x
1:06 PM XtoMDL Information OutputFile: C:\Users\SCOTT\Documents\scenery design\brickhouse.MDL
1:06 PM XtoMDL Information Output file after modification: C:\Users\SCOTT\Documents\scenery design\brickhouse.MDL
1:06 PM XtoMDL Information Creating output MDL file: C:\Users\SCOTT\Documents\scenery design\brickhouse.MDL
1:06 PM XtoMDL Information (0): error : XToMdl.exe Unhandled Application Exception
1:06 PM XtoMDL Information (0): error : System.BadImageFormatException: Could not load file or assembly 'Managed_CrashTree, Version=10.0.61355.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
1:06 PM XtoMDL Information (0): error : File name: 'Managed_CrashTree, Version=10.0.61355.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' ---> System.BadImageFormatException: Could not load file or assembly 'Managed_CrashTree, Version=10.0.61355.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
1:06 PM XtoMDL Information (0): error : File name: 'Managed_CrashTree, Version=10.0.61355.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
1:06 PM XtoMDL Information (0): error :
1:06 PM XtoMDL Information (0): error : WRN: Assembly binding logging is turned OFF.
1:06 PM XtoMDL Information (0): error : To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
1:06 PM XtoMDL Information (0): error : Note: There is some performance penalty associated with assembly bind failure logging.
1:06 PM XtoMDL Information (0): error : To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
1:06 PM XtoMDL Information (0): error :
1:06 PM XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToXmlLib.ModelProcessingContext.BuildCrashTree()
1:06 PM XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToXmlLib.ModelProcessingContext.Optimize()
1:06 PM XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToXmlLib.XToXmlLib.ProcessAllFiles()
1:06 PM XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToXmlLib.XToXmlLib.Process(ModelFile[] InputFiles, Hashtable[] AnimationLinkage, String[] AnimationFileRef, XPartDict PartDictionary)
1:06 PM XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.ProcessInputs()
1:06 PM XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.RealMain(String[] args)
1:06 PM XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.Main(String[] args)
1:06 PM XtoMDL Information (0): error :
1:06 PM XtoMDL Information (0): error :
1:06 PM XtoMDL Information (0): error :
1:06 PM XtoMDL Information (0): error : Could not load file or assembly 'Managed_CrashTree, Version=10.0.61355.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
1:06 PM XtoMDL Information (0): error :
1:06 PM XtoMDL Information (0): error : Stack Trace:
1:06 PM XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToXmlLib.ModelProcessingContext.BuildCrashTree()
1:06 PM XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToXmlLib.ModelProcessingContext.Optimize()
1:06 PM XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToXmlLib.XToXmlLib.ProcessAllFiles()
1:06 PM XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToXmlLib.XToXmlLib.Process(ModelFile[] InputFiles, Hashtable[] AnimationLinkage, String[] AnimationFileRef, XPartDict PartDictionary)
1:06 PM XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.ProcessInputs()
1:06 PM XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.RealMain(String[] args)
1:06 PM XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.Main(String[] args)
1:06 PM MDLXWriter Information Finished writing of file C:\Users\SCOTT\Documents\scenery design\brickhouse.MDL
 
Last edited:
Okay toot my horn time. Not sure if it is because I have Steam vice the DVD version of FSX, but i had to change out these 3 files in order for MCX to work. I had a newer version than Version=10.0.61355.0 (I had version 10.0.62615.0). So after several months I am now back in business. I just wonder if there is anybody using Steam that is experiencing the same issue here? I hope this helps someone.
upload_2016-5-9_17-2-57.png
 
Can you explain the term "change out"? There is no difference between Steam deployment and disk software user in regard to MCX functionality. MCX uses helper applications to create platform specific software like scenery .bgls. These helpers are in the SDK and have names like XtoMdl.exe, bglcomp.exe, etc. They are not part of MCX and the appropriate helper must be used for the appropriate version (FS9, FSX, FSXA, P3D, P3C v2, etc). In MCX options, the exporter settings should point to "bglcomp.exe, shp2vec.exe, XtoMdl.exe and possibly makemdl.exe if you compile for FS9. In FS related settings, you need to point to the modeldef.xml. To ensure functionality you should use the latest version of MCX, point to the helper apps that are relevant for your simulator (the P3D compiler will not make models for FS9) and not modify or remove anything in the SDK folders.

The three files you have highlighted have nothing to do with the MCX software, they are part of the SDK and are necessary for creating models. They are not part of the MCX set-up or in the group of helper applications that MCX must be pointed to. If you changed anything about those files, it is likely you compromised functionality. Of concern is the modification dates for those three files. The fact that those three files were modified yesterday implies that they were changed. Every version of the Modeling SDK > 3DSMX has a plugins folder and you can likely find un-modified versions of those three files in the other plugins folders.
 
Those 3 SDK files some how are newer than what MCX is designed to look for; hence the error: "This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded". So I accessed my old hard drive (that was used in my now dead laptop) that had the DVD version of FSX and pulled those plugins and placed here in my new laptop. And it works.

I have no idea how I got the newer versions of the managed_crash tree files. This is probably why I am baffled.
 
Last edited:
It's an xtomdl error, not something MCX is looking for. Since Steam has no functioning SDK, you shouldn't use any files from the Steam SDK folder. Just use the FSX or P3D SDK.
 
Back
Top