A Nintendo DS Loader for Ghidra
Latest Ghidra versions supported: 11.0.2 (30/03/2024 | dd/mm/yyyy)
NTRGhidra is released under the .
- Fork, modify and pull request to contribute,
- Open issues suggesting feautures, reporting bugs, asking for documentation or changes, etc.
- Solve known problems reported in the
- Support by starring the project.
! This project is looking for maintainers and contributors --> If you'd like to join this effort
! and contribute or administer the project in any way, please open an issue to get in touch. Thank you!
A list of In Progress / To-Do / Completed features is available in this listing
If you just want to install the loader into a existing Ghidra installation:
- Download the .zip from the releases page (Or build the project yourself from the code, instructions below).
- Put the .zip into the GHIDRA_INSTALL_DIR/Extensions/Ghidra folder
- In the initial Ghidra window (not in the Code Browser), open the "File" menu, and select "Install Extensions". Click the small 'plus' icon in the top right of the window, and select the extension zip file downloaded. This should add an entry into the extensions list. Make sure it is checked and click OK.
- Restart Ghidra.
NOTE: If you notice any exception while debugging with Eclipse, please
These are the basic steps to debug and build the loader. You must have a Ghidra installation.
- Install Ghidra
- Install the Eclipse IDE
- In Eclipse, install the Ghidra Development Extension. Click Help > "Install New Software" (https://stackoverflow.com/questions/31553376/eclipse-how-to-install-a-plugin-manually)
- After the extension is installed, clone/download this repository, which contains an Eclipse project.
- Open the project with Eclipse (File > Open Projects from File System)
- You may need to reconnect Ghidra to the project by right clicking the project in Eclipse, and doing GhidraDev -> Link Ghidra...
- Build: Select "File > Export", and then choose "Ghidra > Ghidra Module Extension". You can then use a local Gradle installation or an online build system.
- Special thanks to gbatek for ds technical info
- Thanks to Gericom for the original C# Header and ARM9 decompression code from EFE(Every File Explorer), as well as for testing.
For reference and tutorials about Ghidra loaders and how to write them, you may want to read: