Last active
July 31, 2022 06:07
-
-
Save IcedShake/866e9c847f7e463b65dc01c19f97c45c to your computer and use it in GitHub Desktop.
Set up steamcmd using box86 & box64
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
#!/bin/sh | |
# Place script where steamcmd.sh is located | |
sudo wget https://itai-nelken.github.io/weekly-box86-debs/debian/box86.list -O /etc/apt/sources.list.d/box86.list | |
wget -qO- https://itai-nelken.github.io/weekly-box86-debs/debian/KEY.gpg | sudo apt-key add - | |
sudo dpkg --add-architecture armhf | |
sudo apt update && sudo apt install -y box64 box86:armhf libc6:armhf libncurses5:armhf libstdc++6:armhf libsdl2-2.0-0:armhf | |
# Launch & exit to download required files for steamcmd only | |
./steamcmd.sh +quit | |
# Symlink steamclient.so for some Source Engine games | |
mkdir ~/.steam/sdk32 || true | |
ln -s ./linux32/steamclient.so ~/.steam/sdk32/steamclient.so | |
mkdir ~/.steam/sdk64 || true | |
ln -s ./linux64/steamclient.so ~/.steam/sdk64/steamclient.so |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment