Dennis Posted October 2 Share Posted October 2 View File Counter-Strike 2 Expect things to not work properly. This config is based on the game files, and not the dedicated server files as they are not available yet. Despite this config not having a lot of features, getting it working properly has been difficult. Prerequisites (Windows only) Windows Prerequisite #1 Copy the following files from Steam client installation folder to C:\TCAFiles\Games\cs2\game\bin\win64 tier0_s64.dll vstdlib_s64.dll steamclient64.dll Another option is to have the Steam client installed on each of the machines where you want to run CS2 servers. The Steam client path (C:\Program Files (x86)\Steam by default) needs to be added to the Path variable. Open Control Panel (not settings) in Windows Navigate to System and Security > System > Advanced System Settings Click Environment Variables... Under System Variables, select the Path variable and click Edit... Click New and enter the path for your Steam directory Save and restart the TCAdmin Monitor service Windows Prerequisite #2 You will also need to go to the Steam settings in the game template and configure an existing Steam account. You cannot use anonymous. Manual installation Download the config Go to TCAdmin > System > Settings > Game & Voice Hosting > Game & Other Voice Servers > Import Save the config as a new config or chose "Overwrite existing config" if you which to overwrite your current CS config. Remember to select the game in the 'Update Game' field if you do Leave all other settings Features Not a whole lot. Game is pretty new, and there's not much documentation for the dedicated server yet. If you have any recommendations, please post them in the thread. Submitter Dennis Submitted 10/2/2023 Category Game Configs 2 Link to comment Share on other sites More sharing options...
Dennis Posted October 2 Author Share Posted October 2 What's New in Version 1.0.1 Linux version added. [Changed] Force configuration of Steam account 1 Link to comment Share on other sites More sharing options...
SuperNova Posted October 4 Share Posted October 4 On Steam update, the CFG files such as server.cfg are overwritten. Best to add a script before Steam update that backs up the cfg's and then replaces them after update. Link to comment Share on other sites More sharing options...
MoKotik Posted October 4 Share Posted October 4 59 minutes ago, SuperNova said: On Steam update, the CFG files such as server.cfg are overwritten. Best to add a script before Steam update that backs up the cfg's and then replaces them after update. @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 ) Link to comment Share on other sites More sharing options...
mdqservers Posted October 4 Share Posted October 4 Hello how you doing? im getting this error on console already done adding the steam installation directory in path, restarted tca monitor, also added account in game config. Failed to initialize Steamworks SDK for gameserver. Could not determine Steam client install directory. any idea? thanks a lot. Link to comment Share on other sites More sharing options...
MoKotik Posted October 4 Share Posted October 4 (edited) 20 minutes ago, mdqservers said: Hello how you doing? im getting this error on console already done adding the steam installation directory in path, restarted tca monitor, also added account in game config. Failed to initialize Steamworks SDK for gameserver. Could not determine Steam client install directory. any idea? thanks a lot. You update Steam and restart service TCAdmin? Edited October 4 by MoKotik Link to comment Share on other sites More sharing options...
mdqservers Posted October 4 Share Posted October 4 yes @MoKotik! already done Link to comment Share on other sites More sharing options...
godzyla2002 Posted October 17 Share Posted October 17 For linux server do you have script to create backup for server.cfg? Thanks Link to comment Share on other sites More sharing options...
Dennis Posted October 17 Author Share Posted October 17 @godzyla2002 You can just disable the "Validate" feature in the Steam settings for the config. Link to comment Share on other sites More sharing options...
Jimmy-CS Posted October 18 Share Posted October 18 You can also create a config file template such as config.cfg and use +exec config.cfg in the commandline parameter. Link to comment Share on other sites More sharing options...
tangogc Posted November 7 Share Posted November 7 hello I have a strange cs2 crash on startup caused by command line If I run this command line with a .bat file work correctly if I run in tcadmin it crash during startup cs2.exe -dedicated -usercon -console -dev +game_type 0 +game_mode 0 +sv_logfile 1 -serverlogging -ip 95.110.133.131 -port 27015 -maxplayers 12 +map cs_italy I make some test with all parameters and I have discovered that all those command work correctly cs2.exe -dedicated -usercon -console -dev +game_type 0 +game_mode 0 +sv_logfile 1 -serverlogging -ip 95.110.133.131 -port 27015 -maxplayers 12 but as soon I add +MAP the server crash on startup +map xxxxxxx Any help ? thanks a lot Link to comment Share on other sites More sharing options...
tangogc Posted November 10 Share Posted November 10 fixed using this procedure Copy the following files from Steam client installation folder to C:\TCAFiles\Games\cs2\game\bin\win64 tier0_s64.dll vstdlib_s64.dll steamclient64.dll Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now