Replay file

From Trickstart wiki
Revision as of 21:40, 28 November 2021 by Halamix2 (talk | contribs)
Jump to navigation Jump to search

Ghosts are saved in time trial mode

.rpl files are used as golden times in Time Trial mode

Header is 0x80 bytes long

Offset Size Description
0x0 0x2 Usually is set to 1, but on track9.rpl it's set to 0; value 2 should also do something
0x2 0x2 ??
- - -
0x4 0x4 14 00 00 00
- - -
0xC 0x4 0.33333333, float (AB AA AA 3E)
- - -
0x14 0x4 01 00 00 00
0x18 0x4 00 00 00 00
0x1C 0x4 Lap time, (saved as seconds/60)
0x20 0x2 car ID
0x22 0x2 doubled car ID, doesn't seem to do anything
0x24 0x2 Car livery (1-7)
0x26 0x2 0A 00 - not always
0x28 0x4 ???
0x2C 0x4 Player name, 3 chars and \0, AAA in .rpl files
0x30 0xC Zeroes
- - -
0x40 0x40 Zeroes
0x80 ??? binary data of some kind
  • Each level has 8 save slots, each slot is stored in different save/CardXX folder. In each level each separate map ghost is saved in ghostYY.bin file, where YY is the id of the map
  • .rpl files seems to be similar/identical, some stuff doesn't make sense yet.
  • All ghost files are 0x7530 (30000) bytes long, padded with zeroes after ghost binary data
    • could be trimmed?