Collection of tools for Super Mario 64 ROM hacking
Collection of tools for manipulating the Super Mario 64 ROM
N64 ROM Splitter and Build System
n64split [-c CONFIG] [-k] [-m] [-o OUTPUT_DIR] [-s SCALE] [-t] [-v] [-V] ROM
Options:
-c CONFIG
ROM configuration file (default: auto-detect)-k
keep going as much as possible after error-m
merge related instructions in to pseudoinstructions-o OUTPUT_DIR
output directory (default: {CONFIG.basename}.split)-s SCALE
amount to scale models by (default: 1024.0)-t
generate large texture for MIO0 blocks-v
verbose output-V
print version informationSuper Mario 64 ROM Extender
sm64extend [-a ALIGNMENT] [-p PADDING] [-s SIZE] [-d] [-f] [-v] FILE [OUT_FILE]
Options:
-a ALIGNMENT
Byte boundary to align MIO0 blocks (default = 1).-p PADDING
Padding to insert between MIO0 blocks in KB (default = 32).-s SIZE
Size of the extended ROM in MB (default: 64).-d
Dump MIO0 blocks to files in mio0 directory.-f
Fill old MIO0 blocks with 0x01.-v
verbose output.Output file: If unspecified, it is constructed by replacing input file extension with .ext.z64
64 MB extended ROM that is bit compatible with with generated from the M64ROMExtender1.3b, after extending to 64 MB
sm64extend sm64.z64
24 MB extended ROM that is bit compatible with the ROM generated from the M64ROMExtender1.3b
sm64extend -s 24 sm64.z64
Enable verbose messages and specify output filename:
sm64extend -v sm64.z64 sm64_output.ext.z64
Pad 64 KB between blocks, align blocks to 16-byte boundaries, fill old MIO0 blocks with 0x01:
sm64extend -p 64 -a 16 -f sm64.z64
Experimental Super Mario 64 ROM alignment and compression tool
sm64compress [-a ALIGNMENT] [-c] [-d] [-v] FILE [OUT_FILE]
Options:
-a alignment
Byte boundary to align MIO0 blocks (default = 16).-c
compress all blocks using MIO0.-d
dump MIO0 blocks to files in mio0 directory.-v
verbose output.Output file: If unspecified, it is constructed by replacing input file extension with .out.z64
There are many other smaller tools included to help with SM64 hacking. They are:
MIT License. Copyright 2015 queueRAM.