aboutsummaryrefslogtreecommitdiff
path: root/ethyl.py
diff options
context:
space:
mode:
authorcomex <comexk@gmail.com>2009-01-29 21:04:33 -0500
committercomex <comexk@gmail.com>2009-01-29 21:04:33 -0500
commit5264bd8c3e9fa48750b0ced76c07e04ef039e430 (patch)
treeead9c42df08c91f6fa342aeadaeada55c4a0f96c /ethyl.py
parent8edaf638429568b8f2dc1b0f2a806ba7847dbd53 (diff)
now makes working brlyts!
Diffstat (limited to 'ethyl.py')
-rw-r--r--ethyl.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ethyl.py b/ethyl.py
index 5cd9274..2f6458e 100644
--- a/ethyl.py
+++ b/ethyl.py
@@ -22,7 +22,7 @@ formats = {
u16 len1 // 4c
u16 len2 // 4e
u16 mat_off // 50
- u16 unk3 // 52
+ u16 font_idx // 52; into fnl1
u8 unk4 // 54
u8 pad[3] = [0, 0, 0]// 55
u32 name_offs // 58
@@ -138,7 +138,7 @@ def unnullterm(var, size):
raise Exception('unnullterm: "%s" too long' % var)
return var.ljust(size, '\0')
def untv(name):
- assert '\0' not in name
+ #assert '\0' not in name
lex = len(name) + 16
lex -= lex % 16
return name.ljust(lex, '\0')