You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 22, 2026. It is now read-only.
Mark Street edited this page Jan 17, 2021
·
2 revisions
Ghidra gets a lot of flak in N64 Decomp circles; it was not designed to create matching MIPS code (in the way that mips2c was), but it can still be useful to get an idea of what is going on in a function - especially when loops are involved.
NOTE: This page will not cover installing/setting up Ghidra - Google is your friend.
Install the N64 ROM Loader Extension (File -> Install Extension...)
In order to reverse engineer game code, you want to load in the extracted code:
make decompress
cd game/rzip/code
cat 0*.bin > game.decompressed.bin
N64 ROMs are loaded in with MIPS:BE:64:64-32addr:default, when loading in this file pick the following language: MIPS | 64-32addr | 32 | big | o32