A WUPS plugin which can create screenshots on your Wii U!
Go to file
2023-01-26 17:14:02 +01:00
.github/workflows Fix the commit message on nightlies 2022-09-24 19:03:09 +02:00
src Abort taking a screenshot if the target doesn't get rendered 2023-01-26 17:14:02 +01:00
.clang-format Port plugin to Aroma 2022-09-23 14:05:49 +02:00
.gitignore Port plugin to Aroma 2022-09-23 14:05:49 +02:00
Dockerfile Use the configId in config-callbacks to share the same callback for multiple config items 2022-09-24 19:03:09 +02:00
LICENSE Add license 2018-07-01 19:35:42 +02:00
Makefile Compile with O3 2023-01-26 17:14:02 +01:00
README.md Update the README 2023-01-26 17:14:02 +01:00

Screenshot Plugin

This is just a simple plugin that takes screenshots of the TV and GamePad screens. The screenshots will be saved on the SD card in the folder sd:/wiiu/screenshots

Installation

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

  1. Copy the file screenshot.wps into sd:/wiiu/environments/[ENVIRONMENT]/plugins.
  2. Requires the WiiUPluginLoaderBackend in sd:/wiiu/environments/[ENVIRONMENT]/modules.
  3. Requires the MemoryMappingModule in sd:/wiiu/environments/[ENVIRONMENT]/modules.
  4. Requires the NotificationModule in sd:/wiiu/environments/[ENVIRONMENT]/modules.

Usage

Press a button combo on the GamePad, Pro Controller or Classic Controller to take a screenshot.

Via the plugin config menu (press L, DPAD Down and Minus on the GamePad, Pro Controller or Classic Controller) you can configure the plugin. The available options are the following:

  • Settings:
    • Enabled: (Default is true)
      • Enables or disables the screenshot plugin.
    • Button combo: (Default is TV-Button)
      • Changes the button combo for taking screenshots.
    • Screen: (Default is TV and GamePad)
      • Determines from which screen a screenshot should be taken. Possible options: TV & GamePad, TV only, GamePad only.
    • Output format: (Default is JPEG)
      • Determines which file is used. Currently saving screens as .jpg, .png and .bmp is supported.
    • JPEG quality: (Default is 90)
      • Determines the quality when saving as JPEG. Lowest possible quality is 10, highest 100.
    • Check ReservedBit for taking screenshots: (Default is true)
      • Enables taking screenshots when the "ReservedBit" on the Pro Controller is set, regardless of the configured button combo. For example this allows to take screenshots with the screenshot button of Switch Pro Controller (when using a compatible Bloopair version):

Building

For building you need:

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 screenshot-plugin-builder

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

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

Format the code via docker

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