get5
get5 copied to clipboard
Adding date to demos and the ability to create (sub)folders.
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 you can also use {TEAM1} vs {TEAM2} also in the Demo Name Structure.
@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.
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.