.hrec file: Difference between revisions

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search
(Created page with "{| class="wikitable" |+ .hrec File Structure |- ! Field !! Description |- | Unsigned Int (4 bytes) - Magic || 9000 (Identifier for the file) |- | uint32_t (4 bytes) - Time (as ticks) || Time information in ticks |- | uint16_t (2 bytes) - Length of Filename || Length of the filename that follows |- | char* (variable length) - Filename || Variable-length character array storing the filename |- | char* (24 bytes) - Playername || Fixed-size character array (24 bytes) represe...")
(No difference)

Revision as of 14:35, 27 January 2024

.hrec File Structure
Field Description
Unsigned Int (4 bytes) - Magic 9000 (Identifier for the file)
uint32_t (4 bytes) - Time (as ticks) Time information in ticks
uint16_t (2 bytes) - Length of Filename Length of the filename that follows
char* (variable length) - Filename Variable-length character array storing the filename
char* (24 bytes) - Playername Fixed-size character array (24 bytes) representing the player's name
Repeat the structure for each entry in the file