Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This is probably the zillionth place where I try to get help in this, so please do bear with me, if I missed something with the local search engine - just need a short answer: a short suggestion. I am trying to use .X files (whoa.. huh? lol), but I found no good software for importing .X files then editing them then exporting them.. all this with animations, all this in text format (optional, but would be great), all this with having multiple meshes in one .X file. Found some good software to do the half of the jobs done, but is there any way to do it in one step? (I mean really - what do other programmers use at all? I found no good stuff on net.. am I to implement one myself, or such?)

So any good suggestion would be great, and without garbage: .X files in text with animations with multiple meshes to import and then edit and then export.

Thanks: Péter

edit: I already tried Blender. The 2.49b was the last version supporting import directx in text. After these versions blender is not even importing .x, only exports. 2.49b can export animated .x, but can not import animation. 2.49b can export multiple meshes but will only import one of the meshes - from the same export it did (unmodified). Thanks for the suggestion, but blender is no solution for this, unless you can suggest a working script too please?

solution: for above mentioned problem there were some solutions. Here I try to sum up stuff:

  • Blender is a partially working solution; see edit above.
  • Milkshape seemed to work with directx files, but for my tests it showed up, that only preview worked well, on main screen the textures were bad and no animations were imported. Versions checked are: 1.7.0 and 1.8.4 or something like that, I don't remember.
  • TrueSpace seemed to not work for any of the .X files. No idea why; tried with tiny.x provided by the DirectX SDK, but nope. *- Good solution is to use quick converter - see post bellow, marked as good answer. Found this allright, because it is closest to my goal.
  • Found a program (UU3D - Ultimate Unwrap 3D) that loads .X well, with more meshes and multiple animations and the textures are just fine too. Because it is not free, I could not try that if it can save with text as well (saving is simply disabled in demo). For those, who can afford such I could only recommend, because it looks promising.*
share|improve this question
Why has this been downvoted? I'm honestly curious – Raine Jun 9 '11 at 11:50
Thanks for adding UU3D to the list. – Jonathan Connell Jun 9 '11 at 14:01
up vote 5 down vote accepted

How about blender?

----- Edit -----

Looking more into it, Blender now only support exporting .X files with a script that needs to be activated via User Preferences, see this forum post.

You could try converting your .x files into another format to import them fo the tool you want, Milkshape may work.

----- Edit -----

After looking even more into it, I see that people reccommend TrueSpace 7.6 which is now completely free and should allow you to import .x files.

If you don't like the modeller after that, you can just export to a different format and use your favourite modeller.

----- Edit -----

After managing to find this on CodeProject, DirectX apparently once provided a tool to convert from .x to .3ds. The link (not tested) should be a Dx8 Extras pack that comes with the conv3ds.exe utility. Here it is, good luck.

share|improve this answer
Thank you for suggestion and for the willing to help. Checking TrueSpace. – Zéiksz Jun 9 '11 at 11:19
@Zéiksz : Any luck? – Jonathan Connell Jun 9 '11 at 12:49
No. Took some time with this, but 1; milkshape loaded textures bad (even if the preview was just fine), and no animations. 2; TrueSpace did not load .x at all. (Checked tiny.x shipped with directx sdk too). Now just reading forums if there is a fix for that TrueSpace thing.. – Zéiksz Jun 9 '11 at 12:54
The support for .x imports seems horribly lacking in almost all modelling software. You may unfortunately have to create an importer yourself, or try to donwload a converter. – Jonathan Connell Jun 9 '11 at 13:03
@Zéiksz : I added a tool I found to my answer. – Jonathan Connell Jun 9 '11 at 13:11

Blender's website lists DirectX as a supported file type

share|improve this answer
For exporting, can not import (or for 2.49b and pre can not import properly). – Zéiksz Jun 9 '11 at 11:14

I believe Blender allows for .x importing (it ships with the import script)

share|improve this answer
Top version for this is 2.49b. Can import one mesh and no animations. Useless. – Zéiksz Jun 9 '11 at 11:13

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.