108 Commits
Author SHA1 Message Date
kichikuou 981c302dfc Migrate Android from SDL2 to SDL3
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.
2026-09-16 09:24:40 +09:00
kichikuou ca0f09a19e Version 1.8.0 2026-08-29 10:22:15 +09:00
kichikuou 6f5933adaf Replace SDL_mixer with dr_mp3/stb_vorbis + SDL audio
- MP3/OGG files are now decoded with dr_mp3 and stb_vorbis via the new
  MakoMusic backend.
- Merge src/win/mako.cpp into src/generic/mako.cpp: Windows now uses the
  same SDL audio path.
- A single SDL2 audio device mixes FM, BGM and PCM in its callback with
  SDL_MixAudioFormat.
- PCM plays through SDL_AudioStream.
- dr_mp3 and stb_vorbis are vendored under deps/ and included from
  mako_music.cpp. Warnings for that translation unit are silenced.
2026-08-03 17:09:59 +09:00
kichikuou 76ff13d873 Android: Isolate game execution process
Run GameActivity in a private :game process and terminate it after SDL
shutdown completes, ensuring that each game starts with fresh native
state.

Refresh the launcher game list from disk when it resumes instead of
using the process-local Launcher singleton from GameActivity.
2026-07-19 11:03:52 +09:00
kichikuou 88d6d0a743 Android: Keep launcher install state in Launcher
Move ZIP install jobs from GlobalScope to a Launcher-owned coroutine
scope and store progress, success, and failure in InstallState. This
lets a recreated LauncherActivity render the current install state and
consume completed results once, even when observer callbacks happened
while the activity was absent.
2026-07-19 10:58:22 +09:00
kichikuou df6f1bac73 Android: Prevent ZIP path traversal in launcher 2026-07-19 10:47:02 +09:00
kichikuou f04319b8b5 Version 1.7.2 2026-02-10 10:17:19 +09:00
kichikuou 852d82ef2c Version 1.7.1 2026-01-16 07:45:34 +09:00
kichikuou 703d90beb8 android/README.md: Add Obtainium installation instructions 2026-01-16 07:45:34 +09:00
kichikuou 556ed70b37 Android: Remove playlist migration logic
It malfunctioned when the game ZIP contained playlist.txt.

Fixes #36.
2026-01-16 07:45:30 +09:00
kichikuou 300099be5e Version 1.7.0 2025-11-27 09:16:24 +09:00
kichikuou 75e99d3fbc Version 1.6.2 2025-11-04 10:58:17 +09:00
kichikuou a819fafd56 Android/Windows: Update SDL to 2.32.10 2025-11-04 10:44:34 +09:00
kichikuou fca8cb15a8 Version 1.6.1 2025-06-06 09:43:21 +09:00
kichikuou 734a77c1f0 Version 1.6.0 2025-04-26 08:17:51 +09:00
kichikuou 6e84b73064 Update android/README.md 2025-04-10 10:40:21 +09:00
kichikuou aedfa185c7 Android: Move "Install from ZIP" to options menu and add help message
For consistency with xsystem4-android.
2025-04-10 10:11:33 +09:00
kichikuou f6bc689fcb Android: Support audio file names prefixed with track numbers 2025-04-10 09:27:44 +09:00
kichikuou a7e1c5c32e Version 1.5.1 2025-03-23 14:31:30 +09:00
kichikuou 29770d7091 Android: Upgrade AGP to 8.7.3 and bump minSdkVersion to 21
So that it builds with the latest Android Studio.
2025-03-08 09:18:25 +09:00
kichikuou 258f63e98c Android/Windows: Update SDL to 2.32.2 2025-03-06 10:50:18 +09:00
kichikuou 2ff7156b4e Android: Remove 3-finger-touch menu 2025-03-06 08:55:01 +09:00
kichikuou 206ba0c961 Version 1.5.0 2025-01-20 11:03:38 +09:00
kichikuou ccd06e4b84 Version 1.4.0 2025-01-04 16:26:50 +09:00
kichikuou 320f790fb3 Version 1.3.0 2024-12-28 16:27:21 +09:00
kichikuou 78da768d92 Version 1.2.1 2024-12-21 16:26:45 +09:00
kichikuou a7c44e2953 Version 1.2.0 2024-12-06 15:28:43 +09:00
kichikuou 9cc9f117ce Version 1.1.0 2024-08-17 16:46:15 +09:00
kichikuou e526cac55f Android/Windows: Update SDL libraries
- SDL2 2.30.6
- SDL2_ttf 2.22.0
- SDL2_mixer 2.8.0
2024-08-17 16:46:15 +09:00
kichikuou 3a763412c9 Remove MIDI support on Android
This is in preparation for supporting real-time MIDI playback on other
platforms.
2024-08-15 16:51:32 +09:00
kichikuou c25227426e Version 1.0.2 2024-04-12 16:57:24 +09:00
kichikuou 0b008e32b3 Version 1.0.1 2024-04-07 21:51:09 +09:00
kichikuou cde49a4e5a Android/Windows: Upgrade SDL to 2.30.2 2024-04-07 21:46:36 +09:00
kichikuou cffdfdcd94 Require CMake 3.14 or later
To use FetchContent_MakeAvailable.
2024-01-13 15:40:51 +09:00
kichikuou 6996482362 Move CMakeLists.txt to project root 2024-01-11 13:28:18 +09:00
kichikuou 2e4d452aa8 Android/Windows: Upgrade SDL to 2.28.5 2023-11-17 13:36:38 +09:00
kichikuou 093f4cf507 Improve documentations
With the help of ChatGPT.
2023-08-29 12:03:34 +09:00
kichikuou 6e03140a5c Android: Sign apk only when keystore file exists 2023-08-28 11:04:01 +09:00
kichikuou fc80af62e0 Android: Update command line build instructions 2023-08-28 10:26:00 +09:00
kichikuou f1e4c2501f Android/Windows: Upgrade SDL to 2.28.2 2023-08-06 21:33:43 +09:00
kichikuou 6f0f410d98 Android: Use Kotlin coroutine for background installation 2023-04-15 15:44:10 +09:00
kichikuou c719bb1ec6 Android: Stop using deprecated ProgressDialog 2023-04-15 11:42:57 +09:00
kichikuou f1455c2c8a Bump version to 1.0.0 2023-04-09 18:38:26 +09:00
kichikuou 431be235d6 Android: Add support for PCM sound
Now android/mako.cpp depends on SDL_mixer, and CD-DA is also played with
SDL_mixer.
2023-03-18 13:49:36 +09:00
kichikuou be18e06e09 Fix MAKO::check_music()
This fixes infinite loop in the opening demo of Only You, waiting for
the end of the music.
2023-03-17 15:53:52 +09:00
kichikuou 425ddf3ea8 Bump version to 0.9.0 2023-03-03 11:14:09 +09:00
kichikuou 6e4a0bacaf Android: Add license notice for ymfm 2023-01-14 11:29:35 +09:00
kichikuou a7983cc24f Android: Upgrade AGP to 7.3.1 2023-01-08 13:51:02 +09:00
kichikuou d3ae3e21d1 Android: Include git revision in version string 2023-01-08 12:59:48 +09:00
kichikuou 52a0e5e139 Android CI: Generate signed apk 2023-01-08 12:03:04 +09:00