From 6e7df30af72bfcf24397564cc1013890fdc5ee58 Mon Sep 17 00:00:00 2001 From: kichikuou Date: Sun, 26 Sep 2021 10:52:57 +0900 Subject: [PATCH] Add system3.ini.example and update README.md --- README.md | 17 ++++++++-------- system3.ini.example | 47 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+), 9 deletions(-) create mode 100644 system3.ini.example diff --git a/README.md b/README.md index 6e0f3cb..ec2bbb7 100644 --- a/README.md +++ b/README.md @@ -145,12 +145,11 @@ Here's the list of available game IDs and corresponding titles: ### Configuration file `system3.ini` Every option that can be set via the command line flags can also be configured -via the `system3.ini` file placed in the game folder. The following is an -example of `system3.ini` file: -``` -[config] -playlist = playlist.txt -fontfile = customfont.ttf -fm = yes -``` -Options specified on the command line override `system3.ini`. +via the `system3.ini` file placed in the game folder. See +[`system3.ini.example`](system3.ini.example) for the file format and available +options. Options specified on the command line override `system3.ini`. + +## Localizing a game +System3-sdl2 supports localization, while the original System1-3 only supported +Japanese. If you are interested in translating games, check out +[Sys0Decompiler](https://alicesoft.fandom.com/wiki/User_blog:RottenBlock/System_Programming_Resources). \ No newline at end of file diff --git a/system3.ini.example b/system3.ini.example new file mode 100644 index 0000000..3bce1c6 --- /dev/null +++ b/system3.ini.example @@ -0,0 +1,47 @@ +; encoding: utf-8 + +; System3-sdl2 configuration file. +; Lines beginning with a semicolon are comments. + +[config] + +; If true, turn off text anti-aliasing. +noantialias = false + +; A folder to store the save files. +savedir = save + +; A font file used to render text. *.ttf and *.otf files are supported. +fontfile = custom_font.ttf + +; A text file that lists audio files to be played instead of CD audio tracks, +; one per line. +playlist = bgm/playlist.txt + +; Use FM tone generator emulation. If not specified, MIDI sound is used. +fm = true + +; The game ID. No need to specify if you use AliceSoft's original game data. +; See README.md for possible values. +game = rance41 + +; Character encoding of the game data. shift_jis or utf-8. +encoding = shift_jis + +; Text displayed in the window's title bar. If not specified, original Japanese +; game title will be used. +title = Rance 4.1 ~Save the Medicine Plant!~ + + +; The [string] section allows overriding Japanese text embedded in the game +; engine. The values below are original Japanese text. +[string] +back = 戻る +next_page = 次のページ +dps_custom = カスタム +dps_linus = リーナス +dps_katsumi = かつみ +dps_yumiko = 由美子 +dps_itsumi = いつみ +dps_hitomi = ひとみ +dps_mariko = 真理子