Counter Strike 1.6 Install

From 2047Servers Support
Jump to: navigation, search
 
Line 29: Line 29:
  
  
== Installing HLDS + Steam ==
+
== Installing SteamCMD + Steam ==
  
First you will need to download HLDS (Half Life Dedicated Server)
+
First you will need to download HLDS (Half Life Dedicated Server) via SteamCMD (Replacement to hldsupdatetool)
  
<pre>wget http://www.steampowered.com/download/hldsupdatetool.bin</pre>
+
<pre>wget http://media.steampowered.com/client/steamcmd_linux.tar.gz</pre>
  
After downloading you will need to change the file into an executable file, so you can run it
+
After downloading you will need to extra the compressed folder
  
<pre>chmod +x hldsupdatetool.bin && ./hldsupdatetool.bin</pre>
+
<pre>tar xvfz steamcmd_linux.tar.gz</pre>
  
When you run the file you will have to also type "yes" to agree with Terms & Conditions (You will have to do this a few times during this install)
+
Then run the installer
  
You may not have to unzip or uncompress the files you just downloaded (Not always needed, but do this anyways as most of the time you do need it
+
<pre>./steamcmd.sh</pre>
  
<pre>ln -s /bin/gunzip /bin/uncompress && ./hldsupdatetool.bin</pre>
+
Now you must login either using the anonymous account or your own account
  
Again you may have to agree with some T's & C's with answer "yes"
+
<pre>login anonymous</pre>
  
Now you can run hlds again, you may have to agree again with answer "yes"
+
((Logging in your with account - Replace "<username>" with your username, it should then ask for your password))
  
<pre>./hldsupdatetool.bin</pre>
+
<pre>login <username></pre>  
  
Now you can run Linux Steam Client
 
  
<pre>./steam</pre>
 
  
Again you may have to agree with some T's & C's with answer "yes"
+
== Downloading CS 1.6 ==
  
Thats it, You have installed HLDS & Steam (It may ask you to run ./steam again just to check its downloaded the latest files
+
After installing SteamCMD it should run, if not just run the above command again.
  
== Downloading CS 1.6 ==
+
You will now need to set the install directory e.g. we will go with cs1.6
 +
 
 +
<pre>force_install_dir ./cs1.6/</pre>
 +
 
 +
There are 2 options for installing a CS 1.6 Server (Normal & Beta, both commands are shown here)
 +
 
 +
Installing normal version (This just installs HLDS - Without Cstrike)
 +
 
 +
<pre>app_update 90 validate</pre>
 +
 
 +
Set the HLDS MOD (Cstrike is a Mod for Half Life)
 +
 
 +
<pre>app_set_config 90 mod cstrike</pre>
 +
 
 +
Then run the HLDS Mod installer (This time it knows you want a cstrike server so it will get the files for that)
 +
 
 +
<pre>app_update 90 validate</pre>
  
Once you have done the tasks above you can now install a Steam Game Server, To install CS1.6 to the current folder you command
+
Installing the beta version
  
<pre>./steam -command update -game "cstrike" -dir .</pre>
+
<pre>app_update "90 -beta beta" validate</pre>
  
 
This will check the current folder & download any / all missing files for a Counter Strike 1.6 Server (you can use this command to redownload files that you may have deleted
 
This will check the current folder & download any / all missing files for a Counter Strike 1.6 Server (you can use this command to redownload files that you may have deleted
Line 83: Line 97:
 
Max Players - up to 32, Port (Best to use unused ones e.g. 25XXX-27XXX
 
Max Players - up to 32, Port (Best to use unused ones e.g. 25XXX-27XXX
  
<pre>./hlds_run -game cstrike -autoupdate +maxplayers 12 -port 25100</pre>
+
<pre>./hlds_run -game cstrike -autoupdate +maxplayers 12 -port 25100 +map de_dust</pre>
  
 
If all done right your server should start up fine & the last thing it should say is "VAC Secure" or something very simular, If not try downloading the files again, just incase it missed a few (highly unlikly)
 
If all done right your server should start up fine & the last thing it should say is "VAC Secure" or something very simular, If not try downloading the files again, just incase it missed a few (highly unlikly)

Latest revision as of 18:47, 7 September 2013

Personal tools
Namespaces

Variants
Actions
Navigation
Categories