MCPcopy Index your code
hub / github.com/Cuyler36/Ghidra-GameCube-Loader

github.com/Cuyler36/Ghidra-GameCube-Loader @1.3.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.3.1 ↗ · + Follow
156 symbols 368 edges 23 files 7 documented · 4%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Ghidra GameCube Loader

A Nintendo GameCube binary loader for Ghidra.

Includes optional symbol map importing, automatic namespace creation, and demangling support.

Supported Formats

  • DOL Executables (.dol)
  • Relocatable Modules (.rel)
  • Apploaders
  • RAM Dumps

Building

  • Ensure you have JAVA_HOME set to the path of your JDK 21 installation.
  • Set GHIDRA_INSTALL_DIR to your Ghidra install directory. This can be done in one of the following ways:
    • Windows: Running set GHIDRA_INSTALL_DIR=<Absolute path to Ghidra without quotations>
    • macos/Linux: Running export GHIDRA_INSTALL_DIR=<Absolute path to Ghidra>
    • Using -PGHIDRA_INSTALL_DIR=<Absolute path to Ghidra> when running ./gradlew
    • Adding GHIDRA_INSTALL_DIR to your Windows environment variables.
  • Run ./gradlew
  • You'll find the output zip file inside /dist

Installation

  • Copy the zip file to <Ghidra install directory>/Extensions/Ghidra.
  • Start Ghidra and use the "Install Extensions" dialog to finish the installation. (File -> Install Extensions...).

Core symbols most depended-on inside this repo

Shape

Method 125
Class 29
Enum 2

Languages

Java100%

Modules by API surface

src/main/java/gamecubeloader/rso/RSOModule.java25 symbols
src/main/java/gamecubeloader/common/CodeWarriorDemangler.java17 symbols
src/main/java/gamecubeloader/analyzer/GCAnalyzer.java12 symbols
src/main/java/gamecubeloader/plugins/SymbolMapExporterPlugin.java11 symbols
src/main/java/gamecubeloader/common/SymbolLoader.java11 symbols
src/main/java/gamecubeloader/rel/RELProgramBuilder.java10 symbols
src/main/java/gamecubeloader/rso/RSOProgramBuilder.java8 symbols
src/main/java/gamecubeloader/apploader/ApploaderHeader.java8 symbols
src/main/java/gamecubeloader/dol/DOLHeader.java7 symbols
src/main/java/gamecubeloader/GameCubeLoader.java7 symbols
src/main/java/gamecubeloader/rso/RSOSection.java6 symbols
src/main/java/gamecubeloader/rel/RELHeader.java6 symbols

For agents

$ claude mcp add Ghidra-GameCube-Loader \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page