• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

XtoMDL Command Example

Messages
7
Country
us-massachusetts
Hey guys,

I'm sure this particular piece of information appears somewhere on the net, but I can't seem to find a definitive example.

I have XtoMDL working properly when I drag an *.x file on to it's icon, but I can't get it to work from command prompt where I have to include the /XANIM switch.

I've been to the documentation and I think I'm following it to a tee when I execute the following command:

Code:
C:\Program Files (x86)\Lockheed Martin\Prepar3D SDK 1.3.3708.0\Environment Kit\Modeling SDK\3DSM2012\Plugins>XtoMdl /XANIM /DICT:C:\Program Files (x86)\Lockheed Martin\Prepar3D SDK 1.3.3708.0\Environment Kit\Modeling SDK\3DSM2012\Plugins\modeldef.XML /XMLSAMPLE warriorInt.x

But something is wrong because it does not output a file, nor show any warnings in command prompt.

Some help would be really appreciated! (especially if you'd like to see a properly modeled Piper Warrior in FS ;) )

Thanks,
Nick
 
Hi!

Have you seen this article?

http://www.fsdeveloper.com/wiki/index.php?title=XtoMDL

Follow that guide and install the sdk into it's own folder and not the default location of C:\Program Files (x86)\Lockheed Martin\....

make a new folder in your root drive called SDK f.ex and install it there instead.

Then it's simply copy and past this into the target path and start folder:

HTML:
%windir%\system32\cmd.exe /K C:"\SDK\SDK\Environment Kit\Modeling SDK\3DSM7\Plugins\xtomdl.exe" /XANIM /DICT:C:"\SDK\SDK\Environment Kit\Modeling SDK\bin\modeldef.XML" > buildlog.txt

HTML:
"C:\SDK\SDK\Environment Kit\Modeling SDK\3DSM7\Plugins"

Of course change your drive name and the same with the modeling kit you are using :)

PS, using the buildlog.txt it will look like the xtomdl.xml tool is not working, but all information are written to buildlog.txt and not displayed in the xtomdl.xml :)
 
Last edited:
I fully endorse the recommendation to follow the technique described in the Wiki (which I wrote incidentally), as it will greatly simplify compiling models...

However, just for the sake of completeness, here is where you went wrong in your example:

Plugins>XtoMdl

That should have been:

Plugins\XtoMdl.exe
 
Back
Top