MDL0 (File Format)

From Custom Mario Kart
Revision as of 20:56, 30 April 2011 by Wiimm (talk | contribs)
Jump to navigation Jump to search
Under Construction
This article is not finished. Help improve it by adding accurate information or correcting grammar and spelling.

This are the results of a first analyze of the binary file

File Format

MDL0 Header

offset size description
0x00 4 magic "MDL0"
0x04 4 size of MDL0 file
0x08 4 highest used index
0x0c 4 bit field: bit=0: index used / bit=1: index unused
0x10 16*4 16* offset of directory
0x50 16*4 ???
0x90 16*4 ??? (values 0..15)

Directory

offset size description
0x00 4 size of directory
0x04 4 number of directory entries
0x08 4 ???
0x0c 4 ???
0x10 4 ???
0x14 4 ???
0x18 N*16 file list

File List

offset size description
0x00 4 ???
0x04 4 ???
0x08 4 name offset into string pool, relative to BRRES file start
0x0c 4 ???