.hrec file

From NPC for VCMP 0.4 Servers
Revision as of 15:46, 28 January 2024 by Habi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is a binary file created by npc04relxx plugin. (PutServerInRecordingMode)

.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