@echo off
SET mapcycle=%ThisService_RootDirectory%game\csgo\mapcycle.txt.backup
SET maplist=%ThisService_RootDirectory%game\csgo\maplist.txt.backup
SET server=%ThisService_RootDirectory%game\csgo\cfg\server.cfg.backup
if exist "%mapcycle%" (
move /y %mapcycle% %ThisService_RootDirectory%game\csgo\mapcycle.txt
)
if exist "%maplist%" (
move /y %maplist% %ThisService_RootDirectory%game\csgo\maplist.txt
)
if exist "%server%" (
move /y %server% %ThisService_RootDirectory%game\csgo\cfg\server.cfg
)
@echo off
SET mapcycle=%ThisService_RootDirectory%game\csgo\mapcycle.txt
SET maplist=%ThisService_RootDirectory%game\csgo\maplist.txt
SET server=%ThisService_RootDirectory%game\csgo\cfg\server.cfg
if exist "%mapcycle%" (
move /y %mapcycle% %ThisService_RootDirectory%game\csgo\mapcycle.txt.backup
)
if exist "%maplist%" (
move /y %maplist% %ThisService_RootDirectory%game\csgo\maplist.txt.backup
)
if exist "%server%" (
move /y %server% %ThisService_RootDirectory%game\csgo\cfg\server.cfg.backup
)
You can update to 2.0.182.0 or use this script
from System.IO import Directory, Path if Directory.Exists(Path.Combine(ThisService.RootDirectory, 'steamapps')): Directory.Delete(Path.Combine(ThisService.RootDirectory, 'steamapps'), True)
When installing a large 4+ GB mod, after a while it gives an error "Couldn 't find part of the path "C:\TCAFiles\Users\nabjltuu\41120\steamapps\workshop\content\221100\2867432614"