Difference between revisions of "Setting up a Source Dedicated Server (Windows)"

From AlliedModders Wiki
Jump to: navigation, search
(Installing SRCDS: YouTube Video)
m (hidden template broken. removing it.)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
This is '''Quickstart guide''' - Setting up a '''Source Dedicated Server''' into your home PC (Windows version) using [https://developer.valvesoftware.com/wiki/SteamCMD SteamCMD tool].
 
This is '''Quickstart guide''' - Setting up a '''Source Dedicated Server''' into your home PC (Windows version) using [https://developer.valvesoftware.com/wiki/SteamCMD SteamCMD tool].
 
__TOC__
 
__TOC__
 +
[https://youtu.be/SF7lGzZM6Q0?list=PLDz5Z5KigHNV0QDPeO3bCl09GblHV0pX0 YouTube Video Installing SRCDS - Wiki guide]<br/>
 +
[https://youtu.be/3XC8RnpgDgo?list=PLDz5Z5KigHNV0QDPeO3bCl09GblHV0pX0 YouTube Video Launching SRCDS - Wiki guide]
  
 
==Installing SRCDS==
 
==Installing SRCDS==
[[File:Steamcmd files.png|thumb|50px|none]] [https://youtu.be/SF7lGzZM6Q0?list=PLDz5Z5KigHNV0QDPeO3bCl09GblHV0pX0 YouTube Video]
+
[[File:Steamcmd files.png|thumb|50px|none]]
 
Get '''SteamCMD tool''' ([https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip Download Link]), extract zip file and place '''steamcmd.exe''' in this directory structure.
 
Get '''SteamCMD tool''' ([https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip Download Link]), extract zip file and place '''steamcmd.exe''' in this directory structure.
 
{| border="0"
 
{| border="0"
Line 39: Line 41:
 
  app_update 232250 validate
 
  app_update 232250 validate
  
{{Note|''If some reason you fail to create these above files, you can download those from google drive {{hidden|id=last2|label=Hidden Link!|labelonly=yes}}''
+
{{Note|''If some reason you fail to create these above files, you can download those from google drive''}}
{{hidden|id=last2|contentonly=yes|label=none|content=https://drive.google.com/open?id=1Hb81rG2D5exQlPz1icLVG3c6VtIwedGP}}}}
+
https://drive.google.com/open?id=1Hb81rG2D5exQlPz1icLVG3c6VtIwedGP
 +
<br/>
 
<br/>
 
<br/>
 
Run '''steamcmd_run.bat''' file, SteamCMD window should appear and start downloading files.
 
Run '''steamcmd_run.bat''' file, SteamCMD window should appear and start downloading files.
Line 75: Line 78:
 
----
 
----
  
--[[User:Bacardi|Bacardi]] ([[User talk:Bacardi|talk]]) 09:29, 17 November 2018 (CST)
+
--[[User:Bacardi|Bacardi]] ([[User talk:Bacardi|talk]]) 08:05, 30 March 2020 (CDT)
  
 
[[Category:SourceMod for beginners]]
 
[[Category:SourceMod for beginners]]

Latest revision as of 07:05, 30 March 2020

This is Quickstart guide - Setting up a Source Dedicated Server into your home PC (Windows version) using SteamCMD tool.

YouTube Video Installing SRCDS - Wiki guide
YouTube Video Launching SRCDS - Wiki guide

Installing SRCDS

Steamcmd files.png

Get SteamCMD tool (Download Link), extract zip file and place steamcmd.exe in this directory structure.

C:\server\steamcmd\steamcmd.exe

Open notepad.exe and create TXT file in same destination, named update.txt and create BATCH file named steamcmd_run.bat.

C:\server\steamcmd\update.txt
C:\server\steamcmd\steamcmd_run.bat


Inside steamcmd_run.bat file, save this script.

steamcmd.exe +runscript update.txt


Inside update.txt file, save this SteamCMD script

Note:This script will now install multiple SRCDS (CS:GO, CS:S and TF2). Disable lines which you not want to install with double slash // or delete lines
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
Note:If some reason you fail to create these above files, you can download those from google drive

https://drive.google.com/open?id=1Hb81rG2D5exQlPz1icLVG3c6VtIwedGP

Run steamcmd_run.bat file, SteamCMD window should appear and start downloading files. If everything is done right, you get SRCDS in C:\server\

Launching SRCDS

Launch script.png

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

Updating SRCDS

Close all running SRCDS servers and run steamcmd_run.bat




--Bacardi (talk) 08:05, 30 March 2020 (CDT)