Dennis Posted October 2, 2023 Share Posted October 2, 2023 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. Prerequisite (Windows only) 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 Prerequisites (Windows and Linux) 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, 2023 Author Share Posted October 2, 2023 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, 2023 Share Posted October 4, 2023 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, 2023 Share Posted October 4, 2023 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, 2023 Share Posted October 4, 2023 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, 2023 Share Posted October 4, 2023 (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, 2023 by MoKotik Link to comment Share on other sites More sharing options...
mdqservers Posted October 4, 2023 Share Posted October 4, 2023 yes @MoKotik! already done Link to comment Share on other sites More sharing options...
godzyla2002 Posted October 17, 2023 Share Posted October 17, 2023 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, 2023 Author Share Posted October 17, 2023 @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, 2023 Share Posted October 18, 2023 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, 2023 Share Posted November 7, 2023 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, 2023 Share Posted November 10, 2023 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...
Gardiny Posted December 18, 2023 Share Posted December 18, 2023 anyone have working steamworkshop install and uninstall? script in this config dont work for me Link to comment Share on other sites More sharing options...
Dennis Posted December 26, 2023 Author Share Posted December 26, 2023 What's New in Version 1.0.2 [Added] Metamod Source [Added] CounterStrikeSharp [Fix] Download and start SteamCMD as the user on Linux 1 Link to comment Share on other sites More sharing options...
Smolf Posted January 9 Share Posted January 9 (edited) Cant get server to work, dont start? Copy the following files from Steam client installation folder to C:\TCAFiles\Games\cs2\game\bin\win64 tier0_s64.dll vstdlib_s64.dll - i dont have that in my own folder on my computer? steamclient64.dll Already did this on my windows server Edited January 9 by Smolf vstdlib_s64.dll Link to comment Share on other sites More sharing options...
Smolf Posted January 12 Share Posted January 12 Anyone godt the 3 files, so i can try to upload them? Link to comment Share on other sites More sharing options...
nubprah Posted January 13 Share Posted January 13 (edited) 23 hours ago, Smolf said: Anyone godt the 3 files, so i can try to upload them? You should have them in your PC, maybe try validating steam. I can provide the files worst case but you should be able to get them pretty easily yourself. Or why don't you just install steam client on your Windows server and then do the system variable or just drop them in. I don't really like this method of dropping the files in win64 as these files get updated sometimes with steam updates and I'm not sure what issues would occur on the game servers in the future running outdated versions. Maybe nothing, I don't know. Also if you planned on using metamod and counterstrikesharp then I think you actually don't need the 3 dll files mentioned above, as metamod and css fix this themselves. Edited January 13 by nubprah Link to comment Share on other sites More sharing options...
DoomHammer69 Posted January 17 Share Posted January 17 Thanks for the time to make this config functional. I have a problem with secondarys/failover IPs. Tcadmin select the correct and try to launch it but cs2 servers still launch with the main IP of the machine. Someone has the same problem or how to solve it? Thanks. Link to comment Share on other sites More sharing options...
REDRUM Posted February 2 Share Posted February 2 Can somone suggest to what I am doing wrong, installed config. Copied three files over. Still does not want to start. Any help would be greatly appreciated. Link to comment Share on other sites More sharing options...
Dennis Posted February 2 Author Share Posted February 2 Can you start the service manually? https://docs.tcadmin.com/using-tcadmin/manage-game-voice-services/troubleshooting-game-voice-services/#running-the-service-manually Link to comment Share on other sites More sharing options...
volborg Posted February 6 Share Posted February 6 Hi there I'm also having trouble getting it to start up I have tried to start it manually and a window pops up for 1 second and closes again so I can't see what it says Anyone have an idea what I should look for? Kører (PID 0) Link to comment Share on other sites More sharing options...
volborg Posted February 7 Share Posted February 7 I think I've come to the conclusion that maybe it's because I don't have them here in 64 bit But I have tier0_s.dll vstdlib_s.dll steamclient.dll and not tier0_s64.dll vstdlib_s64.dll steamclient64.dll Link to comment Share on other sites More sharing options...
Dennis Posted February 8 Author Share Posted February 8 Yes, you need the 64-bit DLLs. That's also what the post says Link to comment Share on other sites More sharing options...
MisterPrince Posted February 10 Share Posted February 10 Hello, can you help me by Steam Workshop? Log Details Executing before Workshop install/update scripts... Downloading file 3155069052 from Steam... Preparing SteamCmd... Downloading DC | AIM & MOVEMENT | TRAINING (CS2) from Steam (996959086/996959086)... Executing after Workshop install/update scripts... DC | AIM & MOVEMENT | TRAINING (CS2) Exception Link to comment Share on other sites More sharing options...
REDRUM Posted February 10 Share Posted February 10 On 2/7/2024 at 12:18 PM, volborg said: I think I've come to the conclusion that maybe it's because I don't have them here in 64 bit But I have tier0_s.dll vstdlib_s.dll steamclient.dll and not tier0_s64.dll vstdlib_s64.dll steamclient64.dll I think I stayed up too late one night and my eyes got the best of me. I did the same thing. Its working, I also learned turning off my authenticator it allowed the steam update to work. On 2/8/2024 at 12:20 PM, Dennis said: Yes, you need the 64-bit DLLs. That's also what the post says Thanks Dennis, sorry for the late reply from when you were trying to help me out, I ran into other things I ended up taking care of first. 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