Go to file
2024-05-08 17:57:43 +02:00
.github Bump softprops/action-gh-release from 1 to 2 2024-04-26 10:39:56 +02:00
source Make rpx loading more robust and respect section alignment 2024-05-08 17:57:43 +02:00
.clang-format Update .clang-format to change assingment, comment and macro formatting 2022-02-03 14:49:57 +01:00
.gitignore Update .gitignore to ignore .zip files 2024-04-24 17:57:00 +02:00
Dockerfile Bump wiiu-env/devkitppc from 20240423 to 20240505 2024-05-06 10:20:31 +02:00
LICENSE Add LICENSE 2022-09-04 18:42:20 +02:00
Makefile Use libschrift instead of freetype 2023-01-05 16:51:35 +01:00
README.md Change docker registry to ghcr.io 2023-03-17 18:56:29 +01:00

CI-Release

Environment Loader

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, hold X on the Gamepad while loading to force open the menu.

This payload checks for enviroments in the following directory: sd:/wiiu/environments/.

Example file structure for having a tiramisu and a installer environment on the sd card:

sd:\wiiu\environments\tiramisu\modules\setup\00_mocha.rpx
sd:\wiiu\environments\tiramisu\modules\setup\01_other_cool_payload.rpx
sd:\wiiu\environments\installer\modules\setup\00_mocha.rpx
sd:\wiiu\environments\installer\modules\setup\01_installer_launcher.rpx

When you start the EnvironmentLoader a selection menu appears. Use Y on the Gamepad to set a default enviroment. To open the selection menu when a default enviroment is set, hold X on the Gamepad while launching the EnvironmentLoader.

When launching an given enviroment, all .rpx files in [ENVIRONMENT]/modules/setup will be run.

  • Make sure not to call exit in the setup payloads
  • The files will be run in the order of their ordered filenames.

Buildflags

Logging

Building via make only logs errors (via OSReport). To enable logging via the LoggingModule set DEBUG to 1 or VERBOSE.

make Logs errors only (via OSReport).
make DEBUG=1 Enables information and error logging via LoggingModule.
make DEBUG=VERBOSE Enables verbose information and error logging via LoggingModule.

Building

Make you to have wut 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 environmentloader-builder

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

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

Format the code via docker

docker run --rm -v ${PWD}:/src ghcr.io/wiiu-env/clang-format:13.0.0-2 -r ./source --exclude ./source/elfio -i

Credits