Go to file
2021-12-07 18:01:15 +01:00
.github/workflows [Workflow] Use Environment Files instead of ::set-env 2020-12-01 13:07:18 +01:00
relocator WUMS 0.3 support: Store function symbol data inside global struct. Optimize relocator to only read needed data from global struct 2021-12-07 18:01:15 +01:00
source WUMS 0.3 support: Store function symbol data inside global struct. Optimize relocator to only read needed data from global struct 2021-12-07 18:01:15 +01:00
.gitignore Code cleanup 2021-09-18 11:55:01 +02:00
Dockerfile Try to log via the logging module, also log to syslog via OSReport 2021-11-06 23:37:52 +01:00
Makefile Tweaking some compiler options 2021-04-17 13:25:54 +02:00
README.md Add a Dockerfile 2020-06-25 19:13:12 +02:00

Setup payload

This is a payload that should be run with CustomRPXLoader.

Usage

Put the payload.rpx in the sd:/wiiu/ folder of your sd card and use the CustomRPXLoader to run this setup payload.

Put modules (in form of .wms files) that should be used a main()-hook into sd:/wiiu/modules/ and one time modules into sd:/wiiu/modules/setup.

  • Make sure not to call exit in the modules (by using the WiiUModuleSystem)
  • The one time setups will be run in the order of their ordered filenames.

The area between 0x00800000 and whereever this setup 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 setuppayload-builder

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

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

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