Maschell 10d74d9f6d Adopt to changes of WUMS. The main() of modules are now called only once, but the WUMS_HOOK_APPLICATION_STARTS hook is called on every application start.
The .bss section is not cleared anymore, modules will always considered running in the background (and not ending when the application end)
For this to work we need to force the init of the kernel + memorymapping module to be done in the right order.
2020-06-03 19:41:05 +02:00
2020-06-01 16:41:46 +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

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
Description
No description provided
Readme 632 KiB
Languages
C++ 92.9%
Makefile 3.7%
C 3.1%
Assembly 0.3%