Title:			mesh2rdm v1.5
Author:			Rich Whitehouse
Date:			2008-05-31
Homepage:		http://www.telefragged.com/thefatal/

mesh2rdm converts a number of mesh and animation formats into the RDM
and RDA formats, which are used by R-Cube Technology games, including
AVALANCHE.

mesh2rdm can also preview PlayStation version FF7 LZS-compressed models.

Run the program with no command line for instructions.

For converting FF7 models, usually some extra options will be required.
These include rotation and weapon options. Some example command lines
for reasonable conversions of some of the models are:

hicloud.lzs cloud.rdm -scale 0.1 -rotate 90 90 0 -ff7weapon 0 -ff7weaponbone 13 -ff7weaponrot 270 0 0 -ff7texpre cloud
sefiros.lzs seph.rdm -scale 0.1 -rotate 90 90 0 -ff7weapon 0 -ff7weaponbone 42 -ff7weaponrot 270 0 0 -ff7texpre seph

These scale the whole model by a factor of 0.1 (this is entirely subject
to the coordinate scale of the engine you will be using the model in),
as well as rotating 90 degrees on the x and y axis. Weapon 0 is selected
(the buster sword/masamune, respectively), and attached to bone 13 for
Cloud or bone 42 for Sephiroth. The proper bone for weapon attachments
varies among character models. The ff7weaponrot rotates the weapon on
the x axis by 270 degrees, this seems to be standard among most of the
character models. Finally, the ff7texpre option prepends the given
string to texture/material names in the output mesh. This is to allow
you to easily create texture shader mappings for the models in other
engines.

To preview LZS-compressed FF7 models, just drag and drop the file onto
the mesh2rdm exe, or run mesh2rdm with the name of the LZS on the
command line with nothing else, or associate mesh2rdm.exe with LZS
filenames in Explorer.
