Skip to content

Commit ce51808

Browse files
committed
Minor tweaks
1 parent 278483e commit ce51808

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

zoomzt2.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@
5050
PEDAL = 11,
5151
AG_MODEL = 20,
5252
ACOUSTIC = 29,
53+
RHYTHM = 30,
54+
LOOPER = 31,
5355
),
5456
Padding(21),
5557
"effects" / GreedyRange(Effect),
@@ -117,6 +119,7 @@
117119
ZD2 = Struct(
118120
Const(b"ZDLF"),
119121
"length" / Int32ul,
122+
"hex" / HexDump(Peek(Bytes(81))),
120123
"unknown" / Bytes(81),
121124
"version" / PaddedString(4, "ascii"),
122125
Const(b"\x00\x00"),
@@ -131,6 +134,7 @@
131134
),
132135
"groupname" / CString("ascii"),
133136

137+
"hex3" / HexDump(Peek(Bytes(lambda this: 12 - len(this.groupname)))),
134138
"unknown3" / Bytes(lambda this: 12 - len(this.groupname)),
135139
"unknown4" / BitStruct("unknown4" / Array(8, BitsInteger(1))),
136140
Const(b"\x00\x00\x00"),

0 commit comments

Comments
 (0)