Replay file: Difference between revisions

From Trickstart wiki
Created page with " Ghosts are saved in time trial mode .rpl files are used as golden times in Time Trial mode {| class="wikitable" !Offset !Size !Description |- |0x0 |0x2 |Usually is set to 1..."
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:


.rpl files are used as golden times in Time Trial mode
.rpl files are used as golden times in Time Trial mode
Header is 0x80 bytes long
{| class="wikitable"
{| class="wikitable"
!Offset
!Offset
Line 31: Line 33:
|0xC
|0xC
|0x4
|0x4
|<code>AB AA AA 3E</code>
|<code>0.33333333</code>, float (<code>AB AA AA 3E</code>)
|-
|-
| -
| -
Line 87: Line 89:
|0x80
|0x80
|???
|???
|binary data of some kind
|binary data of some kind, seems to be neatly organized around 0x2c bytes each entry
|}
|}



Latest revision as of 08:09, 8 December 2021


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, seems to be neatly organized around 0x2c bytes each entry
  • 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?