Setting up a Source Dedicated Server (Windows)
This is Quickstart guide - Setting up a Source Dedicated Server into your home PC (Windows version) using SteamCMD tool.
Get SteamCMD tool (Download Link), extract zip file and place steamcmd.exe in this directory structure.
Open notepad.exe and create TXT file in same destination, named update.txt and create BATCH file named steamcmd_run.bat.
Inside steamcmd_run.bat file, save this script.
steamcmd.exe +runscript update.txt
Inside update.txt file, save this SteamCMD script
login anonymous force_install_dir "../Counter-Strike Global Offensive" app_update 740 validate force_install_dir "../Counter-Strike Source" app_update 232330 validate //force_install_dir "../Half-Life 2 Deathmatch" //app_update 232370 validate //force_install_dir "../Day of Defeat Source" //app_update 232290 validate force_install_dir "../Team Fortress 2" app_update 232250 validate
Run steamcmd_run.bat file, SteamCMD window should appear and start downloading files. If everything is done right, you get SRCDS in C:\server\
Find srcds.exe program from SRCDS game directory. For example in CS:GO mod:
C:\server\Counter-Strike Global Offensive\srcds.exe
Create shortcut from srcds.exe and open shortcut properties.
In shortcut properties Target: input, you see path to the program.
"C:\Server\counter-strike global offensive\srcds.exe"
- By adding parameter -console, you run SRCDS without GUI
- Adding parameter -game, you set <game mod> folder you are going to run
- Adding SRCDS command +map, you start server with specific map. You find maps in ...<game mod>/maps/ folder
Example to run Counter-Strike: Global Offensive dedicated server
"C:\Server\counter-strike global offensive\srcds.exe" -console -game csgo +map de_dust2
Examples for other games
"C:\Server\Counter-Strike Source\srcds.exe" -console -game cstrike +map de_dust2 "C:\Server\Team Fortress 2\srcds.exe" -console -game tf +map cp_dustbowl
Close all running SRCDS servers and run steamcmd_run.bat