Add a new argument to BGI script

This commit is contained in:
2025-11-15 21:52:46 +08:00
parent 37cade659b
commit 5fd1a336c6
4 changed files with 21 additions and 0 deletions

View File

@@ -578,6 +578,11 @@ pub struct Arg {
/// Disable adler32 checksum for Kirikiri XP3 archive when creating.
/// This will keep compatibility with https://github.com/arcusmaximus/KirikiriTools tool.
pub xp3_no_adler: bool,
#[cfg(feature = "bgi")]
#[arg(long, global = true)]
/// Add an additional space at the end of message in BGI scripts when importing.
/// This may help BGI engine to display the message correctly in save/load screen for some games.
pub bgi_add_space: bool,
#[command(subcommand)]
/// Command
pub command: Command,