Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SeparateDefaultNetworks

A simple WUPS plugin allowing you to set separate default networks for Wii U and vWii.

Wii U system settings showing one network connection set as default for Wii U, and another for Wii Plugin settings interface.

Why would I wanna do that?

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.

Installation

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

  1. Copy the file SeparateDefaultNetworks.wps into sd:/wiiu/environments/[ENVIRONMENT]/plugins.
  2. Requires the WiiUPluginLoaderBackend in sd:/wiiu/environments/[ENVIRONMENT]/modules.

Start the environment (e.g Aroma) and the backend should load the plugin.

Building

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).

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.

If the LoggingModule is not present, it'll fallback to UDP (Port 4405) and CafeOS logging.

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 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

Format the code via docker

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

About

A simple WUPS plugin allowing you to set separate default networks for Wii U and vWii.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages