aboutsummaryrefslogtreecommitdiff
path: root/parse-brlan.py
diff options
context:
space:
mode:
authorcomex <comexk@gmail.com>2009-04-20 09:51:40 -0400
committercomex <comexk@gmail.com>2009-04-20 09:51:40 -0400
commit2ebebfb216ede49cb39ddbe7533fc9b5e3e62826 (patch)
tree247671c045081c7e11affc460f5b1ee4f73cd2c4 /parse-brlan.py
parentedf2358bae05bb562cdfd64c532214dc8de56a78 (diff)
parse-brlan now handles a mvit. whatever that is. remind me to check what the menu is actually doing there and what mvit does
Diffstat (limited to 'parse-brlan.py')
-rw-r--r--parse-brlan.py6
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
+