Android Studio (Gradle) project that builds an Android app for running Subarashiki Hibi (English release) with the modified OpenBGI SDL2 engine.
- Engine (OpenBGI with an SDL back end and the Android port): OpenBgi-Android
No game data is included: no scripts, archives, audio or artwork. Copy the files from your own copy of the game to your phone.
Requirements: Android Studio with the NDK and CMake 3.22.1, a clone of the engine repo, the SDL2 2.32.8 source archive (the 2.x series, not SDL3) and the FreeType 2.15.0 source archive.
- Copy
local.properties.exampletolocal.properties(it is gitignored). - Fill in:
sdk.dir: your Android SDKsdl2.dir: the extracted SDL2 2.32.8 folderfreetype.dir: the extracted FreeType 2.15.0 folderengine.dir: your engine clone, the folder that containsandroid/CMakeLists.txt
- Open the project in Android Studio, sync, build.
- Install:
adb install -r app/build/outputs/apk/debug/app-debug.apk
- Put the game files in a folder on the phone.
- Start the app and grant "All files access".
- Pick the folder with the game's
.arcfiles. - If
games.jsonis missing, the app offers to create it. To make it by hand, use this content:
[ { "match": "SubarashikihibiENG", "profile": "1.653", "product": "SubarashikihibiENG" } ]This project is licensed under the GNU General Public License v2.0 (see LICENSE). The corresponding source of the app is this repository plus the engine repository linked above.
Third-party components built into the app:
- SDL2: zlib license
- FreeType: FreeType License (FTL) or GPLv2
- pl_mpeg, stb_vorbis: see the engine repository's
THIRD_PARTY.md