Skip to content

hollacs/CS-1.6-Server-Install

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automatic CS 1.6 Server Installation Script

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

Windows

  1. Put the install.bat to a empty folder.
  2. Just double click the install.bat
  3. Follow the instructions in the command prompt.

Linux

  1. Install SteamCmd

    First, You have to install SteamCmd, follow this instruction that made by Valve


  2. Ensure Required Packages:

    Make sure the unzip package is installed. If it's not, run the following command: (Ubuntu)

    sudo apt install unzip
    

  3. 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).


  1. 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! 😊🎮