CS 1.6 on a Windows install

Post Reply
User avatar
Edge100x
Founder
Founder
Posts: 12945
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

CS 1.6 on a Windows install

Post by Edge100x »

  1. Open up Windows Explorer and create the folder "c:\game installs", then navigate to it.
  2. Download steamcmd from here: http://media.steampowered.com/client/steamcmd_win32.zip.
  3. Extract the contents of this zipfile into c:\steam.
  4. Double-click steamcmd.exe.
  5. Enter commands like these into the window to download the latest beta CS 1.6/HLDM files to a folder called "hldsbase":

    Code: Select all

    login anonymous
    force_install_dir hldsbase
    app_update 90 validate
    
  6. Download a good example server.cfg file such as ours from http://files.nfoe.net/index.php?dirpath ... 16&order=0, and overwrite Valve's provided one inside the "c:\game installs\hldsbase\cstrike" folder.
  7. Double-click "hlds.exe". This will bring up a "Start Dedicated Server" panel (made by Valve and included with the game) that allows you to start up a new dedicated server and provides various controls to interact with the server.
When Valve comes out with a dedicated server update, simply close out your server window, then re-run the steamcmd.exe steps again to have it download the new files.

To make starting the server easier in the future, you can create a shortcut for the game server, and also make it start at a higher priority.
  1. Right-click on your desktop and select New->Shortcut.
  2. Enter this into the field:

    Code: Select all

    cmd.exe /c start /high /d"c:\game installs\hldsbase" "Game server" "c:\game installs\hldsbase\hlds.exe"
    If you'd like to skip Valve's GUI and just run a bare server, you can also add advanced bits to the end of that shortcut, specifying your server's IP, number of players, and starting map manually:

    Code: Select all

    +ip xxx.xxx.xxx.xxx +maxplayers xx +map de_dust -debug -console -nocrashdialog
  3. Click next, then click finish.
More information on SteamCMD is located in Valve's wiki.
Post Reply