• 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

Messages
34
Country
taiwan
Hi,Everyone!I encountered some difficulties in exporting the model. When I exported the model after modifying HAIRRARCHY to save the changes, MCX showed these error codes.

22:18 XtoMDL Error (0): error : Microsoft.FlightSimulator.XToXmlLib.ModelFile..ctor(String szName)
22:18 XtoMDL Error (0): error : Microsoft.FlightSimulator.XToMDL.FileListLoader.LoadAllFiles(String szBaseFilename)
22:18 XtoMDL Error (0): error : Microsoft.FlightSimulator.XToMDL.XToMDL.ProcessInputs()
22:18 XtoMDL Error (0): error : Microsoft.FlightSimulator.XToMDL.XToMDL.RealMain(String[] args)
22:18 XtoMDL Error (0): error : Microsoft.FlightSimulator.XToMDL.XToMDL.Main(String[] args)

What should I do to solve the problem?Help much appreciated!
 
Is this the complete error log? This looks like the stack trace, but not the error message itself.
 
Is this the complete error log? This looks like the stack trace, but not the error message itself.
OH....Yes, I made a mistake. You said it is correct. The code is not an error message, but a part of the stack trace. I am really sorry. I am a novice in using MCX until I found the LOG file. I realized that I was mistaken. . . Now I figure out that all the error messages are here:
9:19 MDLXWriter Information Starting writing of file D:\ACDATA\Raptor-VC.mdl
9:19 MDLXWriter Information Object contains animations
9:19 MDLXWriter Information Object contains attachpoints
9:19 XWriter Information Starting writing of file D:\ACDATA\tmpD1C6.x
9:19 XWriter Information Finished writing of file D:\ACDATA\tmpD1C6.x
9:20 XtoMDL Information Found dictionary file: D:\ACDATA\MCX_ModelDef.xml
9:20 XtoMDL Information Found output file: D:\ACDATA\Raptor-VC.mdl
9:20 XtoMDL Information OutputFile: D:\ACDATA\Raptor-VC.mdl
9:20 XtoMDL Information Output file after modification: D:\ACDATA\Raptor-VC.mdl
9:20 XtoMDL Information Creating output MDL file: D:\ACDATA\Raptor-VC.mdl
9:20 XtoMDL Error (0): error : XToMdl.exe Unhandled Application Exception
9:20 XtoMDL Error (0): error : System.IO.FileNotFoundException: Failed to load file or assembly "Microsoft.DirectX, Version=1.0.2902.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" or one of its dependencies . The system can not find the file specified.
9:20 XtoMDL Error (0): error : File name: "Microsoft.DirectX, Version=1.0.2902.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" ---> System.IO.FileNotFoundException: Failed to load file or assembly "Microsoft.DirectX, Version=1.0.2902.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" or one of its dependencies. The system can not find the file specified.
9:20 XtoMDL Error (0): error : File name: "Microsoft.DirectX, Version=1.0.2902.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
9:20 XtoMDL Error (0): error :
9:20 XtoMDL Error (0): error : Warning: Assembly binding logging is turned off.
9:20 XtoMDL Error (0): error : To enable assembly binding failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
9:20 XtoMDL Error (0): error : Note: There will be some performance penalty associated with assembly binding failure logging.
9:20 XtoMDL Error (0): error : To turn off this feature, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
9:20 XtoMDL Error (0): error :
9:20 XtoMDL Error (0): error : at Microsoft.FlightSimulator.XToXmlLib.ModelFile..ctor(String szName)
9:20 XtoMDL Error (0): error : in Microsoft.FlightSimulator.XToMDL.FileListLoader.LoadAllFiles(String szBaseFilename)
9:20 XtoMDL Error (0): error : in Microsoft.FlightSimulator.XToMDL.XToMDL.ProcessInputs()
9:20 XtoMDL Error (0): error : in Microsoft.FlightSimulator.XToMDL.XToMDL.RealMain(String[] args)
9:20 XtoMDL Error (0): error : in Microsoft.FlightSimulator.XToMDL.XToMDL.Main(String[] args)
9:20 XtoMDL Error (0): error :
9:20 XtoMDL Error (0): error :
9:20 XtoMDL Error (0): error :
9:20 XtoMDL Error (0): error : Failed to load file or assembly "Microsoft.DirectX, Version=1.0.2902.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" or one of its dependencies. The system can not find the file specified.
9:20 XtoMDL Error (0): error :
9:20 XtoMDL Error (0): error : Stack Trace:
9:20 XtoMDL Error (0): error : at Microsoft.FlightSimulator.XToXmlLib.ModelFile..ctor(String szName)
9:20 XtoMDL Error (0): error : in Microsoft.FlightSimulator.XToMDL.FileListLoader.LoadAllFiles(String szBaseFilename)
9:20 XtoMDL Error (0): error : in Microsoft.FlightSimulator.XToMDL.XToMDL.ProcessInputs()
9:20 XtoMDL Error (0): error : in Microsoft.FlightSimulator.XToMDL.XToMDL.RealMain(String[] args)
9:20 XtoMDL Error (0): error : in Microsoft.FlightSimulator.XToMDL.XToMDL.Main(String[] args)
 
And if you don't make any changes can you export then?

Can you show the entire event log, I think there is more information to help you there.
 
Just saw your other message. It seems you don't have the right DirectX version installed. Make sure DirectX 9.0c is installed.
 
And if you don't make any changes can you export then?

Can you show the entire event log, I think there is more information to help you there.
Hi,Arno!Yes, I can't export to .MDL even without any modifications, but I can export .X files even if hairarchy is modified.
 
Back
Top