Go to file
2018-03-11 17:12:46 +01:00
ide_templates/codeblocks [Makefile] Split up the plugin makefiles, now common changes can be done in makefile.mk 2018-03-10 13:26:43 +01:00
loader Formatting, added bash script for installing/updating the dependencies (based on the travis script) 2018-03-11 17:12:46 +01:00
plugins [Makefile] Split up the plugin makefiles, now common changes can be done in makefile.mk 2018-03-10 13:26:43 +01:00
src Formatting, added bash script for installing/updating the dependencies (based on the travis script) 2018-03-11 17:12:46 +01:00
tools Added "ON_FUNCTIONS_PATCHED" hook 2018-03-07 18:53:43 +01:00
wups_include Formatting, added bash script for installing/updating the dependencies (based on the travis script) 2018-03-11 17:12:46 +01:00
.gitignore Formatting, added bash script for installing/updating the dependencies (based on the travis script) 2018-03-11 17:12:46 +01:00
.gitmodules [Loader] Added mocha and device mounting. 2018-02-14 19:46:14 +01:00
.travis.yml [Travis] Refactored the travis file 2018-03-04 19:02:34 +01:00
gitrev.sh [General] Moved gitrev.sh 2018-02-04 11:17:01 +01:00
installupdateportlibs.sh Formatting, added bash script for installing/updating the dependencies (based on the travis script) 2018-03-11 17:12:46 +01:00
LICENSE Create LICENSE 2018-02-03 09:27:57 +01:00
Makefile [Makefile] Split up the plugin makefiles, now common changes can be done in makefile.mk 2018-03-10 13:26:43 +01:00
PLANS.MD Updated the README, moved plans/ideas into an own file 2018-02-16 22:20:04 +01:00
plugin_makefile.mk [Makefile] Split up the plugin makefiles, now common changes can be done in makefile.mk 2018-03-10 13:26:43 +01:00
README.MD [Travis] fixed compiling 2018-03-04 16:31:26 +01:00
wups_elf.ld [WUPS] Added Macro for the Initialization hook 2018-02-10 17:00:17 +01:00
wups.ld [General] Removed the DISCARD section in the .ld file. This fixes C++ support.. 2018-02-12 20:40:54 +01:00

Nightly builds | Issue Tracker | Discussion.

Plugin system for the Wii U. (WIP) Build Status

WARNING: THIS PROJECT HAS JUST STARTED AND IS FOR DEVS AND PEOPLE WHO WANT TO PLAY AROUND WITH NEW THINGS. IT MAY BE BUGGY, FEATURE COULD BREAK AT ANY TIME, INTERFACES CAN CHANGE, AND MANY BUGS CAN OCCUR. THIS APPLICATION COMES WITH NO WARRANTY-

What is the Wii U Plugin System?

The Wii U Plugin allows you to load multiple plugins on your Wii U which enhance your experience. For example you can mod your games, use USB controller, swap your gamepad and TV screen and much more.

Features

The project is still in it's very early days, but it already has basic functions to play with.

  • The plugins will be loaded, even when you swap the running game.
  • Support for up to 32 plugins at the same time.
  • Each plugin can override up to 100 different existing system functions.
  • Multiple plugins can override the same system functions.
  • Plugins can register for certain hook (for example whenever an application was started)
  • Plugins inherit the SD/USB access from the loader. All plugins have global SD and USB (FAT32 only) access.

How to build

The building process is split into multiple parts.

WUPS library

First we have the "Wii U Plugin System" (WUPS) library. To compile this, you need DEVKITPRO and DEVKITPPC installed and set in your environment. Then call the following command in the root directory.

make
make install

The "make" builds the library, the "make install" copies it into your DEVKITPRO folder.

Plugin loader

The plugin loader is the software run via the Homebrew Launcher, that uses the plugins. It contains a copy mocha, so for building you need a copy of DEVKITARM installed and set in your environment.

For building the loader you need:

Install the according to their readmes. Don't forget to install their dependencies.

Dependencies

All needed dependencies are in the "loader/libs" folder of this repository. Extract the "portlibs.zip" archive into your devkitPro directory. The archive includes:

  • zlib

Compiling

Then call the following command in the "loader" directory.

make

This should create an "wiiupluginloader.elf" which can be loaded with the Homebrew Launcher.

Plugins

Last but not least you need to build the plugins that should be loaded. Plugins depend on the "WUPS library" installed in build step one, other dependencies are optional. In the folder "plugins" you can find serveral example plugins. In their READMEs are information about needed dependencies.

You can build them all with the following command in the "plugins" folder (when all dependencies are installed).

make

You can also check out the travis script for needed dependencies of the library, loader and example plugins.

Logging

For logging (for example of the loader) you need to start the UdpDebugReader on a computer in the same network. This has been created by @dimok789 and can be found in the tools folder.

Load plugin via network

While the loader is running, it's possible to load a single plugin via wiiload.
When using this feature, only this plugin will be loaded. The plugin will copied to the SDCard, this mean a SDCard is required. A windows executable can be found in tools/wiiload.exe
More information about wiiload and alternatives can be found here: http://wiibrew.org/wiki/Wiiload

Future

Checkout the PLANS.MD for goals, issues and future plans.

Credits

Some files are based on brainslug by Chadderz:
https://github.com/Chadderz121/brainslug-wii
Much stuff also wouldn't be possible without dimok789. He made many great tools and homebrew this stuff in based on (Makefiles, Mocha, homebrew channel, udp logger, dynamic_libs etc.)
Also thanks to everyone who made actual exploits.
Thanks to dhewg for wiiload:
http://wiibrew.org/wiki/Wiiload