Add PUP extractor (PS4)

This commit is contained in:
theubusu
2025-10-19 22:12:21 +02:00
parent 9631349ac8
commit ed2fd5776a
3 changed files with 188 additions and 0 deletions
+4
View File
@@ -94,6 +94,10 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
println!("Mstar upgrade file detected!");
formats::mstar::extract_mstar(&file, &output_path)?;
}
else if formats::pup::is_pup_file(&file) {
println!("PUP file detected!");
formats::pup::extract_pup(&file, &output_path)?;
}
else if formats::mtk_pkg::is_mtk_pkg_file(&file) {
println!("MTK Pkg file detected!");
formats::mtk_pkg::extract_mtk_pkg(&file, &output_path)?;