[RESOLVED] XtoMDL not working (missing dependencies)

avions
Posts: 2
Joined: Tue Feb 19, 2019 7:58 pm

[RESOLVED] XtoMDL not working (missing dependencies)

Postby avions » Tue Feb 19, 2019 8:04 pm

Hi, recently I reinstalled Windows 7 on my pc, I' ve been developing an aircraft model for FSX for quite some time using 3ds max 2009 with Prepar3d SDK v1.4, everything was ok before reinstallation but now xtomdl reports nothing more than errors:

Creating output MDL file: test.MDL
(0): error : XToMdl.exe Unhandled Application Exception
(0): error : System.Runtime.InteropServices.SEHException (0x80004005): External
component has thrown an exception.
(0): error : at D3DXFileCreate(ID3DXFile** )
(0): error : at SlimDX.Direct3D9.XFile..ctor()
(0): error : at Microsoft.FlightSimulator.XToXmlLib.XFileLoader..ctor()
(0): error : at Microsoft.FlightSimulator.XToXmlLib.ModelFile.LoadFromXFile()

(0): error : at Microsoft.FlightSimulator.XToXmlLib.XToXmlLib.LoadAllFileData
()
(0): error : at Microsoft.FlightSimulator.XToXmlLib.XToXmlLib.Process(ModelFi
le[] InputFiles, Hashtable[] AnimationLinkage, String[] AnimationFileRef, XPartD
ict PartDictionary)
(0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.ProcessInputs()
(0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.RealMain(String[] arg
s)
(0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.Main(String[] args)
(0): error :
(0): error : External component has thrown an exception.
(0): error :
(0): error : Stack Trace:
(0): error : at D3DXFileCreate(ID3DXFile** )
(0): error : at SlimDX.Direct3D9.XFile..ctor()
(0): error : at Microsoft.FlightSimulator.XToXmlLib.XFileLoader..ctor()
(0): error : at Microsoft.FlightSimulator.XToXmlLib.ModelFile.LoadFromXFile()

(0): error : at Microsoft.FlightSimulator.XToXmlLib.XToXmlLib.LoadAllFileData
()
(0): error : at Microsoft.FlightSimulator.XToXmlLib.XToXmlLib.Process(ModelFi
le[] InputFiles, Hashtable[] AnimationLinkage, String[] AnimationFileRef, XPartD
ict PartDictionary)
(0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.ProcessInputs()
(0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.RealMain(String[] arg
s)
(0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.Main(String[] args)

error

Thanks for any advice

Clifton Crane
Lockheed Martin
Posts: 1043
Joined: Tue Sep 25, 2012 2:34 pm

Re: xtomdl not working

Postby Clifton Crane » Mon Feb 25, 2019 8:28 pm

Hello,

It looks like you may be missing a dependency. You may want to try to download the June 2010 DirectX SDK.
Clifton Crane
Prepar3D® Software Engineer Sr.

avions
Posts: 2
Joined: Tue Feb 19, 2019 7:58 pm

Re: xtomdl not working

Postby avions » Wed Feb 27, 2019 12:26 am

Yes, installing it solved the problem, thanks


Return to “Software Development Kit (SDK) Questions”

Who is online

Users browsing this forum: No registered users and 4 guests