mirror of
https://github.com/horsicq/Detect-It-Easy.git
synced 2026-06-24 01:54:08 +00:00
Update archive.gp7bank.1.sg
This commit is contained in:
parent
d6707ef234
commit
512efb30c6
1 changed files with 4 additions and 2 deletions
|
|
@ -4,8 +4,10 @@
|
|||
init("archive", "Arobas Music Guitar Pro 7+ soundbank (.gp7bank)");
|
||||
|
||||
function detect() {
|
||||
if (!X.c("'AMARCHIVE'..000000") || !X.c("'Samples.xml'00", 0x25) || !X.c("'<?xml'", X.U32(0x19))
|
||||
|| X.U32(0x19)+X.U32(0x21) != X.U32(0x31) // ofs+sz of the xml = next ofs
|
||||
if (!X.c("'AMARCHIVE'..000000") ||
|
||||
!X.c("'Samples.xml'00", 0x25) ||
|
||||
!X.c("'<?xml'", X.U32(0x19)) ||
|
||||
X.U32(0x19) + X.U32(0x21) != X.U32(0x31) // ofs+sz of the xml = next ofs
|
||||
) return false;
|
||||
|
||||
bDetected = true; sVersion = 'v' + X.U8(9);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue