-
Notifications
You must be signed in to change notification settings - Fork 24
Home
libwiigui is a GUI library for the Wii, created to help structure the design of a complicated GUI interface, and to enable an author to create a sophisticated, feature-rich GUI. It was originally conceived and written after I started to design a GUI for Snes9x GX, and found libwiisprite and GRRLIB inadequate for the purpose. It uses GX for drawing, and makes use of PNGU for displaying images and FreeTypeGX for text. It was designed to be flexible and is easy to modify - don't be afraid to change the way it works or expand it to suit your GUI's purposes! If you do, and you think your changes might benefit others, please share them so they might be added to the project!
Start from the supplied template example. For more advanced uses, and more extensions, see the source code for Snes9x GX, FCE Ultra GX, and Visual Boy Advance GX. A copy of the documentation is included, or you can read it online.
http://dborth.github.io/libwiigui/
- Use the devkitPro installer to get started. Install devkitPPC (Wii/GameCube)
- Update using Pacman
pacman -Syu - Install portlibs (dependencies) using devkitPro Pacman
pacman -S ppc-bzip2 ppc-freetype ppc-libjpeg-turbo ppc-libogg ppc-libpng ppc-libvorbisidec ppc-mpg123 ppc-mxml ppc-pkg-config ppc-zlib - Replace libfreetype with an older version. The most current version isn't stable.
- Files: https://github.com/dborth/libwiigui/tree/master/buildtools
- Copy to (example): C:\devkitPro\portlibs\ppc\lib
- Use the git command line or your favorite IDE to checkout the code. Eclipse is a good free option - https://eclipseide.org/
- Run 'make' from the command line from within the project directory to build
- A dol will be written to the executables directory
This library was wholly designed and written by Tantric. Thanks to the authors of PNGU and FreeTypeGX, of which this library makes use. Thanks also to the authors of GRRLIB and libwiisprite for laying the foundations and to Peter de Man for the background music used in the included demo/template.