Talk:Filesystem/Race/Common.szs

From Custom Mario Kart
Jump to navigation Jump to search

ranktimeGP.krt

I think I might have figured out the format of the ranktimeGP.krt file:
Header:

Offset Type Description
0x00 String File magic. RKGT in ASCII.
0x04 Byte[0x4] Unknown.
0x08 UInt16 Number of tracks?
0x0A Byte[0x2] Unknown.
0x0C End of file header

Track entries follow in slot order:

Offset Type Description
0x00 UInt16 Maximum time in NTSC frames for a star ranking on 50cc.
0x02 UInt16 Maximum time in NTSC frames for a star ranking on 100cc.
0x04 UInt16 Maximum time in NTSC frames for a star ranking on 150cc/Mirror.
0x06 Byte[0x2] Unknown. Probably padding.
0x0C End of entry

Sara-L (talk) 22:46, 3 March 2021 (UTC)