Add support to unpack Fate/stay night xp3 files

This commit is contained in:
2026-04-06 10:43:13 +08:00
parent a85c67e806
commit 323a312362
9 changed files with 412 additions and 12 deletions

View File

@@ -38,6 +38,12 @@ pub struct Xp3Entry {
pub extras: Vec<ExtraProp>,
}
impl Xp3Entry {
pub fn is_encrypted(&self) -> bool {
self.flags != 0
}
}
#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord)]
pub struct ExtraProp {
pub tag: [u8; 4],