diff options
Diffstat (limited to 'parse-brlan.py')
| -rw-r--r-- | parse-brlan.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/parse-brlan.py b/parse-brlan.py index a2e57e9..f698cbf 100644 --- a/parse-brlan.py +++ b/parse-brlan.py @@ -41,6 +41,10 @@ for typ, chunk in ch: name = chunk[offs:offs + 0x14].rstrip('\0') aunk, aoffs = struct.unpack('>II', chunk[offs + 0x14:offs + 0x1c]) + if aunk == 0: + # I don't know what a mvit is but it apparently is one + print 'lemmings: %s' % name + continue print name, hex(aoffs) aoffs += offs atyp = chunk[aoffs:aoffs+4] @@ -66,4 +70,4 @@ for typ, chunk in ch: #print repr(name) #unk, anim_header_len = struct.unpack('>II', chunk[offs + 20:offs + 28]) #atyp = chunk[offs + 28:offs + 32] -
\ No newline at end of file + |
