FSDeveloper Community

Go Back   FSDeveloper Community > Developers coffee house > Wiki Article Discussions

Wiki Article Discussions In this forum you will find all Talk pages of the Wiki articles, so that you can discuss their content.

Reply
 
Thread Tools Display Modes
  #1  
Old 28 Nov 2007, 06:36
FBVLV FBVLV is offline
  france
Join Date: Nov 2007
Posts: 59
XtoMDL.exe

Discussion thread for XtoMDL.exe. If you would like to add a comment, click the Post Reply button.
Reply With Quote
  #2  
Old 03 Mar 2010, 17:17
BASys's Avatar
BASys BASys is offline
  scotland
Location: EGNL, Barrow-in-Furness, Cumbria, UK
Join Date: May 2006
Posts: 1,163
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 !
Reply With Quote
  #3  
Old 03 Mar 2010, 20:35
n4gix n4gix is offline
  unitedstates
Location: Hammond, Indiana
Join Date: Sep 2006
Posts: 8,528
Quote:
Originally Posted by BASys View Post
Hi Folks

Bill -
Your latest article update of paths -

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.
Paul
No, they are correct:

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...
Reply With Quote
  #4  
Old 12 Mar 2013, 14:17
escamillacesar escamillacesar is offline
  mexico
Join Date: Sep 2009
Posts: 59
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.
Reply With Quote
  #5  
Old 12 Mar 2013, 15:18
n4gix n4gix is offline
  unitedstates
Location: Hammond, Indiana
Join Date: Sep 2006
Posts: 8,528
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...
Reply With Quote
  #6  
Old 12 Mar 2013, 15:38
escamillacesar escamillacesar is offline
  mexico
Join Date: Sep 2009
Posts: 59
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..
Reply With Quote
  #7  
Old 12 Mar 2013, 15:42
escamillacesar escamillacesar is offline
  mexico
Join Date: Sep 2009
Posts: 59
Sorry, when I drag and drop the x file i got a screen (see attached picture)...
Attached Thumbnails
Click image for larger version

Name:	cmd1.jpg
Views:	20
Size:	32.2 KB
ID:	14319  
Reply With Quote
  #8  
Old 12 Mar 2013, 18:46
escamillacesar escamillacesar is offline
  mexico
Join Date: Sep 2009
Posts: 59
I got it working, thanks Bill,
Reply With Quote
  #9  
Old 13 Mar 2013, 11:41
n4gix n4gix is offline
  unitedstates
Location: Hammond, Indiana
Join Date: Sep 2006
Posts: 8,528
Quote:
Originally Posted by escamillacesar View Post
I got it working, thanks Bill,
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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Export problem of XtoMdl.exe ! ayay Modeling 2 14 May 2007 22:37


All times are GMT -4. The time now is 05:00.

Kirsch designed by Andrew & Austin


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.