Add basic support for Qlie Abmp10/11/12 image (.b)

This commit is contained in:
2026-01-30 13:50:04 +08:00
parent 59c40b451e
commit fd9533ae7e
6 changed files with 464 additions and 0 deletions

View File

@@ -291,6 +291,12 @@ fn detect_script_type(_name: &str, buf: &[u8], buf_len: usize) -> Option<ScriptT
if buf_len >= 4 && buf.starts_with(b"DPNG") {
return Some(ScriptType::QlieDpng);
}
if buf_len >= 6 && buf.starts_with(b"abmp1") {
let ver = buf[5];
if ver >= b'0' && ver <= b'2' {
return Some(ScriptType::QlieAbmp10);
}
}
}
None
}