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.
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.
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...