From 2ebebfb216ede49cb39ddbe7533fc9b5e3e62826 Mon Sep 17 00:00:00 2001 From: comex Date: Mon, 20 Apr 2009 09:51:40 -0400 Subject: parse-brlan now handles a mvit. whatever that is. remind me to check what the menu is actually doing there and what mvit does --- parse-brlan.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 + -- cgit v1.3.1