Go to file
2022-09-04 14:14:58 +02:00
.github/workflows Use ubuntu-22.04 for CI 2022-08-26 11:28:19 +02:00
source Fix loading .rpx bigger than 4 MiB 2022-08-26 11:28:19 +02:00
.clang-format Format the code via clang-format 2022-02-04 14:25:48 +01:00
.gitignore Use latest wut version 2022-07-25 08:54:38 -07:00
Dockerfile Update Dockerfile 2022-08-25 21:59:58 +02:00
LICENSE Add missing LICENSE 2022-09-04 14:14:58 +02:00
Makefile Add initial libmocha support 2022-07-25 08:54:38 -07:00
README.md Load the root.rpx and men.rpx from the environment path 2022-06-05 20:42:14 +02:00

CI-Release

MochaPayload - a simple custom firmware

This a version of the original mocha to be used with the EnvironmentLoader.

Usage

([ENVIRONMENT] is a placeholder for the actual environment name.)

  1. Place the 00_mocha.rpx in the sd:/wiiu/environments/[ENVIRONMENT]/modules/setup folder and run the EnvironmentLoader.
  2. Requires PayloadFromRPX as sd:/wiiu/environments/[ENVIRONMENT]/root.rpx to support returning from the system settings.

Patches

  • You can also place a RPX as men.rpx in the sd:/wiiu/environments/[ENVIRONMENT]/ folder which will replace the Wii U Menu.
  • RPX redirection
  • overall sd access
  • wupserver and own IPC which can be used with libiosuhax.

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

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

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

Format the code via docker

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

Credits

dimok Maschell orboditilt QuarkTheAwesome