Difference between revisions of "XtoMDL"

From FSDeveloper Wiki
Jump to: navigation, search
(XtoMDL.exe)
(XtoMDL.exe)
Line 3: Line 3:
 
The new XtoMDL.exe program for FSX is "command line driven," meaning that there's no fancy-schmanzy GUI to use... ;)
 
The new XtoMDL.exe program for FSX is "command line driven," meaning that there's no fancy-schmanzy GUI to use... ;)
  
Did you know that you could create a shortcut on your desktop that would 'proxy' commands to another application?** Create a shortcut on your desktop and enter the following for the 'target' (fix up c:\temp to be the appropriate paths to the files):
+
Did you know that you could create a shortcut on your desktop that would 'proxy' commands to another application?(1) Create a shortcut on your desktop and enter the following for the 'target' (fix up c:\temp to be the appropriate paths to the files):
  
 
%windir%\system32\cmd.exe /K c:\temp\xtomdl.exe /DICT:c:\temp\modeldef.XML
 
%windir%\system32\cmd.exe /K c:\temp\xtomdl.exe /DICT:c:\temp\modeldef.XML
Line 13: Line 13:
 
You can drag and drop onto that shortcut and a new .CMD window will open and stay open so you can see your results.
 
You can drag and drop onto that shortcut and a new .CMD window will open and stay open so you can see your results.
  
As an "improvement" to the above*, rename the shortcut something like "Compile Aircraft" then move the shortcut to your \SendTo folder...
+
As an "improvement" to the above(2), rename the shortcut something like "Compile Aircraft" then move the shortcut to your \SendTo folder...
  
 
C:\Documents and Settings\User Name\SendTo
 
C:\Documents and Settings\User Name\SendTo
Line 21: Line 21:
 
NOTE: The chief advantage of the "Send To" method is that you can have the .x file(s) anywhere you like to keep them, and the compiled .mdl will appear in that same location...
 
NOTE: The chief advantage of the "Send To" method is that you can have the .x file(s) anywhere you like to keep them, and the compiled .mdl will appear in that same location...
  
* Thanks to Tom Gibson for this tip!
+
1) Thanks to John Kane from ACES (MS Developer) for this tip!
** Thanks to John Kane from ACES (MS Developer) for this tip!
+
2) Thanks to Tom Gibson for this tip!
  
 
[[category:Aircraft design]]
 
[[category:Aircraft design]]

Revision as of 22:53, 3 October 2006

XtoMDL.exe

The new XtoMDL.exe program for FSX is "command line driven," meaning that there's no fancy-schmanzy GUI to use... ;)

Did you know that you could create a shortcut on your desktop that would 'proxy' commands to another application?(1) Create a shortcut on your desktop and enter the following for the 'target' (fix up c:\temp to be the appropriate paths to the files):

%windir%\system32\cmd.exe /K c:\temp\xtomdl.exe /DICT:c:\temp\modeldef.XML

For example, my "target" path is:

%windir%\system32\cmd.exe /K C:\Autodesk\Max8\FSX_Tools\xtomdl.exe /DICT:C:\Autodesk\Max8\FSX_Tools\modeldef.XML

You can drag and drop onto that shortcut and a new .CMD window will open and stay open so you can see your results.

As an "improvement" to the above(2), rename the shortcut something like "Compile Aircraft" then move the shortcut to your \SendTo folder...

C:\Documents and Settings\User Name\SendTo

...now, in Explorer rightclick on the .x file and select "Compile Aircraft" from the popup menu...

NOTE: The chief advantage of the "Send To" method is that you can have the .x file(s) anywhere you like to keep them, and the compiled .mdl will appear in that same location...

1) Thanks to John Kane from ACES (MS Developer) for this tip! 2) Thanks to Tom Gibson for this tip!