Releases: intns/modconv
Release v1.4
Changelog
Added new commands, seen below.
Full Changelog: v1.3...v1.4
Commands
load [input filename] - loads a MOD file
write [output filename] - writes the MOD file
reset - resets the currently loaded MOD file
list_chunks - lists all chunks in the currently loaded MOD file
delete_chunk [target chunk (0x10, 0x12, 0x30, etc.)] - deletes a chunk type [dangerous]
edit_header - edits header information (date of creation / flags)
import_col [input filename] - imports collision data from a file
import_mat [input filename] - imports materials from an external file
import_obj [input filename] - imports an external obj
import_ini [input filename] - imports an external ini
import_tex - swaps a texture with an external TXE file
export_col [output filename] - exports collision data to a file
export_mat [output filename ] - exports all materials to a file
export_obj [output filename ] - exports the model to an OBJ file [WIP]
export_ini [output filename ] - exports the ini to a file
export_tex [output directory] - exports all textures to a directory
export_dmd [output filename ] - exports the model to a DMD file [WIP]
help - re-generate this command list```
Release v1.3
Changelog
Introduces the 'import_obj' command to import geometry from Wavefront OBJ files, updating the command list, usage instructions, and README to reflect this new feature. Also refactors command registration, improves header editing for new MOD flag, and corrects a Joint struct field name for clarity.
Full Changelog: v1.2...v1.3
Commands
load [input filename] - loads a MOD file
write [output filename] - writes the MOD file
close - closes the MOD file
import_material [input filename] - imports materials from an external file
import_texture - swaps a texture with an external TXE file
import_obj [input filename] - imports an external obj
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_obj [output filename] - exports the model to an obj file [WIP]
export_ini [output filename] - exports the ini to a file
export_dmd [output filename] - exports the model to a dmd file [WIP]
delete_chunk [target chunk (0x10, 0x12, 0x30, etc.)] - deletes a chunk type [dangerous]
edit_header - edits header information (date of creation / flags)
help - re-generate this command list
Release v1.2
Changelog
Enhanced the export_obj function to merge and export all texture coordinate sets, generate a material library (.mtl) file with color, transparency, and lighting info, and assign materials to mesh faces. Also improved face generation for various primitive types and updated console output for better feedback.
Full Changelog: v1.1...v1.2
Commands
load [input filename] - loads a MOD file
write [output filename] - writes the MOD file
close - closes the MOD file
delete_chunk [target chunk (0x10, 0x12, 0x30, etc.)] - deletes a chunk type [dangerous]
edit_header - edits header information (date of creation / flags)
import_texture - swaps a texture with an external TXE file
import_ini [input filename] - imports an external ini
import_material [input filename] - imports materials from an external file
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 [WIP]
export_dmd [output filename] - exports the model to a dmd file [WIP]
delete_chunk [target chunk (0x10, 0x12, 0x30, etc.)] - deletes a chunk type [dangerous]
help - re-generate this command list
Release v1.1
modconv v1.0
Commands
Functions with an optional parameter are italicised. Defaults are used if the parameter is omitted.
-
load [file] - Load a MOD file
-
write [file] - Save the current MOD file
-
close - Close the current MOD file
-
import_texture - Import texture from a TXE file
-
import_ini [file] - Import data from a
.inifile -
import_material [file] - Import materials
-
export_materials [file] - Export all materials
-
export_textures [directory] - Export all textures
-
export_ini [file] - Export the current
.inifile -
export_obj [file] - Export to
.obj(WIP) -
export_dmd [file] - Export to
.dmd(WIP) -
delete_chunk [ID] - Delete chunk by ID (e.g.,
0x10) -
help - Show command list