Blog: CSDemoArchiver

April 1st, 2012 17:56
Hey, it's me again, and here is my next stuff for you: CSDemoArchiver


Record demos from Counter-Strike, automatically compress and save it to a previously selected folder. Also you can mark any special events (aces, wallbangs etc.).

Usage instructions

First of all open config.lua with your favourite text editor, and configure it for your system.
Start with CSDemoArchiver.exe, and have fun!
You can mark an event using the "echo CSDemoArchiverMARK" in-game command, or, if you want to add some message use the "echo CSDemoArchiverMARK_{MESSAGE}" command. Sadly the game is a bit buggy, so you cant use space in your {MESSAGE} field, for example: "CSDemoArchiverMARK_Your.message.without.spaces!". You can bind it to a key, or add to your commandmenu if you don't like to type.
If you done, just press any key at the console window to close it.

Usage example

CSDemoArchiver in-game usage
Console window:
CSDemoArchiver console
20120401181914-nomorerandomnames.txt in the zip file contains:
[INDENT]00:02 CT 11:0 T
00:12 CT 12:0 T![/INDENT]


I've released a quite similar tool for the hungarian scene couple of years ago called CSDemoSaver, changed it a bit (open source, scriptable) renamed and here it is. It's fully customizable if you know some Lua/C++.


Is it safe to use at events?
It should be safe, since it does not modify any game related data, only reads game directory path and CT/T team scores, but some poorly written anti-cheat software might alert if you use it. I take no responsibility for any damage.

How does it work exactly?
Short answer: parsing debug messages.
Longer one: It's open source, check yourself :)


Binary executable:

Source code (requires Lua):

If you find any bug, feel free to write a PM or comment.
Sunde | 
Hungary Tibbse 
wow gj, I'll try this at my flat, should be a usefull tool
2012-04-01 18:04
Peru dbie 
2012-04-01 18:19
Seems interesting, what about VAC\EAC?
2012-04-01 18:36
Hungary ZokNy 
VAC proof, not sure about EAC/Wire, but it should be safe with those too.
2012-04-01 18:40
Good job.
2012-04-01 19:03
Hungary ZokNy 
Just fixed two minor bugs: - CT and T scores were swapped - typo fix at the main lua file Version number unchanged, just download again.
2012-04-01 19:09
Germany spddl 
2012-04-01 22:15
"How does it work exaclty?" exactly*
2012-04-01 22:23
Hungary ZokNy 
Fixed, thanks!
2012-04-01 22:32
you're welcome. nice job on the software btw
2012-04-01 23:06
Good job, keep up.
2012-04-01 22:53
I didn't get it. :S A more detailed info would help me, more like a video. :) Just a suggestion, I'll figure it out though after sometime.
2012-04-02 06:52
As you can see on the pictures, when you start to record a demo, CSDemoArchiver recognizes it and when you finished recording the program renames your demo and compresses it to a specified folder. Therefore using this tool you don't have to worry about overwriting your previous demo using the same name. Additionally you can mark events for later usage (video editing purpose).
2012-04-02 15:30
Seriously that helped. :)
2012-04-02 20:26
I just cant understand this :/
2012-04-02 22:04
wow rly nice.
2012-04-03 11:01
2012-04-04 06:04
Login or register to add your comment to the discussion.