From 2a0c75e9811b0d66282765a996b7ebebb1ce5c83 Mon Sep 17 00:00:00 2001 From: comex Date: Wed, 28 Jan 2009 12:18:30 -0500 Subject: more stuff --- ethyl.py | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 ethyl.py (limited to 'ethyl.py') 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 -- cgit v1.3.1