Należy zacząć od instalacji steamcmd
instalacja potrzebnych pakietów
apt-get install lib32gcc-s1
apt-get install tmux screen -y;
add-apt-repository multiverse
apt install software-properties-common
dpkg --add-architecture i386
Od debiana 11 należy dodać następujące repo w /etc/apt/sources.list
czyli odpalamy nano /etc/apt/sources.list i dopisujemy na końcu
deb http://deb.debian.org/debian bullseye main contrib non-free
deb-src http://deb.debian.org/debian bullseye main contrib non-free
deb http://deb.debian.org/debian-security/ bullseye-security main contrib non-free
deb-src http://deb.debian.org/debian-security/ bullseye-security main contrib non-free
deb http://deb.debian.org/debian bullseye-updates main contrib non-free
deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free
następnie wklejamy następujące polecenia
sudo apt install software-properties-common
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install lib32gcc-s1 steamcmd
teraz można odpalić steamcmd
cd ~/Steam
./steamcmd.sh
teraz należy ustawić ścieżkę instalacji cs2
force_install_dir /home/cs2/
aby zainstalować cs2 należy się jeszcze zalogować na swoje konto
login <username> [<password>] [<Steam guard code>]
i teraz już wystarczy odpalić instalację
app_update 730 validate
tak przebiega proces instalacji:
aby odpalić serwer należy przejść do folderu z grą, w tym przypadku
cd /home/cs2
następnie wejść do
cd game/bin/linuxsteamrt64/cs2
i na tym etapie można odpalić serwer
.
/cs2 -dedicated +map de_dust2
tryby gry
Competitive:
game_alias competitive <- sets both game mode and game type commands
game_mode 1
game_type 0
Wingman
game_alias wingman <- sets both game mode and game type commands
game_mode 2
game_type 0
Casual
game_alias casual <- sets both game mode and game type commands
game_mode 0
game_type 0
Deathmatch
game_alias deathmatch <- sets both game mode and game type commands
game_mode 2
game_type 1
Custom
game_alias custom <- sets both game mode and game type commands
game_mode 0
game_type 3