NMH Reverse Scripts
A collection of scripts for tampering with NMH open world and other models. Also contains Kaitai Struct files.
Note
These scripts are somewhat succeeded by the GMF2-Tools blender extension. For model ripping, you may find it more useful.
Requirements
- Game files
- From Wii: Unpack the entire disc image to
./filesystem
with Dolphin emu. - From PC (untested): Copy the root folder to
./filesystem/DATA/files
.
- From Wii: Unpack the entire disc image to
- Python
- Use python-poetry for automatic dependencies or check what's imported in the scripts and install them manually.
Scripts
- unpack_all.py
- Unpacks everything that can be unpacked. If you just want the models, use this.
- unpack_gct0.py
- Unusable for anything else than gathering info.
- unpack_flcg.py
- Extract an FLCG file (.GCL)
- unpack_gmf2.py
- Extract a GMF2 file (.GM2)
- gm2_mangler.py
- Platform for corrupting specific values and quick testing.
- blender/recursive_obj.py
- Convenience .obj import script for those who don't enjoy clicking through every world chunk separately. You can find it here.
- .ksy files
-
See Kaitai Struct