![]() |
|
|||||||
| Register | Wiki | Downloads | FAQ | Members List | Social Groups | Calendar | Search | Today's Posts | Mark Forums Read |
| Wiki Article Discussions In this forum you will find all Talk pages of the Wiki articles, so that you can discuss their content. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
XtoMDL.exe
Discussion thread for XtoMDL.exe. If you would like to add a comment, click the Post Reply button.
|
|
#2
|
||||
|
||||
|
Hi Folks
Bill - Your latest article update of paths - %windir%\system32\cmd.exe /K E:"\FSX_SDK\SDK\Environment Kit\Modeling SDK\3DSM7\Plugins\xtomdl.exe" /XANIM /DICT:E:"\FSX_SDK\SDK\Environment Kit\Modeling SDK\bin\modeldef.XML" > buildlog.txt Are those highlighted characters possibly transposed ? Appreciate the benefits of your non-default path, however, preferable that wiki examples utilise MS-default paths, as users tend to copy/paste. ![]() Both issues apply similarly to your two other examples. HTH ATB Paul
__________________
![]() ODG Preview I've never felt so frustrated,
died so frequently/spectacularly/or needlessly, yet had so much fun, in a long time. Flight's Landing Challenges FLIGHT - Earn your wings ! |
|
#3
|
|||
|
|||
|
Quote:
E:" The first quote mark must be after the drive letter: and the close quote mark must be after the last item in the pathname/filename. It took me a long time to remember how to use the quote marks correctly, which is why I decided to update the Wiki entry. I did suggest that folks would have to modify the path according to where they installed the SDK, but I will (re)edit the entry to replace the examples with the default SDK install path(s).
__________________
Bill Leaming 3d Modeler Max/GMax C & XML Gauge Programmer Eaglesoft Development Group http://eaglesoftdg.com Intel® Core™ i7-3770k 4.2GHz - Crucial 16GB DDR3 - Dual Radeon HD770 1GB DDR5 (Crossfire) - Eco II Watercooling - Win7 64bit Intel® Core™ i7-2600k 3.4GHz - Crucial 4GB DDR3 - NVIDIA GeForce GTX550Ti 1GB - Win7 64bit Intel® Core™ i7-860 2.8GHz - Crucial 8GB DDR3 - NVIDIA GeForce GTS240 1GB - Win8 64bit NOTE: Unless explicitly stated otherwise, everything written by my hand is MY opinion. I do NOT speak for any company, real or imagined...
|
|
#4
|
|||
|
|||
|
Hi Guys, sorry for ask but i cant get it work, Someone could explain me with more detail how to make this procedure to get the animation working? I exported my object from 3ds and i got 2 files: test1.x and text1.xanim, here and in the wiki talk about to make a shortcut but a shotcut of what? i mean i have to create a shortcut of my test1.x file? and then entry those lines that wiki explain? please help, thanks for your attentions.
|
|
#5
|
|||
|
|||
|
XtoMDL.exe is what is known as a "Command Line Program," which means you can't just run it and expect it to do anything at all...
![]() Instead, you have to pass it the information it needs so it will know what to do! Now you could open a "Command Box" and type in all of the information required every single time you want to compile a new model, but that is way too much effort! Because of this, using the ideas from several other developers, I came up with the "Shortcut" method. A Desktop Shortcut is a tiny 'program' that contains all of the required information to "pass" to the Target, which in this case is the XtoMDL.exe program. You only need to create the Shortcut one time! Once it is created and tested to work properly, you will never need to worry about it again. I've provided precise instructions in the Wiki article so I see no need to repeat them here.
__________________
Bill Leaming 3d Modeler Max/GMax C & XML Gauge Programmer Eaglesoft Development Group http://eaglesoftdg.com Intel® Core™ i7-3770k 4.2GHz - Crucial 16GB DDR3 - Dual Radeon HD770 1GB DDR5 (Crossfire) - Eco II Watercooling - Win7 64bit Intel® Core™ i7-2600k 3.4GHz - Crucial 4GB DDR3 - NVIDIA GeForce GTX550Ti 1GB - Win7 64bit Intel® Core™ i7-860 2.8GHz - Crucial 8GB DDR3 - NVIDIA GeForce GTS240 1GB - Win8 64bit NOTE: Unless explicitly stated otherwise, everything written by my hand is MY opinion. I do NOT speak for any company, real or imagined...
|
|
#6
|
|||
|
|||
|
Thanks Bill, I made all the procedure, i make a shortcut of the xtomdl.exe and then i enter the correct lines in target and Start in with the proper adress like this:
Target: %windir%\system32\cmd.exe /K C:"C:\FSX_SDK\SDK\Environment Kit\Modeling SDK\3DSM7\Plugins\xtomdl.exe" /DICT:C:"\FSX_SDK\SDK\Environment Kit\Modeling SDK\bin\modeldef.XML" /XMLSAMPLE > buildlog.txtt Start in: "C:\FSX_SDK\SDK\Environment Kit\Modeling SDK\3DSM7\Plugins" Then i moved the shortcut to Sent to/ then i drag and drop the test1.x file to the new shortcut and nothing happend, what am i doing wrong? thanks for your pattience, i just moved from gmax to 3ds.. |
|
#7
|
|||
|
|||
|
Sorry, when I drag and drop the x file i got a screen (see attached picture)...
|
|
#8
|
|||
|
|||
|
I got it working, thanks Bill,
|
|
#9
|
|||
|
|||
|
Good! I'll bet that this was the problem:
%windir%\system32\cmd.exe /K C:"C:\FSX_SDK\SDK\Environment Kit\Modeling SDK\3DSM7\Plugins\xtomdl.exe" The characters in red above are incorrect. You have the drive C:" correct, but then repeated it after the quote mark! ![]() By the way, since you've moved the Shortcut to your SendTo folder, you do not have to 'drag-and-drop' the .x file! Simply right-click on the .x file and choose CompileAircraft (or whatever name you used) to compile the .x and .xanim files to a new .mdl file. This is why I always export the .x file from Max to my sim's aircraft\model folder. This way I don't have to move the new .mdl file at all...
__________________
Bill Leaming 3d Modeler Max/GMax C & XML Gauge Programmer Eaglesoft Development Group http://eaglesoftdg.com Intel® Core™ i7-3770k 4.2GHz - Crucial 16GB DDR3 - Dual Radeon HD770 1GB DDR5 (Crossfire) - Eco II Watercooling - Win7 64bit Intel® Core™ i7-2600k 3.4GHz - Crucial 4GB DDR3 - NVIDIA GeForce GTX550Ti 1GB - Win7 64bit Intel® Core™ i7-860 2.8GHz - Crucial 8GB DDR3 - NVIDIA GeForce GTS240 1GB - Win8 64bit NOTE: Unless explicitly stated otherwise, everything written by my hand is MY opinion. I do NOT speak for any company, real or imagined...
Last edited by n4gix; 13 Mar 2013 at 11:48. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Export problem of XtoMdl.exe ! | ayay | Modeling | 2 | 14 May 2007 22:37 |