this is a loader module for ghidra for N64 roms (.z64, .n64, .v64)
- fixes endianess (little, big, mixed) at loading
- loads ram, rom and boot section into ghidra
- it can use a signature/pattern file to scan for symbol hints for ghidra
this allows a rom to be labeled, disassembled and decompiled
credits:
- blackgamma7 for fixing memory layout stuff, adding register symbols and various small changes see merge commit
- dmattia for adding build instructions for mac
requires JDK 17
brew install java
brew install gradle
brew cask install ghidra
export GHIDRA_INSTALL_DIR=`brew cask ls ghidra | grep ghidra | sed 's/^.*-> \(.*\)ghidraRun.*/\1/'`
Then whenever you're ready to build, run
gradle
and it will create a zip file in /dist
that you can use that file as the extension in Ghidra