Commit Graph
143 Commits
Author SHA1 Message Date
kichikuou 9f09c0c2de Android: Bump version to 0.3.0 android-0.3.0 2020-02-24 12:00:09 +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 e574b826d9 Add GitHub workflow for Android build 2020-02-23 21:58:09 +09:00
kichikuou ca16b99846 Add GitHub workflow for Linux build 2020-02-23 18:41:01 +09:00
kichikuou 28e1adfcfb Add GitHub workflow for emscripten build 2020-02-23 18:16:09 +09:00
kichikuou 4ae7e9e7aa Move SYSTEM1 initialization code to NACT_Sys1 constructor 2020-02-23 14:41:10 +09:00
kichikuou 7ffa8bc306 Avoid virtual functions in NACT
Since NACT functions call asynchronous operations and we use
ASYNCIFY_IGNORE_INDIRECT in emscripten.
2020-02-23 14:23:30 +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 f880eba7a4 Fix build instructions 2020-02-22 22:28:48 +09:00
kichikuou 15fc2f6c8e Merge rest2/ to res3/ 2020-02-22 18:27:01 +09:00
kichikuou bb7636d54b Rewrite README.md 2020-02-22 17:35:05 +09:00
kichikuou 348dff7575 Add game table entry for Prostudent G omake
Use `-game prog_omake` to play it.
2020-02-22 16:15:51 +09:00
kichikuou 20ba438300 Unify executables
Instead of building multiple executables using #ifdefs, create a single
executable (still called "system3") that can run all System1-3 games.
2020-02-22 16:15:47 +09:00
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