This commit is contained in:
2025-07-29 19:37:39 +08:00
parent 6c620c5b59
commit c6973e9c0f
2 changed files with 11 additions and 2 deletions

View File

@@ -115,6 +115,9 @@ fn detect_script_type(buf: &[u8], buf_len: usize, _filename: &str) -> Option<&'s
if buf_len >= 8 && buf.starts_with(b"CatScene") {
return Some(&ScriptType::CatSystem);
}
if buf_len >= 4 && buf.starts_with(b"CSTL") {
return Some(&ScriptType::CatSystemCstl);
}
None
}