添加 BGI 脚本导入重复字符串的支持;新增 WriteAt 特性以支持在特定偏移写入数据

This commit is contained in:
2025-06-07 18:18:56 +08:00
parent 5533e901f7
commit f1e35c904c
6 changed files with 277 additions and 6 deletions

View File

@@ -75,6 +75,11 @@ pub struct Arg {
#[arg(long, global = true)]
/// The path to the Escude enum script file (enum_scr.bin)
pub escude_enum_scr: Option<String>,
#[cfg(feature = "bgi")]
#[arg(long, action = ArgAction::SetTrue, global = true)]
/// Duplicate same strings when importing into BGI scripts.
/// Enable this will cause BGI scripts to become very large.
pub bgi_import_duplicate: bool,
#[command(subcommand)]
/// Command
pub command: Command,