mirror of
https://github.com/Ap0dexMe0/unixtract.git
synced 2026-07-15 21:00:03 +02:00
pana_dvd: add 2013 china key and decrypt exclusion for VGD
This commit is contained in:
@@ -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...");
|
||||
|
||||
@@ -70,6 +70,7 @@ pub static PANA_DVD_KEYONLY: &[&str] = &[
|
||||
("5D88719745A4EFFF"), // ~2012
|
||||
("38BB0C17D362701F"), // ~2013
|
||||
("EC238CD791456646"), // ~2013
|
||||
("0A1EE6C5BDC4933F"), // ~2013 (china)
|
||||
("8F8CA88482E43D9B"), // ~2014
|
||||
("21FCA17361E66B4E"), // ~2014
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user