Go to file
2024-04-19 18:22:24 +02:00
.github Bump actions/checkout from 3 to 4 2023-09-05 00:11:36 +02:00
src Add missing import to be compatible with latest wut version 2024-04-19 18:22:24 +02:00
.clang-format Update .clang-format to update the comment, macro and assignment formatting 2022-02-03 13:55:24 +01:00
.gitignore - Use the(de)-init functions from libwut to handle logging, sd access and memory. 2020-05-28 20:53:27 +02:00
Dockerfile Update Dockerfile 2023-06-16 17:05:45 +02:00
LICENSE first commit 2020-04-27 13:32:37 +02:00
Makefile Add verbose logging 2023-04-17 13:47:32 +02:00
README.md Change docker registry to ghcr.io 2023-03-17 18:56:19 +01:00

CI-Release

CustomRPXLoader

This custom loader for .rpx files which can be used with any payload.elf loader. (For example PayloadFromRPX or JsTypeHax)

Usage

Place the payload.elf in the sd:/wiiu folder of your sd card and run a exploit which loads payload.elf, this will load the sd:/wiiu/payload.rpx into memory and execute it. The maximum size of the payload.rpx depends on the size of this loader, but should > 7Mib.

Building

For building you just need wut and the ppc-portlibs ((dkp-)pacman -Syu ppc-portlibs) installed, then use the make command.

Building using the Dockerfile

It's possible to use a docker image for building. This way you don't need anything installed on your host system.

# Build docker image (only needed once)
docker build . -t customrpxloader-builder

# make 
docker run -it --rm -v ${PWD}:/project customrpxloader-builder make

# make clean
docker run -it --rm -v ${PWD}:/project customrpxloader-builder make clean

Format the code via docker

docker run --rm -v ${PWD}:/src ghcr.io/wiiu-env/clang-format:13.0.0-2 -r ./src --exclude ./src/elfio -i

Credits

  • Maschell
  • orboditilt
  • Copy pasted the solution for using wut header in .elf files from RetroArch
  • Copy pasted resolving the ElfRelocations from decaf
  • Copy pasted SD mounting code + devoptabs from libutils