Skip to content

Drahsid/gauntlet-legends

Repository files navigation

Gauntlet Legends

A in-progress decompilation of Gauntlet Legends

Building (Linux)

Install build dependencies

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 the repository

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

Install Python3 requirements

Run pip3 install -r tools/splat/requirements.txt

Prepare the tools

Just run ./build.py initial

Prepare the base rom

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.

Build 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!

TODO

  • Recompress files
  • Fix data/rodata alignment being 4 instead of 16

About

in-progress decompilation of Gauntlet Legends for the N64

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages