DKRDS Ghost Data (File Format)
From Wexos's Wiki
(Redirected from DKRDS Ghost Data)
Under Construction
This article is not finished. Help improve it by adding accurate information or correcting grammar and spelling.
DKRDS Ghost Data is the nameless file format used in Diddy Kong Racing DS that stores the ghost data both as Staff ghosts in the ROM as well as saved ghost data in the save file. Its type identifier in assets.bin is 0x00.
File Format
The file is always 0x4FC bytes long. The file byte order is always little endian.
Header
The file starts with a header that is 0x4C bytes long.
| Offset | Type | Description |
|---|---|---|
| 0x00 | Int32 | Unknown. Track ID? |
| 0x04 | Int32 | Character ID. |
| 0x08 | Int32 | Vehicle ID. |
| 0x0C | Int32 | Unknown. Time in frames the final lap is reached? |
| 0x10 | Int32 | Final time in frames. |
| 0x14 | Int32 | Unknown. Start boost type? |
| 0x18 | StringNT | Null terminated string of the player's name with a maximum length of 0x20 bytes. Always TT in ROM files. |
| 0x38 | Byte[0x14] | Unknown. Seems to be related to vehicle customization data. |
| 0x4C | End of header, start of Input Data | |
Input Data
After the header there's input data. Unused inputs are filled with zeroes.
Tools
The following tools can handle DKRDS Ghost Data:
- (none)