1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84
|
_
__| |_ _ _ ___ _ __ ___ _ _ ___
/ _| ' \| '_/ _ \_| ' \/ _ \ ' \/ _ \
\__|_||_|_| \___(_)_|_|_\___/_||_\___/
https://thp.io/2013/chromono/
This is the open source release of my game "chro.mono",
originally released in Summer 2013. If you like the game,
check out "chro.mono 2" on Google Play and the App Store.
The code is licensed under the terms of the GNU General
Public License, version 2 or later, see the file COPYING.
Version 1.1.3 (see ChangeLog) now contains a port to the
Wii using devkitPro, thanks to Alberto Mardegan. Also
thanks to Chris Hofstaedtler for finding GCC 15-related
issues and sponsoring the package in Debian.
-- thp, January 2026
DEPENDENCIES
============
- C++17 compiler (GCC or clang)
- CMake 3.27
- pkg-config 0.29.1
- Python 3.3
- SDL 2.0.10
- OpenGL 3.2 or OpenGL ES 2.0 (-DUSE_OPENGL_ES in CMake)
- zlib 1.2.11
- libvorbisfile 1.3.6
On Debian-based systems, use:
sudo apt install -y \
cmake pkg-config python3 build-essential \
libsdl2-dev libgl-dev zlib1g-dev libvorbis-dev
On Arch-based systems, use:
sudo pacman -S \
cmake python3 base-devel \
sdl2 libglvnd zlib libvorbis
On Fedora-based systems, use:
sudo dnf install \
cmake pkgconf-pkg-config python3 make gcc-c++ \
SDL2-devel libglvnd-devel zlib-devel libvorbis-devel
On macOS, use:
sudo brew install \
cmake python2 \
sdl2 zlib libvorbis
BUILDING / INSTALLING
=====================
cmake -B build .
make -C build
sudo make -C build install
WII
===
To cross-compile for the Wii (using devkitPro's PowerPC Docker image):
docker run -v $PWD:/home -w /home/ -it --rm devkitpro/devkitppc \
/opt/devkitpro/portlibs/wii/bin/powerpc-eabi-cmake -B build-wii \
-DBUILD_FOR_WII=ON \
.
docker run -v $PWD:/home -w /home/ -it --rm devkitpro/devkitppc \
make -C build-wii
docker run -v $PWD:/home -w /home/ -it --rm devkitpro/devkitppc \
elf2dol build-wii/chromono.elf wii/boot.dol
sh wii/make-package.sh
|