Commit Graph
130 Commits
Author SHA1 Message Date
kichikuou 34e33d6394 Android: Bump version to 0.2.0 android-0.2.0 2020-02-16 16:10:53 +09:00
kichikuou 387c5febf2 Remove tchar.h shim 2020-02-16 15:57:05 +09:00
kichikuou 1f5449687f Clean up MAKO code 2020-02-16 15:57:05 +09:00
kichikuou a518eccc77 Update build instructions
Now SDL2_mixer is required.
2020-02-16 15:56:57 +09:00
kichikuou 6bd6bca7dc Implement PCM sound with SDL_mixer 2020-02-16 13:36:01 +09:00
kichikuou 52313dd682 Emscripten: MIDI support 2020-02-16 11:09:32 +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 487bd49745 CD-DA BGM playback support with SDL_mixer
This adds -playlist command line option to specify a "playlist" file
which lists music files to be played instead of CD audio tracks.
The format of playlist file is the same as xsystem35's.
2020-02-15 17:27:37 +09:00
kichikuou 51b65c84af MIDI playback with SDL_mixer
Instead of controlling MIDI device in real time, generate a data stream
in SMF format and feed it to SDL_mixer.
2020-02-15 17:27:34 +09:00
kichikuou 05a3c826f9 Refactor CMakeLists.txt 2020-02-11 11:09:26 +09:00
kichikuou 0d6500dc76 s/system3/System3/ android-0.1.0 2020-02-10 22:27:00 +09:00
kichikuou f42e0cd5ef Android: Update README 2020-02-10 21:55:03 +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 2d0619a19a Android: Store saved files under game-id/ subdirectory
This is to prevent overwriting saved files of other games, since System3
uses common save file names regardless of the game.
2020-02-10 13:09:07 +09:00
kichikuou 8615df6e12 Add -game option
This overrides the title detection by CRC. For example,

  system3 -game rance41

forces system3 to work in Rance 4.1 mode. See nact_crc32.cpp for
possible flag values. This is useful when running patched games.
2020-02-10 12:14:18 +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 55e6dde4f8 Android: Fix screen issues
- Create window as fullscreen
- Redraw screen after task resume
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
kichikuou ccb5bda7f5 Android: Copy the new launcher code from xsystem35-sdl2 70c6480 2020-02-09 21:47:04 +09:00
kichikuou 274027f703 Android: Add launcher icon 2020-01-05 22:31:17 +09:00
kichikuou 8577374fc2 Android: 32-bit ABI support 2020-01-05 12:27:43 +09:00
kichikuou c04301c117 Android: Fix multi-touch detection 2020-01-04 11:31:40 +09:00
kichikuou b6fd5c2962 Android: Add android/README.md 2020-01-02 13:13:14 +09:00
kichikuou 358ea7b1a9 Android: Add simple launcher
This adds a minimal launcher activity for the android app, which does
the followings:

- Opens a file chooser to let user select a zip file
- Extracts the zip into the app's internal storage
- Launches the SDL activity
2019-12-31 21:17:39 +09:00
kichikuou e3c812da3a Android: Load fonts from assets
Now fonts/ directory is bundled in APK as assets. TTF_OpenFont() can
open files in Android assets, but cannot handle the "./" path prefix.
2019-12-31 21:17:36 +09:00
kichikuou d38c946fd7 Android: Build rules
This sets up Gradle / CMake rules for Android build.
2019-12-31 11:30:09 +09:00
kichikuou 5d38f0c4e9 Android: Import android project files from SDL
This just copies android-project/ directory of https://hg.libsdl.org/SDL/
(rev 13383) to android/.
2019-12-31 11:29:43 +09:00
kichikuou 6e73c48e68 Report errors using SDL message box 2019-12-27 19:41:55 +09:00
kichikuou 874f6bae5b Bundle MTLc3m.ttf 2019-12-27 14:57:54 +09:00
kichikuou 38313505dc Fix for emscripten 1.39.1
Now IDBFS needs to be linked explicitly.
2019-11-18 14:40:40 +09:00
kichikuou 95b57f1ce0 Fix more compiler warnings 2019-09-16 11:19:18 +09:00
kichikuou 75d328f015 Fix compiler warnings 2019-09-16 11:00:31 +09:00
kichikuou 3c0fe94460 Update README 2019-09-16 10:30:35 +09:00
kichikuou d7fbfaedc7 CMake: Add workaround for MSYS link error 2019-09-16 10:02:05 +09:00
kichikuou 62babca85f Fix return type of dialog proc 2019-09-16 09:54:35 +09:00
kichikuou 4be8dc5344 texthook: explicitly flush stdout every line 2019-09-09 08:44:14 +09:00
kichikuou bde689eaa1 Text hook 2019-09-02 09:03:29 +09:00
kichikuou ae6e20b874 Add utfsjis.{h,cpp} 2019-08-25 19:26:52 +09:00
kichikuou f6a55daff2 Fix crash in Super D.P.S. 2019-08-18 21:33:37 +09:00
kichikuou ea0be6b222 System2: disable fade commands 2019-08-18 21:11:06 +09:00
kichikuou e417118713 Add -fontfile option 2019-08-18 18:31:26 +09:00
kichikuou ad05155e70 Update README.md 2019-08-18 17:35:28 +09:00
kichikuou de3bbf2595 System1: Detect game title by CRC32 2019-08-18 16:55:17 +09:00
kichikuou b10d6447fe Add build rules for system1 and system2 2019-08-18 15:12:41 +09:00
kichikuou 1b192c2b9f Fix package name for SDL_ttf 2019-08-04 12:32:39 +09:00
kichikuou dd513edfe0 Clean up CMakeLists.txt 2019-08-04 11:43:03 +09:00