AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Source Servers (SRCDS) (https://forums.alliedmods.net/forumdisplay.php?f=130)
-   -   CSGO demo file location (https://forums.alliedmods.net/showthread.php?t=320786)

goodBEan 01-08-2020 20:49

CSGO demo file location
 
How can I change the location of where demo files are stored when running gotv on a csgo server. Currently its going to the base csgo dir but I need them to go to the csgo/logs folder. I know I did it before but I don't remember how.

I just cant find that cvar

DarkDeviL 01-08-2020 22:42

Re: CSGO demo file location
 
When you start the recording, simply add the full path to the desired "destination" file name, e.g.:

PHP Code:

tv_record "/home/csgoservers/some/fancy/path/auto-whatever-filename-you-want-here.dem" 


goodBEan 01-08-2020 22:53

Re: CSGO demo file location
 
the thing is that get5 will be doing the recording and I don't see the cvar in that to change the that command. Also this server will be automated

DarkDeviL 01-08-2020 23:09

Re: CSGO demo file location
 
Quote:

Originally Posted by goodBEan (Post 2679480)
the thing is that get5 will be doing the recording and I don't see the cvar in that to change the that command.

In that case, it would be a problem between you and get5( developers) to figure out.

The information about get5 would have been valuable from the whole beginning of the thread, please remember such information in the future - elaborate as much as possible about your set up.

A quick Googling indicate that get5 is simply using the same, above, tv_record feature with a parameter with it's file name / full path.

Fortunately for you, it seems like you can simply do the same kind of stuff using get5_demo_name_format configuration variable in the same way as mentioned above, according to the documentation @ "Recording match demos".

Could you give that a try and then please respond back, if it helps / solves the problem?

Quote:

Originally Posted by goodBEan (Post 2679480)
Also this server will be automated

Laziness is the root of all evil. :'(

goodBEan 01-09-2020 08:42

Re: CSGO demo file location
 
Quote:

Originally Posted by DarkDeviL (Post 2679484)
In that case, it would be a problem between you and get5( developers) to figure out.

The information about get5 would have been valuable from the whole beginning of the thread, please remember such information in the future - elaborate as much as possible about your set up.

A quick Googling indicate that get5 is simply using the same, above, tv_record feature with a parameter with it's file name / full path.

Fortunately for you, it seems like you can simply do the same kind of stuff using get5_demo_name_format configuration variable in the same way as mentioned above, according to the documentation @ "Recording match demos".

Could you give that a try and then please respond back, if it helps / solves the problem?



Laziness is the root of all evil. :'(


I initally thought it was a cvar I set a while back and I could not remember the cvar (at least i thought it was a cvar). I wasn't sure if it was a cvar I setup in the past or what. It was a long time ago when I setup my first csgo tourney servers. I was pretty much exhausted and burnt out last night when I saw where the demo files were.

The thing is about my server being automated. The server is going to be used in a tournament inside a docker container. Baiscly when I launch the server I have to fill the blanks in the script, server launches, does it thing, then terminates. I just need the demo files and log files to be in the same place in order to retrieve them.

I will try it later tonight. I am hoping get5 will allow a directory location.

Also will that cvar just allow me to use \logs\filename.dem or does it have to be the full path?

DarkDeviL 01-09-2020 22:16

Re: CSGO demo file location
 
Quote:

Originally Posted by goodBEan (Post 2679512)
I will try it later tonight. I am hoping get5 will allow a directory location.

Seems as I said like it does exactly as others (tie that configuration variable together with e.g. tv_record function), so I can't see why it wouldn't "allow", the question is just if the location that it allows matches you:

Quote:

Originally Posted by goodBEan (Post 2679512)
Also will that cvar just allow me to use \logs\filename.dem or does it have to be the full path?

If you are simply providing a relative path, e.g. "logs/[...]" or "demos/[...]", then the path you give will become relative to your game directory, (e.g. starting from /home/csgoservers/srds/192.168.123.45_27015/csgo/), short said, starting from the root of where you also have your "maps", "cfg", and "addons" folders. :)

So for you, the relative path should be just fine.


All times are GMT -4. The time now is 02:35.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.