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
[RESOLVED] XtoMDL not working (missing dependencies)
-
- Lockheed Martin
- Posts: 1207
- Joined: Tue Sep 25, 2012 2:34 pm
Re: xtomdl not working
Hello,
It looks like you may be missing a dependency. You may want to try to download the June 2010 DirectX SDK.
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.
Prepar3D® Software Engineer Sr.
Re: xtomdl not working
Yes, installing it solved the problem, thanks