Steam, server, steamcmd: Difference between revisions

From Funiaita
Line 42: Line 42:
You could do the whole thing in one line directly from the command line, but you should first try the slow approach:
You could do the whole thing in one line directly from the command line, but you should first try the slow approach:
steamcmd +login anonymous +force_install_dir ./wurm/ +app_update 402370 +quit
steamcmd +login anonymous +force_install_dir ./wurm/ +app_update 402370 +quit

If your current user was named 'petra' you'd now find the game inside
/home/petra/.steam/steamcmd/wurm
From here it depends on the game how to start it.

Revision as of 19:52, 20 October 2017

get your Debian to Stretch

Please be careful, if at your time of reading "Stretch" is not any longer the current version.


I am doing this with Debian 9 "Stretch", so if you are using an older version, you "can" try the following to upgrade:

  • make your system current:
apt-get update && apt-get upgrade
  • edit /etc/apt/sources.list
    • replace all occurrences of "jessie" or whatever with "stretch"
    • add "non-free" behind main, example:
deb http://ftp.de.debian.org/debian/ stretch main non-free
  • do the upgrade to the new version
apt-get update
apt-get upgrade
apt-get dist-upgrade
shutdown -r now

install steamcmd

dpkg --add-architecture i386
apt-get update
apt-get install lib32gcc1
apt-get install steamcmd

Info: I did not see steamcmd via "apt-cache search" until I added i386 AND did the "apt-get update"

login to the steam server

Now you switch to a normal user, someone who is not root.

steamcmd
Steam> login anonymous

Do NOT use a fresh account for Wurm Unlimited. It will only work for anonymous and perhaps for accounts which possess the game for real.

For other games, where you can't use anonymous: After you give the password and perhaps the Steam Guard code, you should not use logout. If you use logout the caching file which will allow you to login without giving the password will get deleted.

install server, example Wurm Unlimited

Steam> force_install_dir ./wurm/
Steam> app_update 402370

402370 is the application id, get the one for your server here: https://developer.valvesoftware.com/wiki/Dedicated_Servers_List If your server is not there, you'll have to google or just ask in the forum of the game.

You could do the whole thing in one line directly from the command line, but you should first try the slow approach:

steamcmd +login anonymous +force_install_dir ./wurm/ +app_update 402370 +quit

If your current user was named 'petra' you'd now find the game inside

/home/petra/.steam/steamcmd/wurm

From here it depends on the game how to start it.