A simple WUPS plugin allowing you to set separate default networks for Wii U and vWii.
|
|
This plugin may be useful to you if:
- you want to set up different DNS/proxy settings for the Wii U and vWii, by creating two connections to the same access point/wired network, changing the settings appropriately, and then using this plugin to set one for Wii U and the other for vWii;
- you've got a USB ethernet adapter that doesn't play nice with the vWii, so you wanna set the Wii U to use it and the vWii to use a wireless network.
([ENVIRONMENT] is a placeholder for the actual environment name.)
- Copy the file
SeparateDefaultNetworks.wpsintosd:/wiiu/environments/[ENVIRONMENT]/plugins. - Requires the WiiUPluginLoaderBackend in
sd:/wiiu/environments/[ENVIRONMENT]/modules.
Start the environment (e.g Aroma) and the backend should load the plugin.
For building you need:
Install them (in this order) according to their README's. Don't forget the dependencies of the libs itself.
Then you should be able to compile via make (with no logging) or make DEBUG=1 (with 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.
If the LoggingModule is not present, it'll fallback to UDP (Port 4405) and CafeOS logging.
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 setdefaultnetwork-builder
# make
docker run -it --rm -v ${PWD}:/project setdefaultnetwork-builder make DEBUG=1
# make clean
docker run -it --rm -v ${PWD}:/project setdefaultnetwork-builder make clean
docker run --rm -v ${PWD}:/src ghcr.io/wiiu-env/clang-format:13.0.0-2 -r ./src -i

