pana_dvd: add 2013 china key and decrypt exclusion for VGD

This commit is contained in:
theubusu
2026-03-09 15:18:45 +01:00
parent 36704a01cf
commit 37b4578193
2 changed files with 8 additions and 2 deletions
+7 -2
View File
@@ -169,8 +169,13 @@ fn extract_file(app_ctx: &AppContext, file_reader: &mut Cursor<Vec<u8>>, header_
}
let data = common::read_exact(file_reader, module.size as usize)?;
println!("- Decrypting...");
let mut dec_data = decrypt_data(&data, &key);
let mut dec_data =if module.name() != "VGD " { //VGD is not encrypted?
println!("- Decrypting...");
decrypt_data(&data, &key)
} else {
data
};
if module.name().starts_with("DRV") {
println!("- Extracting DRIVE firmware...");
+1
View File
@@ -70,6 +70,7 @@ pub static PANA_DVD_KEYONLY: &[&str] = &[
("5D88719745A4EFFF"), // ~2012
("38BB0C17D362701F"), // ~2013
("EC238CD791456646"), // ~2013
("0A1EE6C5BDC4933F"), // ~2013 (china)
("8F8CA88482E43D9B"), // ~2014
("21FCA17361E66B4E"), // ~2014
];