Add support to import comu message to scn scripts

This commit is contained in:
2025-07-01 16:54:16 +08:00
parent 30feefffbd
commit 263c156d03
6 changed files with 152 additions and 3 deletions

View File

@@ -119,6 +119,10 @@ pub struct Arg {
/// Export COMU message to extra json file. (for Kirikiri SCN script.)
/// Only CIRCUS's game have COMU message.
pub kirikiri_export_comumode: bool,
#[cfg(feature = "kirikiri")]
#[arg(long, global = true)]
/// Kirikiri COMU message translation file. (Map<String, String>, key is original text, value is translated text.)
pub kirikiri_comumode_json: Option<String>,
#[command(subcommand)]
/// Command
pub command: Command,