This is a simple guide for those who wish to download Steam games using their mobile phone, please note while this process can be done on different device architectures, this guide is intended for arm64 Android devices.
Setup Termux
Download and install Termux
Run the following commands.
pkg update
termux-setup-storage
Setup Proot
Run the following commands.
pkg install proot-distro
proot-distro install debian
proot-distro login debian
dpkg --add-architecture armhf
apt update
apt upgrade
apt install build-essential cmake gcc-arm-linux-gnueabihf git libc6:armhf python3
Setup Box86
Run the following commands.
git clone https://github.com/ptitSeb/box86
cd box86
mkdir build
cd build
cmake .. -DARM64=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBAD_SIGNAL=ON
make -j$(nproc)
make install
box86 --help
cd ~
rm -r box86
Setup SteamCMD
Run the following commands.
mkdir Steam
cd Steam
curl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz" | tar zxvf -
cd ~
box86 /root/Steam/linux32/steamcmd
LD_LIBRARY_PATH="/root/Steam/linux32/:$LD_LIBRARY_PATH" box86 /root/Steam/linux32/steamcmd you may have to run this command several times, do so until the SteamCMD shell appears.
Login to your Steam account with login username enter your password, and then exit steamcmd by entering quit
We will now create a script for ease of use, run the following commands.
nano steamcmd.sh
paste LD_LIBRARY_PATH="/root/Steam/linux32/:$LD_LIBRARY_PATH" box86 /root/Steam/linux32 +@sSteamCmdForcePlatformType windows +login username into nano (be sure to change "username" to your Steam accounts username)
Save your work and exit nano with CTRL+X (use the Termux soft keys)
chmod +x steamcmd.sh
Using SteamCMD
Launch SteamCMD with ./steamcmd.sh
To install a game use the command app_update appid replace "appid" with a game app ID number string sourced from SteamDB
Titles will be downloaded into /root/Steam/steamapps/common/ and can be transferred into phone storage using the command cp -r /root/Steam/steamapps/common/title /storage/emulated/0/ (replace "title" with the game folder name)
Installing the game on PC is as easy as moving the game folder to a Steam library drive/folder and installing the game to the specific location via the Steam client, if all goes well it should verify files and install without downloading.
Please note if the game you are moving to your phones storage has spaces in the folder name enter the first few letters of the titles name and press tab on the Termux soft keys bar (the tab button is directly under ESC) this should auto fill with the correct folder name, the same can be done to autocomplete the path for /storage/emulated/0/
Do note that a unlimited mobile data plan is advised if you plan to download larger games.