Add support to filter file with file hash

This commit is contained in:
2026-05-09 17:16:02 +08:00
parent b2a4064bdc
commit 79f9371591
6 changed files with 79 additions and 1 deletions

View File

@@ -657,6 +657,12 @@ pub struct ExtraConfig {
/// The path to the file list for Kirikiri XP3 archive. This is used to recover file names from hashed values.
/// Only works with some encyrption methods.
pub xp3_file_list_path: Option<String>,
#[cfg(feature = "kirikiri-arc")]
/// Control the behavior to how to extract files from Cxdec3/4(Hxv4) protected archives.
pub xp3_cxdec_file_hash: crate::scripts::kirikiri::archive::xp3::FileHashOption,
#[cfg(feature = "kirikiri-arc")]
/// Control the behavior to how to append path name to files from Cxdec3/4(Hxv4) protected archives.
pub xp3_cxdec_path_hash: crate::scripts::kirikiri::archive::xp3::PathHashOption,
}
#[cfg(feature = "artemis")]