Go to file
dependabot[bot] 3f71bb4d7f Bump softprops/action-gh-release from 1 to 2
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-24 17:42:22 +02:00
.github Bump softprops/action-gh-release from 1 to 2 2024-04-24 17:42:22 +02:00
src Overwrite wuts __syscall_getreent 2024-04-24 17:42:22 +02:00
.clang-format Format the code via clang-format 2022-02-03 17:23:58 +01:00
.gitignore first commit 2020-11-29 12:59:58 +01:00
Dockerfile Update Dockerfile to use latest devkitPPC and wut version 2024-04-24 17:42:22 +02:00
LICENSE first commit 2020-11-29 12:59:58 +01:00
Makefile Improve logging 2023-04-17 12:24:34 +02:00
README.md Change docker registry to ghcr.io 2023-03-17 19:11:23 +01:00

README.md

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

Format the code via docker

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

Credits

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