diff options
| author | comex <comexk@gmail.com> | 2009-01-28 12:18:30 -0500 |
|---|---|---|
| committer | comex <comexk@gmail.com> | 2009-01-28 12:18:30 -0500 |
| commit | 2a0c75e9811b0d66282765a996b7ebebb1ce5c83 (patch) | |
| tree | 1e34e8ea444c930a324612cab74492e9d8272ad5 /ethyl.py | |
| parent | ba450930949cab4e6347c7fa01c0e77ca1d05f29 (diff) | |
more stuff
Diffstat (limited to '')
| -rw-r--r-- | ethyl.py | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/ethyl.py b/ethyl.py new file mode 100644 index 0000000..8db217e --- /dev/null +++ b/ethyl.py @@ -0,0 +1,64 @@ +formats = { + 'pane': ''' + u8 flags_1 // 8 + u8 flags_2 // 9 + u8 alpha_1 // a + u8 alpha_2 // b + char name[0x18] // c + float x // 24 + float y // 28 + float z // 2c + float pane_unk1 // 30 + float pane_unk2 // 34 + float angle // 38 + float xmag // 3c + float ymag // 40 + float width // 44 + float height // 48 + etc! + ''', + 'text': ''' + u16 unk1 // 4c + u16 unk2 // 4e + u16 mat_off // 50 + u16 unk3 // 52 + u8 unk4 // 54 + u8 unk5[3] // 55 + u32 name_offs // 58 + u32 unk6 // 5c + u32 unk7 // 60 + float unk8 // 64 + float unk9 // 68 + float unka // 6c + float unkb // 70 + etc! + ''', + 'pic': ''' + u32 unk1 // 4c + u32 unk2 // 50 + u32 unk3 // 54 + u32 unk4 // 58 + u16 mat_off // 5c + u8 num_texcoords// 5e, should be < 8 + u8 padding // 5f + etc! + ''', + 'group': ''' + char name[16] + u16 numsubs + u16 unk + etc! + ''', + + 'numoffs': ''' + u16 num + u16 offs + etc! + ''', + 'lytheader': ''' + u32 a + u32 b + u32 c + ''', + +}
\ No newline at end of file |
