Skip to main content

Demo

Demo files contain a header starting with a constant magic followed by information about the engine, the player and the current session. The main contents are stored in an array of messages.

NameTypeSize in bytesSize in bitsValue
DemoFileStampstring864HL2DEMO\0
DemoProtocolint432-
NetworkProtocolint432-
ServerNamestring2602080-
ClientNamestring2602080-
MapNamestring2602080-
GameDirectorystring2602080-
PlaybackTimefloat432-
PlaybackTicksint432-
PlaybackFramesint432-
SignOnLengthint432-
DemoMessagesMessage[]---