Add system3.ini.example and update README.md

This commit is contained in:
kichikuou
2021-09-26 10:52:57 +09:00
parent 643eb02448
commit 6e7df30af7
2 changed files with 55 additions and 9 deletions
+8 -9
View File
@@ -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).
+47
View File
@@ -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 = 真理子