mirror of
https://github.com/kichikuou/system3-sdl2.git
synced 2026-09-22 22:58:12 +03:00
Make SDL3 the default and only supported SDL version for Android. Download the official SDL3 Android AAR during Gradle configuration and expose it to the native CMake build through Prefab. SDL_ttf 3 is built from source with HarfBuzz and PlutoSVG disabled.
System3 for Android
Minimum supported Android version: 5.0
Download
You can download prebuilt APKs here.
Installing with Obtainium
Alternatively, you can install system3-sdl2 using
Obtainium. Obtainium will detect new
releases and allow you to update the app directly.
Usage
Basic Usage
- Create a ZIP file containing all the game files and BGM files (see below for details), and transfer it to your device.
- Open the app. Tap the option menu (three dots in the top right corner) and select "Install from ZIP".
- Select the ZIP file you created in step 1.
- The game will start. To simulate a right-click, tap the black bars on either the left or right, or top or bottom of the screen.
Preparing a ZIP
- Include all
.DATfiles. - Music files (
.mp3,.ogg, or.wav) whose filenames have a number either at the beginning or just before the extension are recognized as BGM files. For example:Track2.mp315.ogg02 - Title.mp3rance41_03.wav(Note: The filename shouldn't berance4103.wav, as it would be treated as the 4103rd track.)
Note: This ZIP format is also compatible with Kichikuou on Web.
Miscellaneous
- You can export or import save files via the game list's option menu.
- To uninstall a game, long-tap its title in the game list.
Known Issues
- Installing from a ZIP file containing multiple games (e.g., the DPS series) may not work correctly.
Building from Source
Using Android Studio
Clone this repository along with its submodules:
git clone --recurse-submodules https://github.com/kichikuou/system3-sdl2.git
Next, open the system3-sdl2/android directory as an Android Studio project.
Command Line Build
Set environment variables and run the gradlew script in this directory.
Example build instructions (for Debian bookworm):
# Install necessary packages
sudo apt install git wget unzip default-jdk-headless ninja-build
# Install Android SDK / NDK
export ANDROID_SDK_ROOT=$HOME/android-sdk
mkdir -p $ANDROID_SDK_ROOT/cmdline-tools
wget https://dl.google.com/android/repository/commandlinetools-linux-11076708_latest.zip
unzip commandlinetools-linux-11076708_latest.zip -d $ANDROID_SDK_ROOT/cmdline-tools
mv $ANDROID_SDK_ROOT/cmdline-tools/cmdline-tools $ANDROID_SDK_ROOT/cmdline-tools/tools
yes | $ANDROID_SDK_ROOT/cmdline-tools/tools/bin/sdkmanager --licenses
$ANDROID_SDK_ROOT/cmdline-tools/tools/bin/sdkmanager ndk-bundle 'cmake;3.22.1'
export ANDROID_NDK_HOME=$ANDROID_SDK_ROOT/ndk-bundle
# Clone and build system3-sdl2
git clone --recurse-submodules https://github.com/kichikuou/system3-sdl2.git
cd system3-sdl2/android
./gradlew build # or ./gradlew installDebug if you have a connected device
