Go to file
2022-02-04 21:48:37 +01:00
.github/workflows Format the code via clang-format 2022-02-04 21:48:37 +01:00
relocator Format the code via clang-format 2022-02-04 21:48:37 +01:00
source Format the code via clang-format 2022-02-04 21:48:37 +01:00
.clang-format Format the code via clang-format 2022-02-04 21:48:37 +01:00
.gitignore Code cleanup 2021-09-18 11:55:01 +02:00
Dockerfile Fix spelling, formatting 2022-01-27 12:52:45 +01:00
Makefile Fix building with make DEBUG=1 2022-01-30 13:51:48 +01:00
README.md Format the code via clang-format 2022-02-04 21:48:37 +01:00

CI-Release

Wii U Module System Loader

This is a payload that should be run with EnvironmentLoader.

Usage

Put the 10_wums_loader.rpx in the fs:/vol/external01/wiiu/environments/[ENVIRONMENT]/modules/setup folder of your sd card and use the EnvironmentLoader to run this setup payload.

Put modules (in form of .wms files) that should be used a main()-hook into fs:/vol/external01/wiiu/environments/[ENVIRONMENT]/modules/.

The area between 0x00800000 and whereever this loader is loaded, will be used.

Building

Make you to have wut and WiiUModuleSystem installed and use the following command for build:

make install

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 wumsloader-builder

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

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

Format the code via docker

docker run --rm -v ${PWD}:/src wiiuenv/clang-format:13.0.0-2 -r ./source ./relocator/src -i

Credits

  • maschell
  • Copy paste stuff from dimok
  • Copy pasted the solution for using wut header in .elf files from RetroArch
  • Copy pasted resolving the ElfRelocations from decaf