We are currently targeting the July 12th NTSC-J prototype, but we aim to target the final NTSC-J/NTSC/PAL builds in the foreseeable future.
sudo apt install gcc-mipsel-linux-gnu binutils-mips-linux-gnu ninja-buildsudo apt install python3-pippython3 -m pip install -U -r requirements.txt
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
isoin the root of the repo. - Extract
SCPS_150.17from an ISO of the July 12th prototype and place it in saidisofolder. ./configure.py(use-cto do a clean split.)- Execute the following command:
grep -rlE '%(gp_rel)' asm/nonmatchings/* | xargs sed -i -E -s 's/%(gp_rel)\(([^)]+)\)\(\$28\)/\2/' 2>/dev/null || true ninja
- After a successful build, create a folder named
expected - Copy the
buildfolder inside theexpectedfolder. ./tools/diff.py -mwo FUNCTION_NAME
Note: Every time you add a new symbol, you must do the asm-differ setup again.