get5 icon indicating copy to clipboard operation
get5 copied to clipboard

Adding date to demos and the ability to create (sub)folders.

Open DennisF10 opened this issue 4 years ago • 2 comments

I wondeirng if you could splitt the {TIME} cvar in two

e.g.

get5_time_format = %H_%M = {TIME} get5_date_fortmat = %Y-%m-%d = {DATE}

I'm aware that using {DATE} alone would cause problems without using other cvars but if you also add the ability to create directories by its own we could store demos like /{DATE} /{TIME}_{MAPNAME} which would be really great.

DennisF10 avatar Mar 31 '20 02:03 DennisF10

@DennisF10 you can also use {TEAM1} vs {TEAM2} also in the Demo Name Structure.

TandelK avatar Apr 08 '20 08:04 TandelK

@DennisF10 you can also use {TEAM1} vs {TEAM2} also in the Demo Name Structure.

I know but if you don't set a teamname everytime it doesn't help with organizing demos.

DennisF10 avatar May 16 '20 12:05 DennisF10

So I'm working on getting the sub folders going here, and they will only support the matchID to be replaced. However, it appears that demos already support an array of substituion, {TIME} included.

https://github.com/splewis/get5/blob/fe9db191d30cae9a6ae36f0b410aaa46ea76e0d4/scripting/get5.sp#L1873-L1883

https://github.com/splewis/get5/blob/fe9db191d30cae9a6ae36f0b410aaa46ea76e0d4/scripting/get5/recording.sp#L17

I feel like if you're recording demoes, you should be keen to use the match ID as well, and then use the {TIME} substitution in it as well, that should help with sorting at least.

PhlexPlexico avatar Aug 25 '22 14:08 PhlexPlexico