Last active
January 21, 2024 03:47
-
-
Save agentcobra/f89827948284fe390feb80c7e93f4320 to your computer and use it in GitHub Desktop.
Install PalworlServer on debian
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Définir le nom d'utilisateur par défaut | |
default_user="steam" | |
# Utiliser le premier argument comme nom d'utilisateur, ou la valeur par défaut si absent | |
user=${1:-$default_user} | |
# Installation de SteamCMD | |
useradd -m -s /bin/bash $user | |
apt-add-repository non-free | |
dpkg --add-architecture i386 | |
apt update | |
apt install -y software-properties-common steamcmd | |
# Installation de Palworld | |
sudo -u $user /usr/games/steamcmd +login anonymous +app_update 2394010 validate +quit | |
ln -s /home/$user/.steam/steam/steamapps/common/PalServer /home/$user/ | |
# Correction de steamclient.so | |
sudo -u $user /usr/games/steamcmd +login anonymous +app_update 1007 +quit | |
ln -s /home/$user/.local/share/Steam/steamapps/common/Steamworks\ SDK\ Redist/linux64 /home/$user/.steam/sdk64 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment