Features
- load [input filename] - loads a MOD file
- write [output filename] - writes the MOD file
- close - closes the MOD file
- import_texture - swaps a texture with an external TXE file
- import_ini [input filename] - imports an external ini
- export_materials [output filename] - exports all materials to a file
- export_textures [output directory] - exports all textures to a directory
- export_ini [output filename] - exports the ini to a file
- export_obj [output filename] - exports the model to an obj file
- export_dmd [output filename] - exports the model to a dmd file
- help - re-generate this command list
Change Log
export_materials
has had some fixes, and a lot of values have now got associated enumerations to them. Still a lot more research to be done.
Fix the main.cpp oversight, where I left in my debug code by accident.
An example of the new output:
TEXTURE_INFO
UNK1 0
UNK2 0.010000 0.010000 0.010000
TEXTURE_GEN_DATA_COUNT 2
ENTRY0
DESTINATION_COORDS GX_TEXCOORD0
FUNC GX_TG_MTX2x4
SOURCE_PARAM GX_TG_TEX0
TEXTURE_MTX GX_IDENTITY
ENTRY1
DESTINATION_COORDS GX_TEXCOORD1
FUNC GX_TG_MTX2x4
SOURCE_PARAM GX_TG_TEX1
TEXTURE_MTX GX_IDENTITY
TEXDATA_SIZE 2
TEXDATA_IDX 0
TEX_ATTR_IDX 0
UNK2 1
UNK3 1
UNK4 0
UNK5 0
UNK6 4
UNK7 2
TEXTURE_MATRIX_ID GX_IDENTITY
ANIM_LENGTH 0
ANIM_SPEED 1.000000
SCALE 1.000000 1.000000
ROTATION 0.000000
PIVOT 0.000000 0.000000
POSITION 0.500000 0.500000
SCALE_ANIM_FRAME_COUNT 0
ROT_ANIM_FRAME_COUNT 0
PIVOT_ANIM_FRAME_COUNT 0
Full Changelog: 1.2...1.3