Currently uses NTSC-U/C retail, as symbolized debugs are not currently available
- Obtain
mipsel-elf-ld
from your distro's package manager. (ubuntu:binutils-mips-linux-gnu
, arch:aur/mipsel-elf-binutils
) python3 -m pip install -U -r requirements.txt
(invoking is not intelligent! use--break-system-packages
if on arch)
Note: For compiling, you need to add the i386
architecture. For instructions on that please check out this guide if you're on Ubuntu.
- Create a folder named
orig
in the root of the repo. - Extract
SCUS_972.58
from an ISO of the retail release and place it in saidorig
folder. ./configure.py
(use-c
to do a clean split. necessary for symbol_addrs.txt flag updates)ninja
- After a successful build, create a folder named
expected
- Copy the
build
folder inside theexpected
folder. - Run objdiff, pointing it at
amp
.
Note: Every time you add a new symbol, you must do the objdiff setup again.