Steamcmd

From UnKnoWnCheaTs Game Hacking Wiki
Jump to: navigation, search

Steamcmd or the Steam Console Client is the replacement utility for the now deprecated HldsUpdateTool.

Unlike HldsUpdateTool, Steamcmd can retrieve game and dedicated server files for any application utilizing Valve's SteamPipe content delivery system.

Installation

Windows

  • Download Steamcmd from the official Steam site.
  • Extract to a folder and run the steamcmd.exe executable.

Linux

  • Install 32-bit GCC libraries.
# ubuntu
apt-get install lib32gcc1

# red hat (32-bit)
yum install glibc libstdc++

# red hat (64-bit)
yum install glibc.i686 libstdc++.i686

# arch linux
pacman -S lib32-gcc-libs
  • Download Steamcmd from the official Steam site.
  • Extract using tar -xfz ./steamcmd_linux.tar.gz and run the ./steamcmd.sh script.

Mac OS X

  • Download Steamcmd from the official Steam site.
  • Extract using tar -xfz ./steamcmd_osx.tar.gz and run the ./steamcmd.sh script.

Usage

Authentication

Once Steamcmd has updated you will find yourself at a command prompt.

Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK.

Steam>

Anonymously

Common dedicated servers for games such as Counter-Strike: Global Offensive can be downloaded anonymously.

To do this, simply type login anonymous and wait for the prompt to re-appear.

Authenticated

If you find the application you want to download requires a license you will need to sign in with your Steam account.

This can be done by using the login command. You will automatically be prompted for your Steam Guard code if required.

Once signed in your details will be cached and subsequent logins will not require your password.

Steam>login username password

Downloading

Note: If you need to look up a games application ID refer to the games SteamDB page.

Now that you're authenticated you can download whatever you want, as long as you have access to it.

Firstly, set where you want to install the application by issuing a force_install_dir command.

Steam>force_install_dir /home/srcds/steamapps/csgo/

Now that the location has been set you can now download the application of choice.

For this example I'll be installing the CS:GO dedicated server. To do this, issue a app_update [AppID] command.

Steam>app_update 740

Once the process is completed you can exit Steamcmd with the exit command.

Note: You can use this same procedure when you need to update your dedicated server to the latest version.

Running

Dedicated servers for different games and engines have their own launch and configuration options.

For general information refer to the links below:

External links

--Shadiku (talk) 12:54, 2 December 2015 (GMT)