splewis / csgo-pug-setup

CS:GO Sourcemod plugin for setting up private pug/10man games
GNU General Public License v3.0
413 stars 90 forks source link

Defining location for demos #404

Closed Tolle44 closed 2 years ago

Tolle44 commented 2 years ago

I hope this is simple, but I don't know how to do it myself.

I would like for the demos recorded by csgo pug setup to go into a /demo/ folder instead of the csgo directory. For other reasons unrelated to csgo pug setup, this would be an immensely valuable feature to me.

Can this be done as of now? Otherwise, I would love to see this feature.

Edit: I see this has been asked before and was answered, but I can't seem to make it work. My current line in the pugsetup cfg looks like the following (which doesn't work): sm_pugsetup_demo_nameformat /demo/"Kollegaliga{TIME}_{MAP}"

I also tried: sm_pugsetup_demo_nameformat "/demo/Kollegaliga{TIME}_{MAP}"

Neither works. Got this for the first mentioned example: L 05/10/2022 - 16:43:24: [pugsetup.smx] Recording to /demo/"Kollegaliga_2022-05-10_1643_de_dust2" CDemoFile::Open: couldn't open file /demo/.dem for writing. StartRecording: couldn't open demo file /demo/.dem.

Tolle44 commented 2 years ago

Realized the demo/ should be inside the "" and no / in front.