Skip to content

Using Ghidra

Mark Street edited this page Jan 12, 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 chunk0 code, you want to load in the extracted code:

make decompress
cd game/rzip/code
cat 0*.bin > game.decompressed.bin
Clone this wiki locally