Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wmb_header { // all offsets relative to begining of WMB header
- LONG magic "WMB4"
- LONG version // ? always -1
- SHORT vertex_stride // ? vertex stride 0x00 = 24 | 0x01 = 32
- SHORT ukn02
- SHORT primitive_type // 0x00=trilist | 0x01= trilist
- SHORT ukn03
- LONG ukn04
- LONG ukn05
- LONG ukn06
- LONG ukn07
- LONG ukn08
- LONG ukn09
- LONG buffer_table_offset // offset to vertex buffer header offset? lol
- LONG buffer_count
- LONG element_table_offset // offset to unknown data, after faces buffer
- LONG element_count
- LONG material_table_offset
- LONG bone_table_offset
- LONG bone_count
- LONG ukn17_offset
- LONG ukn17_count
- LONG ukn18_offset
- LONG ukn18_count
- LONG ukn19_offset // material related?
- LONG ukn19_count
- LONG ukn20_offset
- LONG ukn20_count
- LONG mesh_table_offset
- LONG mesh_count
- LONG ukn21_offset // offsets to another table, that then offsets to mesh names
- LONG ukn22 //always 0?
- LONG ukn23 //always 0?
- LONG ukn24 //always 0?
- LONG ukn25 //always 0?
- }
- buffer_table {
- LONG vert_offset // offset to vertex buffer
- LONG ukn33 // offset to vertex colour buffer?
- LONG ukn34 // always 0?
- LONG ukn35 // always 0?
- LONG num_verts
- LONG face_offset
- LONG num_faces
- }
- element_table {
- LONG buffer_index
- LONG vert_start
- LONG face_start
- LONG vert_count
- LONG face_count
- }
- material_table {
- LONG ukn31_table_offset
- LONG count
- LONG ukn33
- LONG ukn34
- LONG ukn35
- LONG ukn36
- LONG ukn37
- LONG ukn38
- }
- ukn31_table {
- LONG index
- LONG name_index
- SHORT ukn40
- SHORT ukn41
- LONG ukn42
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement