Skip to content
/ SDL Public
forked from SDL-mirror/SDL

SDL2 for the Nintendo Wii U (build with "cmake [SDL source path] -DCMAKE_TOOLCHAIN_FILE=$WUT_ROOT/share/wut.toolchain.cmake -DCMAKE_INSTALL_PREFIX=$DEVKITPRO/portlibs/wiiu")

License

Notifications You must be signed in to change notification settings

yawut/SDL

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SDL2 for Wii U

About

This project is a port of the SDL software development library to the Nintendo Wii U video game console, built for the wut toolchain. Currently it implements support for audio, joystick (gamepad), touchscreen (gamepad), video (gx2), hardware accelerated rendering (gx2), timers and threading.

Installing

Prebuilt versions of sdl2, along with other sdl2 libraries (gfx, image, mixer, ttf), are available on the wiiu-fling pacman repository. Please reffer to these instructions to set up wiiu-fling.

Building on Linux

In order to build sdl2 for wiiu, you'll need to install some prerequisites:

  • devkitPPC (make sure to export $DEVKITPRO)
  • wut (make sure to export $WUT_ROOT)
  • cmake

Clone and enter the wiiu sdl repo:

$ git clone https://github.com/yawut/SDL.git
$ cd SDL

Prepare for the build:

$ mkdir build && cd build

Build:

$ cmake ../ -DCMAKE_TOOLCHAIN_FILE=$DEVKITPRO/wut/share/wut.toolchain.cmake -DCMAKE_INSTALL_PREFIX=$DEVKITPRO/portlibs/wiiu
$ make

Install (might need to run as sudo depending on $DEVKITPRO/portlibs/wiiupermissions):

$ make install

Credits:

  • rw-r-r-0644, quarktheawesome, exjam: wiiu sdl2 port and libraries
  • wiiu homebrew contributors
  • sdl mantainters
  • inspired by libnx/libtransistor sdl2 ports

About

SDL2 for the Nintendo Wii U (build with "cmake [SDL source path] -DCMAKE_TOOLCHAIN_FILE=$WUT_ROOT/share/wut.toolchain.cmake -DCMAKE_INSTALL_PREFIX=$DEVKITPRO/portlibs/wiiu")

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 86.9%
  • Objective-C 4.0%
  • C++ 2.8%
  • Shell 2.6%
  • Java 1.4%
  • CMake 1.0%
  • Other 1.3%