Skip to content
Discussion options

You must be logged in to vote

I guess for your use case you need the rounds start/end ticks and all players steamids.

The script would loop through all demos, parse it to retrieve inputs, steamids and ticks.
Then for each steamid, loop through all rounds and run the cli with csdm video "C:\path\to\demo.dem" startTick endTick --focus-player steamID.

You could also use the above query to retrieve information (but still need to parse the demo to get inputs):

SELECT
	matches.demo_path,
	steam_id,
	number AS ROUND,
	start_tick,
	end_tick
FROM
	players
	JOIN matches ON matches.checksum = players.match_checksum
	JOIN rounds ON players.match_checksum = rounds.match_checksum
-- WHERE matches.demo_path IN('C:/path1.dem', 'C:/pa…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@JanEricNitschke
Comment options

@akiver
Comment options

Answer selected by JanEricNitschke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants