/Ghidra-Switch-Loader

Nintendo Switch loader for Ghidra

Primary LanguageJavaISC LicenseISC

Ghidra Switch Loader

A loader for Ghidra supporting a variety of Nintendo Switch file formats.

Building

  • Ensure you have JAVA_HOME set to the path of your JDK 11 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

  • Start Ghidra and use the "Install Extensions" dialog (File -> Install Extensions...).
  • Press the + button in the upper right corner.
  • Select the zip file in the file browser, then restart Ghidra.