.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 edit summary
 
Line 1: Line 1:
This is a binary file created by npc04relxx plugin. ([[PutServerInRecordingMode]])
{| class="wikitable"
{| class="wikitable"
|+ .hrec File Structure
|+ .hrec File Structure

Latest revision as of 15:46, 28 January 2024

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