PDA

View Full Version : Problem with XtoMDL


daga
16 Jan 2007, 03:50
Hi all,

Another problem with XtoMdl. I have the shorcut created and use "SEND TO" to create new MDL, and XML.....but... I have the following problem.


Found dictionary file: FSX\modeldef.xml
OutputFile: C:\FSX Tools\pda.MDL
Output file after modification: C:\FSX Tools\pda.MDL
Creating output MDL file: C:\FSX Tools\pda.MDL
(0): error : XToMdl.exe Unhandled Application Exception
(0): error : System.IO.FileNotFoundException: Could not load file or assembly 'M
icrosoft.DirectX, Version=1.0.2902.0, Culture=neutral, PublicKeyToken=31bf3856ad
364e35' or one of its dependencies. El sistema no puede hallar el archivo especificado.

translation: "The system cannot find the specified file"


(0): error : File name: 'Microsoft.DirectX, Version=1.0.2902.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35' ---> System.IO.FileNotFoundException: Could no
t load file or assembly 'Microsoft.DirectX, Version=1.0.2902.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35' or one of its dependencies. El sistema no pued
e hallar el archivo especificado.
(0): error : File name: 'Microsoft.DirectX, Version=1.0.2902.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35'
(0): error :
(0): error : WRN: Assembly binding logging is turned OFF.
(0): error : To enable assembly bind failure logging, set the registry value LM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
(0): error : Note: There is some performance penalty associated with assembly bi
nd failure logging.
(0): error : To turn this feature off, remove the registry value Microsoft\Fusion!EnableLog].
(0): error :
(0): error : at Microsoft.FlightSimulator.XToXmlLib.ModelFile..cto r(String sz
Name)
(0): error : at Microsoft.FlightSimulator.XToMDL.FileListLoader.Lo adAllFiles(
String szBaseFilename)
(0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.ProcessInp uts()
(0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.RealMain(S tring[] arg
s)
(0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.Main(Strin g[] args)
(0): error :
(0): error :
(0): error :
(0): error : Could not load file or assembly 'Microsoft.DirectX, Version=1.0.290
2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencie
s. El sistema no puede hallar el archivo especificado.
(0): error :
(0): error : Stack Trace:
(0): error : at Microsoft.FlightSimulator.XToXmlLib.ModelFile..cto r(String sz
Name)
(0): error : at Microsoft.FlightSimulator.XToMDL.FileListLoader.Lo adAllFiles(
String szBaseFilename)
(0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.ProcessInp uts()
(0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.RealMain(S tring[] arg
s)
(0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.Main(Strin g[] args)

C:\>


Somebody have solution?:confused: :confused:

thanks

David

scruffyduck
16 Jan 2007, 10:02
The error looks like it is related to DirectX - have you gotten the latest version of the DirectX SDK installed?

daga
16 Jan 2007, 15:34
Hi scruffyduck

Thanks!!!!!:D :D :D :D :D

DirectX was the trouble.

I have a new problem, but i think that the solution is in any post. I looking for it



Found dictionary file: FSX\modeldef.xml
OutputFile: C:\Documents and Settings\Administrador\Escritorio\Models FSX\pda.MD
L
Output file after modification: C:\Documents and Settings\Administrador\Escritor
io\Models FSX\pda.MDL
Creating output MDL file: C:\Documents and Settings\Administrador\Escritorio\Mod
els FSX\pda.MDL
CRASHTREE no granularity specified
CRASHTREE completed in 00:00:00.0156250
Usage: XToMDL.exe /KEEP /NOGUI /BATCH /NOCRASH /BMP2DDS /XMLSAMPLE /XANIM /DICT:
DictFileName /OUT:OutfileName Filename.X

C:\>


Thank you again.

David



http://www.g-sims.com/imagenes/Bm_daga.jpg

crashaz
16 Jan 2008, 16:48
Latest version of the DX SDK is the November 2007 correct?

Marginal
17 Jan 2008, 13:28
Found dictionary file: FSX\modeldef.xmlThat looks wrong. Enclose the full path of the modeldef file in quotes. eg:
/dict:"C:\Program Files\Microsoft Games\Microsoft Flight Simulator X SDK\SDK\Environment Kit\Modeling SDK\bin\modeldef.xml"

arno
17 Jan 2008, 14:26
Latest version of the DX SDK is the November 2007 correct?

I think the SDK is not required, it is just needed to have the latest DirectX version installed (9.0c if I remember correct).