From b9f3d5f01398666fd6ff7772ca9f1e2cb0d8322b Mon Sep 17 00:00:00 2001 From: xiaoxustudio <1783558957@qq.com> Date: Mon, 10 Nov 2025 11:47:08 +0800 Subject: [PATCH 1/8] feat: add Max_line and Max_lineHeight --- src/config.md | 24 +++++++++++++----------- src/en/config.md | 24 +++++++++++++----------- src/ja/config.md | 24 +++++++++++++----------- 3 files changed, 39 insertions(+), 33 deletions(-) diff --git a/src/config.md b/src/config.md index ed38b5537..350b9f084 100644 --- a/src/config.md +++ b/src/config.md @@ -2,17 +2,19 @@ 在 `game` 文件夹下,有一个名为 `config.txt` 的文件,你可以在这个文件中填写你游戏的相关信息(使用图形化编辑器可以直接编辑)。 -| 参数 | 描述 | -| :------------ |:---------------------------| -| Game_name | 游戏名称 | -| Game_key | 游戏识别码,长度 6-10 字符,不要与别的游戏重复 | -| Title_img | 标题图片,放在 `background` 文件夹 | -| Title_bgm | 标题背景音乐,放在 `bgm` 文件夹 | -| Game_Logo | 游戏 Logo,可以显示多个,用 \| 分割 | -| Enable_Appreciation | 是否启用鉴赏功能,包括 CG 和背景音乐鉴赏。 | -| Default_Language | 默认语言,可设置为 'zh_CN', 'zh_TW', 'en', 'ja', 'fr', 'de' | -| Show_panic | 是否启用紧急回避功能,设置为 true 或 false | -| Legacy_Expression_Blend_Mode | 是否启用 Live2D 的旧表情混合模式,设置为 true 或 false | +| 参数 | 描述 | +| :--------------------------- | :---------------------------------------------------------- | +| Game_name | 游戏名称 | +| Game_key | 游戏识别码,长度 6-10 字符,不要与别的游戏重复 | +| Title_img | 标题图片,放在 `background` 文件夹 | +| Title_bgm | 标题背景音乐,放在 `bgm` 文件夹 | +| Game_Logo | 游戏 Logo,可以显示多个,用 \| 分割 | +| Enable_Appreciation | 是否启用鉴赏功能,包括 CG 和背景音乐鉴赏。 | +| Default_Language | 默认语言,可设置为 'zh_CN', 'zh_TW', 'en', 'ja', 'fr', 'de' | +| Show_panic | 是否启用紧急回避功能,设置为 true 或 false | +| Legacy_Expression_Blend_Mode | 是否启用 Live2D 的旧表情混合模式,设置为 true 或 false | +| Max_line | textBox限制行数,如果没有设置则启用默认逻辑 (2em) | +| Max_lineHeight | textBox行高,当开启Max_line时生效,单位:em | 以下是配置文件示例: diff --git a/src/en/config.md b/src/en/config.md index fdd8f1013..7e631b504 100644 --- a/src/en/config.md +++ b/src/en/config.md @@ -2,17 +2,19 @@ Under the `game` folder, there is a file named `config.txt`, you can fill in the relevant information of your game in this file (you can edit it directly using a graphical editor). -| Parameter | Description | -| :------------ | :----------------------------------------------- | -| Game_name | Game name | -| Game_key | Game identification code, 6-10 characters in length, do not repeat with other games | -| Title_img | Title picture, put it in the `background` folder | -| Title_bgm | Title background music, put it in the `bgm` folder | -| Game_Logo | Game Logo, multiple can be displayed, separated by \| | -| Enable_Appreciation | Whether to enable the Appreciation feature, including CG and background music appreciation. | -| Default_Language | Default language, can be set to 'zh_CN', 'zh_TW', 'en', 'ja', 'fr', 'de' | -| Show_panic | Whether to enable the panic button feature, set to true or false | -| Legacy_Expression_Blend_Mode | Whether to enable legacy expression blend mode for Live2D, set to true or false | +| Parameter | Description | +| :--------------------------- | :------------------------------------------------------------------------------------------------------ | +| Game_name | Game name | +| Game_key | Game identification code, 6-10 characters in length, do not repeat with other games | +| Title_img | Title picture, put it in the `background` folder | +| Title_bgm | Title background music, put it in the `bgm` folder | +| Game_Logo | Game Logo, multiple can be displayed, separated by \| | +| Enable_Appreciation | Whether to enable the Appreciation feature, including CG and background music appreciation. | +| Default_Language | Default language, can be set to 'zh_CN', 'zh_TW', 'en', 'ja', 'fr', 'de' | +| Show_panic | Whether to enable the panic button feature, set to true or false | +| Legacy_Expression_Blend_Mode | Whether to enable legacy expression blend mode for Live2D, set to true or false | +| Max_line | The limit for the number of lines in the text box. If not set, the default logic (2em) will be enabled. | +| Max_lineHeight | The height of each line in the text box. It takes effect when Max_line is enabled. Unit: em | The following is a sample configuration file: diff --git a/src/ja/config.md b/src/ja/config.md index 71154b382..75a21b56c 100644 --- a/src/ja/config.md +++ b/src/ja/config.md @@ -2,17 +2,19 @@ `game` フォルダの下に `config.txt` というファイルがあり、このファイルにゲームの関連情報を記入することができます(グラフィカルなエディタを使って直接編集することもできます)。 -| パラメータ | 説明 | -| :------------ | :----------------------------------------------- | -| Game_name | ゲーム名 | -| Game_key | ゲーム識別コード、長さ 6-10 文字、他のゲームと重複しないようにしてください | -| Title_img | タイトル画像、`background` フォルダに入れてください | -| Title_bgm | タイトルの BGM、`bgm` フォルダに入れてください | -| Game_Logo | ゲームのロゴ、複数表示することができ、\| で区切ります | -| Enable_Appreciation | 鑑賞機能(CGおよび背景音楽の鑑賞を含む)を有効にするかどうか。 | -| Default_Language | デフォルト言語、「zh_CN」、「zh_TW」、「en」、「ja」、「fr」、「de」に設定可能。 | -| Show_panic | パニックボタン機能を有効にするかどうか、true または false に設定 | -| Legacy_Expression_Blend_Mode | Live2D の旧表情ブレンドモードを有効にするかどうか、true または false に設定 | +| パラメータ | 説明 | +| :--------------------------- | :------------------------------------------------------------------------------- | +| Game_name | ゲーム名 | +| Game_key | ゲーム識別コード、長さ 6-10 文字、他のゲームと重複しないようにしてください | +| Title_img | タイトル画像、`background` フォルダに入れてください | +| Title_bgm | タイトルの BGM、`bgm` フォルダに入れてください | +| Game_Logo | ゲームのロゴ、複数表示することができ、\| で区切ります | +| Enable_Appreciation | 鑑賞機能(CGおよび背景音楽の鑑賞を含む)を有効にするかどうか。 | +| Default_Language | デフォルト言語、「zh_CN」、「zh_TW」、「en」、「ja」、「fr」、「de」に設定可能。 | +| Show_panic | パニックボタン機能を有効にするかどうか、true または false に設定 | +| Legacy_Expression_Blend_Mode | Live2D の旧表情ブレンドモードを有効にするかどうか、true または false に設定 | +| Max_line | textbox行数を制限しなかったら起用の設置は黙認論理(2 em) | +| Max_lineHeight | textbox行高、max_line開くとき発効し、単位はem | 以下は設定ファイルの例です。 From 6c0604b541235468250d9639ce70d83375e376bb Mon Sep 17 00:00:00 2001 From: xiaoxustudio <1783558957@qq.com> Date: Mon, 10 Nov 2025 12:00:15 +0800 Subject: [PATCH 2/8] chore: remove error unit --- src/config.md | 2 +- src/en/config.md | 2 +- src/ja/config.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/config.md b/src/config.md index 350b9f084..05107a838 100644 --- a/src/config.md +++ b/src/config.md @@ -13,7 +13,7 @@ | Default_Language | 默认语言,可设置为 'zh_CN', 'zh_TW', 'en', 'ja', 'fr', 'de' | | Show_panic | 是否启用紧急回避功能,设置为 true 或 false | | Legacy_Expression_Blend_Mode | 是否启用 Live2D 的旧表情混合模式,设置为 true 或 false | -| Max_line | textBox限制行数,如果没有设置则启用默认逻辑 (2em) | +| Max_line | textBox限制行数,如果没有设置则启用默认逻辑 | | Max_lineHeight | textBox行高,当开启Max_line时生效,单位:em | 以下是配置文件示例: diff --git a/src/en/config.md b/src/en/config.md index 7e631b504..37685efd0 100644 --- a/src/en/config.md +++ b/src/en/config.md @@ -13,7 +13,7 @@ Under the `game` folder, there is a file named `config.txt`, you can fill in the | Default_Language | Default language, can be set to 'zh_CN', 'zh_TW', 'en', 'ja', 'fr', 'de' | | Show_panic | Whether to enable the panic button feature, set to true or false | | Legacy_Expression_Blend_Mode | Whether to enable legacy expression blend mode for Live2D, set to true or false | -| Max_line | The limit for the number of lines in the text box. If not set, the default logic (2em) will be enabled. | +| Max_line | The limit for the number of lines in the text box. If not set, the default logic will be enabled. | | Max_lineHeight | The height of each line in the text box. It takes effect when Max_line is enabled. Unit: em | The following is a sample configuration file: diff --git a/src/ja/config.md b/src/ja/config.md index 75a21b56c..f4ff25766 100644 --- a/src/ja/config.md +++ b/src/ja/config.md @@ -13,7 +13,7 @@ | Default_Language | デフォルト言語、「zh_CN」、「zh_TW」、「en」、「ja」、「fr」、「de」に設定可能。 | | Show_panic | パニックボタン機能を有効にするかどうか、true または false に設定 | | Legacy_Expression_Blend_Mode | Live2D の旧表情ブレンドモードを有効にするかどうか、true または false に設定 | -| Max_line | textbox行数を制限しなかったら起用の設置は黙認論理(2 em) | +| Max_line | textbox行数を制限しなかったら起用の設置は黙認論理 | | Max_lineHeight | textbox行高、max_line開くとき発効し、単位はem | 以下は設定ファイルの例です。 From 9630015c07a8b136313307da9f097232fd4d127c Mon Sep 17 00:00:00 2001 From: Xuran <1783558957@qq.com> Date: Sun, 16 Nov 2025 15:44:44 +0800 Subject: [PATCH 3/8] Update src/ja/config.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- src/ja/config.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ja/config.md b/src/ja/config.md index f4ff25766..db6d6f731 100644 --- a/src/ja/config.md +++ b/src/ja/config.md @@ -13,7 +13,7 @@ | Default_Language | デフォルト言語、「zh_CN」、「zh_TW」、「en」、「ja」、「fr」、「de」に設定可能。 | | Show_panic | パニックボタン機能を有効にするかどうか、true または false に設定 | | Legacy_Expression_Blend_Mode | Live2D の旧表情ブレンドモードを有効にするかどうか、true または false に設定 | -| Max_line | textbox行数を制限しなかったら起用の設置は黙認論理 | +| Max_line | テキストボックスの最大行数。未設定の場合はデフォルトの動作になります。 | | Max_lineHeight | textbox行高、max_line開くとき発効し、単位はem | 以下は設定ファイルの例です。 From 984c6928012fe0c7d66c2e8ec795d9efeeb93f4e Mon Sep 17 00:00:00 2001 From: Xuran <1783558957@qq.com> Date: Sun, 16 Nov 2025 15:45:49 +0800 Subject: [PATCH 4/8] Update src/ja/config.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- src/ja/config.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ja/config.md b/src/ja/config.md index db6d6f731..4032b7dcc 100644 --- a/src/ja/config.md +++ b/src/ja/config.md @@ -14,7 +14,7 @@ | Show_panic | パニックボタン機能を有効にするかどうか、true または false に設定 | | Legacy_Expression_Blend_Mode | Live2D の旧表情ブレンドモードを有効にするかどうか、true または false に設定 | | Max_line | テキストボックスの最大行数。未設定の場合はデフォルトの動作になります。 | -| Max_lineHeight | textbox行高、max_line開くとき発効し、単位はem | +| Max_lineHeight | テキストボックスの行の高さ(単位: em)。`Max_line` が設定されている場合にのみ有効です。 | 以下は設定ファイルの例です。 From 18023aa3950285788da88ab53b959b04c25e7ae4 Mon Sep 17 00:00:00 2001 From: Xuran <1783558957@qq.com> Date: Sun, 16 Nov 2025 15:45:57 +0800 Subject: [PATCH 5/8] Update src/config.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- src/config.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.md b/src/config.md index 05107a838..0c22ec5d2 100644 --- a/src/config.md +++ b/src/config.md @@ -13,7 +13,7 @@ | Default_Language | 默认语言,可设置为 'zh_CN', 'zh_TW', 'en', 'ja', 'fr', 'de' | | Show_panic | 是否启用紧急回避功能,设置为 true 或 false | | Legacy_Expression_Blend_Mode | 是否启用 Live2D 的旧表情混合模式,设置为 true 或 false | -| Max_line | textBox限制行数,如果没有设置则启用默认逻辑 | +| Max_line | 文本框的最大行数。如果未设置,则启用默认逻辑。 | | Max_lineHeight | textBox行高,当开启Max_line时生效,单位:em | 以下是配置文件示例: From 6eebac67a5d9a59e59f4ea7774454597734f866b Mon Sep 17 00:00:00 2001 From: Xuran <1783558957@qq.com> Date: Sun, 16 Nov 2025 15:46:12 +0800 Subject: [PATCH 6/8] Update src/config.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- src/config.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.md b/src/config.md index 0c22ec5d2..8b4c53cb9 100644 --- a/src/config.md +++ b/src/config.md @@ -14,7 +14,7 @@ | Show_panic | 是否启用紧急回避功能,设置为 true 或 false | | Legacy_Expression_Blend_Mode | 是否启用 Live2D 的旧表情混合模式,设置为 true 或 false | | Max_line | 文本框的最大行数。如果未设置,则启用默认逻辑。 | -| Max_lineHeight | textBox行高,当开启Max_line时生效,单位:em | +| Max_lineHeight | 文本框的行高(单位:em),仅当设置了 `Max_line` 时生效。 | 以下是配置文件示例: From 812042a5e92779279f2531e0c83810c35680e376 Mon Sep 17 00:00:00 2001 From: Xuran <1783558957@qq.com> Date: Sun, 16 Nov 2025 15:47:09 +0800 Subject: [PATCH 7/8] Update src/en/config.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- src/en/config.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/en/config.md b/src/en/config.md index 37685efd0..2cc68fbdb 100644 --- a/src/en/config.md +++ b/src/en/config.md @@ -14,7 +14,7 @@ Under the `game` folder, there is a file named `config.txt`, you can fill in the | Show_panic | Whether to enable the panic button feature, set to true or false | | Legacy_Expression_Blend_Mode | Whether to enable legacy expression blend mode for Live2D, set to true or false | | Max_line | The limit for the number of lines in the text box. If not set, the default logic will be enabled. | -| Max_lineHeight | The height of each line in the text box. It takes effect when Max_line is enabled. Unit: em | +| Max_lineHeight | The line height of the text box, in `em`. Takes effect only when `Max_line` is set. | The following is a sample configuration file: From 0e419ec31e90f34946fb3f2d25365c16015edaf2 Mon Sep 17 00:00:00 2001 From: xiaoxustudio <1783558957@qq.com> Date: Wed, 26 Nov 2025 10:21:36 +0800 Subject: [PATCH 8/8] feat: remove max_line --- src/config.md | 3 +-- src/en/config.md | 25 ++++++++++++------------- src/ja/config.md | 3 +-- 3 files changed, 14 insertions(+), 17 deletions(-) diff --git a/src/config.md b/src/config.md index 8b4c53cb9..30c76ff58 100644 --- a/src/config.md +++ b/src/config.md @@ -13,8 +13,7 @@ | Default_Language | 默认语言,可设置为 'zh_CN', 'zh_TW', 'en', 'ja', 'fr', 'de' | | Show_panic | 是否启用紧急回避功能,设置为 true 或 false | | Legacy_Expression_Blend_Mode | 是否启用 Live2D 的旧表情混合模式,设置为 true 或 false | -| Max_line | 文本框的最大行数。如果未设置,则启用默认逻辑。 | -| Max_lineHeight | 文本框的行高(单位:em),仅当设置了 `Max_line` 时生效。 | +| Max_lineHeight | 文本框的行高(单位:em) | 以下是配置文件示例: diff --git a/src/en/config.md b/src/en/config.md index 2cc68fbdb..ef6e78f1c 100644 --- a/src/en/config.md +++ b/src/en/config.md @@ -2,19 +2,18 @@ Under the `game` folder, there is a file named `config.txt`, you can fill in the relevant information of your game in this file (you can edit it directly using a graphical editor). -| Parameter | Description | -| :--------------------------- | :------------------------------------------------------------------------------------------------------ | -| Game_name | Game name | -| Game_key | Game identification code, 6-10 characters in length, do not repeat with other games | -| Title_img | Title picture, put it in the `background` folder | -| Title_bgm | Title background music, put it in the `bgm` folder | -| Game_Logo | Game Logo, multiple can be displayed, separated by \| | -| Enable_Appreciation | Whether to enable the Appreciation feature, including CG and background music appreciation. | -| Default_Language | Default language, can be set to 'zh_CN', 'zh_TW', 'en', 'ja', 'fr', 'de' | -| Show_panic | Whether to enable the panic button feature, set to true or false | -| Legacy_Expression_Blend_Mode | Whether to enable legacy expression blend mode for Live2D, set to true or false | -| Max_line | The limit for the number of lines in the text box. If not set, the default logic will be enabled. | -| Max_lineHeight | The line height of the text box, in `em`. Takes effect only when `Max_line` is set. | +| Parameter | Description | +| :--------------------------- | :------------------------------------------------------------------------------------------ | +| Game_name | Game name | +| Game_key | Game identification code, 6-10 characters in length, do not repeat with other games | +| Title_img | Title picture, put it in the `background` folder | +| Title_bgm | Title background music, put it in the `bgm` folder | +| Game_Logo | Game Logo, multiple can be displayed, separated by \| | +| Enable_Appreciation | Whether to enable the Appreciation feature, including CG and background music appreciation. | +| Default_Language | Default language, can be set to 'zh_CN', 'zh_TW', 'en', 'ja', 'fr', 'de' | +| Show_panic | Whether to enable the panic button feature, set to true or false | +| Legacy_Expression_Blend_Mode | Whether to enable legacy expression blend mode for Live2D, set to true or false | +| Max_lineHeight | The line height of the text box, in `em` | The following is a sample configuration file: diff --git a/src/ja/config.md b/src/ja/config.md index 4032b7dcc..5b9fc3e93 100644 --- a/src/ja/config.md +++ b/src/ja/config.md @@ -13,8 +13,7 @@ | Default_Language | デフォルト言語、「zh_CN」、「zh_TW」、「en」、「ja」、「fr」、「de」に設定可能。 | | Show_panic | パニックボタン機能を有効にするかどうか、true または false に設定 | | Legacy_Expression_Blend_Mode | Live2D の旧表情ブレンドモードを有効にするかどうか、true または false に設定 | -| Max_line | テキストボックスの最大行数。未設定の場合はデフォルトの動作になります。 | -| Max_lineHeight | テキストボックスの行の高さ(単位: em)。`Max_line` が設定されている場合にのみ有効です。 | +| Max_lineHeight | テキストボックスの行の高さ(単位: em) | 以下は設定ファイルの例です。