Go to file
2022-01-21 18:50:57 +01:00
.github/workflows [Workflow] Use Environment Files instead of ::set-env 2020-11-26 21:26:08 +01:00
src Move code to 0x00808000 2022-01-21 18:50:57 +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 the Dockerfile to use the latest wut 2021-12-30 16:13:19 +01:00
LICENSE first commit 2020-04-27 13:32:37 +02:00
Makefile Only do logging when built with make DEBUG=1 2022-01-21 18:49:29 +01:00
README.md Update the README 2021-12-31 15:16:20 +01:00

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

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