Go to file
Maniac- 5074c962aa
Update main.cpp
Memory fixes, head_end doesnt get freed and you shouldnt use ->prev pointer after its freed. Also memory leak when payload is selected.
2022-01-15 17:29:33 +02:00
.github/workflows Fix github workflow 2020-12-01 20:26:52 +01:00
src Update main.cpp 2022-01-15 17:29:33 +02:00
.gitignore first commit 2020-11-29 12:59:58 +01:00
Dockerfile Compile with latest wut version 2021-04-14 19:36:24 +02:00
LICENSE first commit 2020-11-29 12:59:58 +01:00
Makefile first commit 2020-11-29 12:59:58 +01:00
README.md Update the readme, describe what happens when no default payload is found on the sd card 2020-12-05 21:32:37 +01:00

PayloadLoaderPayload

This payload.elf loader 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. Per default this will chainload sd:/wiiu/payloads/default/payload.elf, but when holding B while loading this payload, the target payload can be selected.

Place payloads into seperate folder in sd:/wiiu/payloads/ example:

sd:/wiiu/payloads/default/payload.elf
sd:/wiiu/payloads/legacy_env/payload.elf
sd:/wiiu/payloads/fw_img_loader/payload.elf

If sd:/wiiu/payloads/default/payload.elf not present and user does NOT hold B while loading, no payload is loaded. This may lead to undefined behaviour on some payload.elf loaders.

Building

For building you just need wut 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 payloadloaderpayload-builder

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

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

Credits

  • Maschell
  • orboditilt
  • Copy pasted the solution for using wut header in .elf files from RetroArch