Hello,

I am looking for information about parsing csgo demo files (*.dem,
they have "HL2DEMO" as first 7 bytes).

So far I've checked DEM_Format from developer wiki ([1]). Header
matches description, but I am unable to read any frames. First frame,
dem_signon seems to have different length than length described in
header. It seems that other data in header does not match reality too:
even if I put garbage in bytes 16-1072 (in all fields in header except
first 3) game client is still able to play modified demo.

I think that .dem files recorded by csgo have HL2DEMO header only for
keeping limited compatibility with tools for older counter strike
games and actual data is kept in different format after header
(protobuf, like in dota2? There is no PBUFDEM header...).

Do you guys have any information about that format? Should I ask
Valve? Is this right place to ask such questions?

[1] https://developer.valvesoftware.com/wiki/DEM_Format

--
Krzysztof Warzecha

_______________________________________________
Csgo_servers mailing list
[email protected]
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers

Reply via email to