Update archive.gp7bank.1.sg

This commit is contained in:
DosX 2025-06-11 17:00:08 +03:00
commit 512efb30c6

View file

@ -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);