Go to file
Dimitri A. 7c4db1b3b7 Upgrade build code for Gradle 8 to remove deprecated uses
Fixes build errors that appeared as warnings in Gradle 7:

* Configurations no longer allowed as Dependencies

* AbstractArchiveTask API Cleanup: Deprecated properties `baseName`, `extension`, `destinationDir`, and `version` have been removed in Gradle 8. Instead use `archiveBaseName`, `archiveExtension`, `destinationDirectory`, and `archiveVersion`.
https://docs.gradle.org/current/userguide/upgrading_version_7.html#abstractarchivetask_api_cleanup
2024-11-06 15:59:26 +01:00
.github/workflows See a908bbeeb5 and 46a85fa5e6 2024-06-29 17:35:24 +02:00
data See a908bbeeb5 and 46a85fa5e6 2024-06-29 17:35:24 +02:00
ghidra_scripts Bundle language 2023-11-01 18:39:00 +01:00
gradle/wrapper Upgrade gradlew to 8.10.2 2024-11-06 15:58:00 +01:00
src/main Use String Methods 2024-06-29 13:56:19 +02:00
.gitignore Use gradlew 2023-07-26 12:19:19 +02:00
build.gradle Upgrade build code for Gradle 8 to remove deprecated uses 2024-11-06 15:59:26 +01:00
extension.properties Bump version 2024-06-29 17:35:24 +02:00
gradle.properties Bump version 2024-06-29 17:35:24 +02:00
gradlew Upgrade gradlew to 8.10.2 2024-11-06 15:58:00 +01:00
gradlew.bat Upgrade gradlew to 8.10.2 2024-11-06 15:58:00 +01:00
LICENSE First commit. 2019-03-06 14:56:59 +01:00
Module.manifest First commit. 2019-03-06 14:56:59 +01:00
README.md Upgrade gradlew to 8.10.2 2024-11-06 15:58:00 +01:00
settings.gradle Use gradlew 2023-07-26 12:19:19 +02:00

Ghidra RPX/RPL loader

This is a simple extension to open .rpx and .rpl files with Ghidra 11.0+.

The loader includes the Gekko/Broadway/Espresso processor definitions that are based on the Ghidra-GameCube-Loader.

In case the Espresso language is not found, the loader will switch to the default PowerPC processor. However, it is not advisable to expect satisfactory results if the program uses paired single instructions.

Imports in official .rpl/.rpx files may display as "func_xyz" instead of the function's actual name. This issue can be resolved by running the fix_primary_imports.java script, which is included with this loader.

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...).

Usage

  • Choose the Gekko/Broadway/Espresso language if asked
  • Run the fix_primary_imports.java script if imports are not displayed properly

Credits