fbxtomdl by Preach (andrew.denner@btinternet.com)

Hi all. This is a command line tool for creating mdl files from a batch of fbx files. To use it, you should create a fbx model for each pose you want in the model, and collect them in an empty directory. Also add all your skins to this directory in bmp, pcx or tga format.

usage: fbxtomdl [-h] [-f FLAGS] [-d DIR]

optional arguments:
  -h, --help            show this help message and exit
  -f FLAGS, --flags FLAGS
                        Sets the flags on the model by number
  -d DIR, --dir DIR     Specifies the directory to load files from

At the moment the frames are named after the files they are loaded from, and in alphabetical order. Also note that the UV mapping is taken from the first file loaded.

This application is simply a python script bundled up into an executable because the libraries it uses were complicated to install. The script itself and updates can be found on my blog:

http://tomeofpreach.wordpress.com

Changelog:
	v0.1
Initial release of script

	v0.2
* Updated to use qmdl v0.3, some speed-ups gained
* Now uses the helper module's function to merge vertices, which is more sophisticated than the custom version in the original release.
* Now when loading indexed-palette images, the palette indices are mapped directly to the quake palette. This avoids the amiguities of converting based on the colours, since the quake palette has multiple entries with the same colour.