TPV TIMG extractor added

This commit is contained in:
theubusu
2025-09-25 17:49:02 +02:00
parent ee534675d8
commit 81fd148cb8
7 changed files with 163 additions and 3 deletions
+5 -1
View File
@@ -34,7 +34,11 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
println!();
if formats::mstar::is_mstar_file(&file) {
if formats::tpv_timg::is_tpv_timg_file(&file) {
println!("TPV TIMG file detected!");
println!();
formats::tpv_timg::extract_tpv_timg(&file, &output_path)?;
} else if formats::mstar::is_mstar_file(&file) {
println!("Mstar upgrade file detected!");
println!();
formats::mstar::extract_mstar(&file, &output_path)?;