kichikuou
d5fa8f710d
Migrate Android to SDL3
...
Use SDL3's official Android AAR through Prefab, update the native and
Java integration, and remove the bundled SDL2 Android sources.
2026-09-15 20:37:21 +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
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
a819fafd56
Android/Windows: Update SDL to 2.32.10
2025-11-04 10:44:34 +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
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
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
cde49a4e5a
Android/Windows: Upgrade SDL to 2.30.2
2024-04-07 21:46:36 +09:00
kichikuou
2e4d452aa8
Android/Windows: Upgrade SDL to 2.28.5
2023-11-17 13:36:38 +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
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
6e4a0bacaf
Android: Add license notice for ymfm
2023-01-14 11:29:35 +09:00
kichikuou
caebf8fc52
Android: Add activities to display open source notices
2023-01-08 11:48:22 +09:00
kichikuou
05be66eac3
Android: Upgrade SDL and SDL_ttf
...
- SDL 2.26.1
- SDL_ttf 2.20.1
2022-12-29 15:31:54 +09:00
kichikuou
75044b13bf
Android: Upgrade Kotlin to 1.6.20
2022-04-09 08:37:49 +09:00
kichikuou
82ce12e82c
Android: Fix off-by-one error in playlist.txt
...
Before this, line k of the playlist file corresponded to track k-1 on
Android. After this, line k corresponds to track k, which is consistent
with other platforms.
Playlists generated in previous versions of system3-sdl2 will be
automatically converted.
2022-03-11 17:05:57 +09:00
kichikuou
1fa9112023
Android: Upgrade SDL and SDL_ttf
...
- SDL 2.0.20
- SDL_ttf 2.0.18
2022-01-22 09:34:51 +09:00
kichikuou
a1fcc33053
Android: Stop using deprecated ListActivity
2022-01-03 17:36:08 +09:00
kichikuou
260ad57ea2
Android: Get rid of Kotlin warnings
2021-12-22 21:47:05 +09:00
kichikuou
70277c7c51
Android: Upgrade SDL to 2.0.18
2021-12-22 13:40:52 +09:00
kichikuou
f8b0cd382e
Android: Update SDL2 to 2.0.16
2021-09-19 13:50:46 +09:00
kichikuou
a12fbcf906
Android: Update SDL2 to 2.0.14
2021-01-01 12:37:22 +09:00
kichikuou
a4133c219d
Android: Save sound preference
2020-11-29 19:30:17 +09:00
kichikuou
c575fb303f
Android: Add system menu items for switching FM / MIDI
2020-11-29 18:27:53 +09:00
kichikuou
602c309c47
Android: Add system menu
...
The system menu opens with 3-finger touch. Currently, it can only exit
the game.
2020-11-29 18:27:50 +09:00
kichikuou
4c5ee008cb
Android: Fix StringIndexOutOfBoundsException in text input dialog
2020-10-18 15:15:16 +09:00
kichikuou
47ac7a81aa
Android: Implement string length limit for input dialog
2020-09-06 12:55:14 +09:00
kichikuou
b5ef0791c5
Android: Implement text input dialog
2020-09-05 10:49:09 +09:00
kichikuou
81d66c4075
Enable text anti-aliasing by default
...
To disable it, use -noantialias command-line option.
2020-06-04 10:24:39 +09:00
kichikuou
b475c465fd
Android: Update SDL2 to 2.0.12
2020-03-13 16:28:31 +09:00
kichikuou
c2ff010102
Android: Skip zip entries with UTFDataFormatException
...
In most cases it is 配布フリー宣言.txt and can be safely ignored.
2020-02-24 11:54:17 +09:00
kichikuou
d6aaf31b1a
Change the semantics of -savedir option
...
Now trailing '@' is replaced with the game id.
2020-02-23 12:02:29 +09:00
kichikuou
4ede5b1b4c
Android: Play MIDI via temporary file
...
MediaPlayer in old versions of Android does not accept data: URL.
2020-02-16 10:28:29 +09:00
kichikuou
4aa5cc5bfd
Android: MIDI support
2020-02-15 23:01:23 +09:00
kichikuou
0d6500dc76
s/system3/System3/
2020-02-10 22:27:00 +09:00
kichikuou
3e4f0d6c48
Android: Sort game list by date of title.txt
...
The title played last comes first.
2020-02-10 18:41:23 +09:00
kichikuou
936e524670
Android: Fix import / export of save files
2020-02-10 17:45:22 +09:00
kichikuou
faeb487b02
Android: Change icon color
2020-02-09 21:47:07 +09:00
kichikuou
eea7cc3c9b
Android: Store saved files to save/ directory
...
So that import / export will work.
2020-02-09 21:47:07 +09:00
kichikuou
91993ef4a3
Android: CD-DA emulation support
2020-02-09 21:47:07 +09:00
kichikuou
f4ff96ac62
Android: Fix launcher to work with system3 files
...
Unlike xsystem35, directory structure in ZIP is not preserved.
2020-02-09 21:47:07 +09:00