This module is supposed to be loaded with the EnvironmentLoader. It will render a "splash screen" from the sd card while other modules of the environment are loading.
Place the 01_splashscreen.rpx in the [ENVIRONMENT]/modules/setup folder and run the
EnvironmentLoader. The module will attempt to load the splash image, in this order:
[ENVIRONMENT]/splash.png[ENVIRONMENT]/splash.tga- A random image from the directory
[ENVIRONMENT]/splashes/.
If no splash screen is found on the sd card, this module will effectively do nothing.
Notes:
[ENVIRONMENT]is the directory of the environment, for Aroma with would besd:/wiiu/enviroments/aroma/splash.png- When using a
tgamake sure its 24 bit and uncompressed - In theory any (reasonable) resolution is supported, something like 1280x720 is recommended
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.
If the LoggingModule is not present, it'll fall back to UDP (Port 4405) and CafeOS logging.
For building, you just need wut installed, then use the make command.
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 splashscreenmodule-builder
# make
docker run -it --rm -v ${PWD}:/project splashscreenmodule-builder make
# make clean
docker run -it --rm -v ${PWD}:/project splashscreenmodule-builder make clean
docker run --rm -v ${PWD}:/src ghcr.io/wiiu-env/clang-format:13.0.0-2 -r ./source -i
- Maschell
- Crementif