MochaPayload/README.md

44 lines
1.7 KiB
Markdown
Raw Normal View History

2022-02-04 14:23:22 +01:00
[![CI-Release](https://github.com/wiiu-env/MochaPayload/actions/workflows/ci.yml/badge.svg)](https://github.com/wiiu-env/MochaPayload/actions/workflows/ci.yml)
2021-12-30 16:58:23 +01:00
# MochaPayload - a simple custom firmware
2022-02-04 14:23:22 +01:00
This a version of the [original mocha](https://github.com/dimok789/mocha) to be used with the [EnvironmentLoader](https://github.com/wiiu-env/EnvironmentLoader).
2020-04-28 15:07:52 +02:00
## 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](https://github.com/wiiu-env/EnvironmentLoader).
2. Requires [PayloadFromRPX](https://github.com/wiiu-env/PayloadFromRPX) as `sd:/wiiu/environments/[ENVIRONMENT]/root.rpx` to support returning from the system settings.
2020-04-28 15:07:52 +02:00
## Patches
- You can also place a RPX as `men.rpx` in the `sd:/wiiu/environments/[ENVIRONMENT]/` folder which will replace the Wii U Menu.
2020-04-28 15:07:52 +02:00
- RPX redirection
- overall sd access
- wupserver and own IPC which can be used with [libiosuhax](https://github.com/wiiu-env/libiosuhax).
## Building
For building you just need [wut](https://github.com/devkitPro/wut/) installed, then use the `make` command.
2020-06-27 10:26:41 +02:00
## 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
```
2022-02-04 14:23:22 +01:00
## Format the code via docker
2023-03-16 11:59:22 +01:00
`docker run --rm -v ${PWD}:/src ghcr.io/wiiu-env/clang-format:13.0.0-2 -r ./source -i`
2022-02-04 14:23:22 +01:00
2020-04-28 15:07:52 +02:00
## Credits
dimok
Maschell
orboditilt
QuarkTheAwesome