Add comumode export support for scn script

This commit is contained in:
2025-06-30 20:42:18 +08:00
parent 05a4ee447b
commit 49a16888a3
4 changed files with 108 additions and 3 deletions

View File

@@ -114,6 +114,11 @@ pub struct Arg {
#[arg(long, global = true)]
/// Kirikiri language index in script. If not specified, the first language will be used.
pub kirikiri_language_index: Option<usize>,
#[cfg(feature = "kirikiri")]
#[arg(long, global = true, action = ArgAction::SetTrue)]
/// Export COMU message to extra json file. (for Kirikiri SCN script.)
/// Only CIRCUS's game have COMU message.
pub kirikiri_export_comumode: bool,
#[command(subcommand)]
/// Command
pub command: Command,