Add catsystem2 int archive support

This commit is contained in:
2025-06-29 13:27:04 +08:00
parent 63286fe5a0
commit 0a6ac0afcb
12 changed files with 654 additions and 4 deletions

View File

@@ -203,14 +203,13 @@ pub struct ExtraConfig {
pub bgi_is_sysgrp_arc: Option<bool>,
#[cfg(feature = "bgi-img")]
pub bgi_img_scramble: Option<bool>,
#[cfg(feature = "cat-system-arc")]
pub cat_system_int_encrypt_password: Option<String>,
}
#[derive(Clone, Copy, Debug, ValueEnum, PartialEq, Eq, PartialOrd, Ord)]
/// Script type
pub enum ScriptType {
#[cfg(feature = "circus")]
/// Circus MES script
Circus,
#[cfg(feature = "bgi")]
#[value(alias("ethornell"))]
/// Buriko General Interpreter/Ethornell Script
@@ -243,6 +242,12 @@ pub enum ScriptType {
#[value(alias("ethornell-cbg"))]
/// Buriko General Interpreter/Ethornell Compressed Background image (CBG)
BGICbg,
#[cfg(feature = "cat-system-arc")]
/// CatSystem2 engine archive
CatSystemInt,
#[cfg(feature = "circus")]
/// Circus MES script
Circus,
#[cfg(feature = "escude-arc")]
/// Escude bin archive
EscudeArc,