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.rpxin the[ENVIRONMENT]/modules/setupfolder. - Place your splash images (PNG, JPEG, TGA or WEBP) in the folder
SD:/wiiu/splashes/.
Notes:
[ENVIRONMENT]is the directory of the environment, for Aroma with would beSD:/wiiu/enviroments/aroma.- When using a TGA image, make sure its 24 bit and uncompressed,
- In theory any (reasonable) resolution is supported, 1280x720 is recommended for best quality on both gamepad and TV screens.
The module will attempt to load a splash image from multiple places, in this order:
[ENVIRONMENT]/: an image namedsplash.EXT[ENVIRONMENT]/splashes/: a random image in that folder.SD:/wiiu/: an image namedsplash.EXTSD:/wiiu/splashes/: a random image in that folder.
Where EXT can be png, jpg, jpeg, tga or webp.
Building via make only logs errors (via OSReport). To enable logging via the LoggingModule set DEBUG to 1 or VERBOSE.
makeLogs errors only (via OSReport).make DEBUG=1Enables information and error logging via LoggingModule.make DEBUG=VERBOSEEnables 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 need to install (via devkitPro's pacman):
- wut
- ppc-libjpeg-turbo
- ppc-libpng
- ppc-libwebp
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