A lot of people were asking me how to create no-steam dedicated server for Counter-Strike Global Offensive. I have explained this few times on our forum but I think it needs more exposure, so lets start.
Installing SteamCMD tool
First we need to download and install SteamCMD tool.
Windows
- Create a folder for SteamCMD.
C:/steamcmd
- Download the SteamCMD (Windows) Update Tool.
http://media.steampowered.com/installer/steamcmd.zip
- Extract the contents of the zip to the folder.
Linux
adduser steam
su - steam
- Create a directory for SteamCMD.
mkdir /home/steam/steamcmd
cd /home/steam/steamcmd - Download the SteamCMD (Linux) Update Tool.
wget http://media.steampowered.com/installer/steamcmd_linux.tar.gz
- Extract the contents to the directory.
tar -xvzf steamcmd_linux.tar.gz
How to Run SteamCMD
Windows
Open a Command Prompt and start SteamCMD.
cd C:\steamcmd
steamcmd
Linux
Open a terminal and start SteamCMD.
cd /home/steam/steamcmd
./steamcmd.sh
SteamCMD Login
To download most game servers, you can login anonymously.
login anonymous
Downloading the CS:GO Dedicated Server
Windows
force_install_dir c:\csgo-ds\
force_install_dir .\csgo-ds\
Linux
force_install_dir /full/path/to/csgo-ds/
How to Download or Update our server…
app_update 740 validate
If you did everything correctly your server will start downloading or updating the files. Now take a cup of coffee and relax till this finishes 🙂
Installing SourceMod and Metamod Source
Metamod Source
First download the latest snapshot for your OS from the following link:
http://www.sourcemm.net/snapshots
I suggest you to use the stable branch…
- Extract the metamod source archive you downloaded in csgo directory…
./csgo-ds/csgo/
Sourcemod
Download the latest snapshot for your OS from the following link:
http://www.sourcemod.net/snapshots.php
I suggest you to use the stable branch…
- Extract the sourcemod archive you downloaded in csgo directory…
./csgo-ds/csgo/
Configuring your server to accept non steam users
- Go to .csgo/csgo/cfg/sourcemod and using your favorite text editor open the file called sourcemod.cfg
At the top of the document insert:
sv_lan 1
- Now go to .csgo/csgo/cfg and open the file called server.cfg. If you don’t have such file then create it.
Add this line to the file:
sv_lan 0
Installing revEmu
- Download the latest version from the following link
http://bir3yk.net/forum/topic_179/ - If you are using the Linux server, first you should go to ./csgo-ds/bin, find steamclient.so and rename it to steamclient_valve.so
- Open the archive and use the files according to your OS. For Linux open the Linux folder and extract the content to your main installation directory. In our case it is ./csgo-ds. For Windows use the files in the Server folder.
Starting the Server
Classic Casual:
srcds -game csgo -console -usercon +game_type 0 +game_mode 0 +mapgroup mg_bomb +map de_dust +sv_pure 0
Classic Competitive:
srcds -game csgo -console -usercon +game_type 0 +game_mode 1 +mapgroup mg_bomb_se +map de_dust2_se +sv_pure 0
Arms Race:
srcds -game csgo -console -usercon +game_type 1 +game_mode 0 +mapgroup mg_armsrace +map ar_shoots +sv_pure 0
Demolition:
srcds -game csgo -console -usercon +game_type 1 +game_mode 1 +mapgroup mg_demolition +map de_lake +sv_pure 0
Deathmatch:
srcds -game csgo -console -usercon +game_type 1 +game_mode 2 +mapgroup mg_allclassic +map de_dust +sv_pure 0