Commit Graph
94 Commits
Author SHA1 Message Date
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 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 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 c04301c117 Android: Fix multi-touch detection 2020-01-04 11:31:40 +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 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 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 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
kichikuou 4a999c06f2 Update build instructions 2019-08-03 22:29:54 +09:00
kichikuou fec17365c4 Switch to emscripten upstream backend 2019-08-03 22:29:24 +09:00
kichikuou 3cafea87bc CMakeLists.txt fix for windows 2019-08-03 22:27:06 +09:00
kichikuou 8354b95413 Emscripten: set window title via xsystem35 shell 2019-07-29 08:47:52 +09:00
kichikuou 6071e5ec51 ALLOW_MEMORY_GROWTH=1 2019-07-27 18:30:37 +09:00
kichikuou a480290c35 Add CMakeLists.txt 2019-07-27 17:57:59 +09:00
kichikuou 06dc8981c1 Don't let SDL handle the visibilitychange event 2019-05-13 22:31:05 +09:00
kichikuou 4d3b06ea50 Fix freeze during fade in/out 2019-03-31 16:46:29 +09:00
kichikuou 72e1fa438c Fix for 64-bit systems 2019-03-31 16:16:16 +09:00
kichikuou db5c8be2ac Remove unused sjis2unicode 2019-01-26 18:50:53 +09:00
kichikuou cedf84f08e Grayscale initial palette for better antialias 2017-06-17 11:14:05 +09:00
kichikuou 5dbc4d8881 Implement text input 2017-06-17 10:26:19 +09:00
kichikuou 4b9556713a Add workaround for emscripten-ports/SDL2 #41 2017-05-03 17:41:03 +09:00
kichikuou 9e77696d2a Title format expected by the shell 2017-05-03 14:35:20 +09:00
kichikuou e00e1c4552 Add exported function for screenshot 2017-05-02 21:53:55 +09:00
kichikuou 0b74f252d2 Do not double-unlock surfaces 2017-05-02 09:07:18 +09:00
kichikuou 49705ee7b8 Export sjis2unicode 2017-05-01 15:33:55 +09:00