A in-progress decompilation of Gauntlet Legends
The build process has the following package requirements:
- git
- build-essential
- binutils-mips-linux-gnu
- python3
- ninja-build
Under a Debian based distribution, you can install these with the following commands:
sudo apt update
sudo apt install git build-essential binutils-mips-linux-gnu python3 ninja-build
Clone https://github.com/Drahsid/gauntlet-legends.git
in whatever directory you wish. Make sure to initialize the submodules!
git clone https://github.com/Drahsid/gauntlet-legends.git --recursive
cd https://github.com/Drahsid/gauntlet-legends.git
git submodule init
Run pip3 install -r tools/splat/requirements.txt
Just run ./build.py initial
Copy over your copy of Gauntlet Legends US into the root folder of this repository. Rename the rom to baserom.z64.
Next, run ./build.py setup
to extract the assets of the rom.
Just run ./build.py
to build the rom. If the build succeeds, a folder will be produced with the name build
, inside this will be the output rom gauntlet.z64
.
Addtionally, if the rom matches, you should see this output:
BootChip: CIC-NUS-6102
CRC 1: 0x729B5E32 Calculated: 0x729B5E32 (Good)
CRC 2: 0xB728D980 Calculated: 0xB728D980 (Good)
boot: OK!
Tower: OK!
Transitions: OK!
Boss: OK!
game: OK!
- Recompress files
- Fix data/rodata alignment being 4 instead of 16