Ported by: scanff & Arikado
Updated by: DeltaResero
Type: Platform game
Version: 0.1.4-wii-d.07
Software license: GPLv3+
This is a continuation fork of the original Wii port by scanff and Arikado, available at Google Code archive, of SuperTux Classic (Milestone 1). Originally built with SDL 1.2, this port has been modernized to use SDL2 for Wii. It is designed for use through the Homebrew Channel with OpenGL (via OpenGX) support.
The original SuperTux repository has been migrated from Google Code to GitHub. The source code for Classic SuperTux Milestone 1 can now be found in the milestone 1 branch of the SuperTux GitHub repository. For more information about SuperTux, please visit the official website at supertux.org.
SuperTux is a jump'n'run game with strong inspiration from the Super Mario Bros. games for various Nintendo platforms.
Run and jump through multiple worlds, fighting off enemies by jumping on them, bumping them from below, or tossing objects at them, while grabbing power-ups and other collectibles along the way.
To set up the devkitPro devkitPPC PowerPC build system, follow the instructions on the official devkitPro wiki:
After setting up devkitPPC including environment variables, use (dkp-)pacman to install the following dependencies:
Build Tools (Required):
devkitPPC (C++23 compatible compiler)
wii-cmake
wii-pkg-config
Core Libraries (Required):
libogc
libfat-ogc
wii-sdl2
wii-sdl2_image
wii-sdl2_mixer
Graphics & Compression:
ppc-libpng
ppc-libjpeg-turbo
ppc-freetype
ppc-zlib
Audio Codecs (Required for Audio):
wii-libmodplug
ppc-libvorbis
ppc-libogg
ppc-libmad
OpenGL/OpenGX Backend (Optional but Recommended):
wii-freeglut
wii-glu
wii-opengx
You can configure the build by passing flags to cmake. For example, to disable OpenGL
support, append the following flag to your cmake command: -DENABLE_OPENGL=OFF
| Option | Description | Default |
|---|---|---|
CMAKE_BUILD_TYPE |
Build type (Debug or Release) | Release |
ENABLE_OPENGL |
Build with OpenGL support | ON |
WARNINGS |
Set Extra compiler warnings (-Wall -Wextra) | ON |
-
Create a build directory:
mkdir build cd build -
Configure using CMake and the included Wii Toolchain file:
cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchains/Wii.cmake ..
-
Build the game:
make -j$(nproc)This will generate
boot.dolin the build directory.
-
Create a
supertuxfolder underapps/on your SD or USB device. -
Copy in the built
boot.dol, thedatafolder from the source tree, and the icon and metadata frompackaging/wii/:SD:/apps/supertux/boot.dol SD:/apps/supertux/data/ SD:/apps/supertux/icon.png SD:/apps/supertux/meta.xml -
Launch SuperTux from the Homebrew Channel. The game will create a config file and save folder on the first run.
-
Install Dependencies: You will need the following build tools. For the libraries listed below, ensure you install the development headers (often ending in
-devor-devel).Build Tools:
C++23 Compiler (GCC 11.1+ or Clang 13+) CMake 3.20+SDL 2 Framework:
SDL2 (or sdl2-compat) SDL2_image SDL2_mixerCore Libraries:
libpng libjpeg zlibGraphics (Optional):
OpenGL -
Create a build directory:
mkdir build_linux cd build_linux -
Configure for desktop:
cmake ..
-
Build:
make -j$(nproc) -
Run it straight from the build directory. It finds the
datafolder in the source tree:./supertux-wii
To make a portable copy, put the
supertux-wiibinary and thedatafolder side by side in any folder. Saves and settings go to~/.local/share/supertux-wiieither way.
Important Note on Installation:
While sudo make install is supported by CMake, it is not recommended for this project.
Installing files directly to your system directories this way without using a package manager
makes them very difficult to uninstall cleanly later. We strongly recommend running from the
build directory or a portable copy instead.
Note on Other Operating Systems:
Support for other platforms (Windows, macOS, BSD) is currently outside the scope of this
repository, as the primary focus is the Wii hardware. Given the standard CMake infrastructure,
adapting the build system for other platforms should be fairly trivial.
This program is distributed under the terms of the GNU General Public License version 3 (or later). You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Please see the LICENSE file for the full text.
This is an unofficial port of SuperTux that runs on the Wii via the Homebrew Channel. It is not affiliated with, endorsed by, nor sponsored by the creators of the Wii console nor the Homebrew Channel. All trademarks and copyrights are the property of their respective owners.
This project is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
