This script automates the installation of a CS 1.6 server. Follow these steps:
I found that adding -beta steam_legacy
in steamcmd won't download the legacy gamedll.
The new gamedll caused amxmodx to not function correctly.
Therefore, I uploaded the legacy gamedll to this repository (the script will automatically download this
- Put the install.bat to a empty folder.
- Just double click the install.bat
- Follow the instructions in the command prompt.
-
Install SteamCmd
First, You have to install SteamCmd, follow this instruction that made by Valve
-
Ensure Required Packages:
Make sure the
unzip
package is installed. If it's not, run the following command: (Ubuntu)sudo apt install unzip
-
Set Script Permissions:
Make the script executable by running:
chmod +x install.sh
-
Customize Installation:
By default, the script installs the
steam_legacy
version of HLDS with MetaMod-AM, and AMXX 1.10.If you want to install ReHLDS, use the
--rehlds
parameter (which also installs MetaMod-R instead of MetaMod-AM).To install with ReGameDLL, use the
--regamedll
parameter (which also installs ReHLDS, MetaMod-R and ReAPI).
-
Run the Script:
Execute the script to set up your server:
./install.sh
-
Example Command:
The following command will install ReHLDS, ReGameDLL,MetaMod-R, ReAPI, and AMXX 1.10 into the
./csds
directory../install.sh --regamedll ./csds
You can customize the download links in the script according to your needs. Enjoy setting up your CS 1.6 server! 😊🎮