Add BDL extractor

This commit is contained in:
theubusu
2025-12-21 21:10:40 +01:00
parent c9e0022f0d
commit 6e2a1af92e
3 changed files with 147 additions and 0 deletions
+4
View File
@@ -70,6 +70,10 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
println!("Novatek TIMG file detected!");
formats::nvt_timg::extract_nvt_timg(&file, &output_path)?;
}
else if formats::bdl::is_bdl_file(&file) {
println!("BDL file detected!");
formats::bdl::extract_bdl(&file, &output_path)?;
}
else if formats::android_ota_payload::is_android_ota_payload_file(&file) {
println!("Android OTA payload file detected!");
formats::android_ota_payload::extract_android_ota_payload(&file, &output_path)?;