How to download games for Steam for another platform?
Solution 1:
Valve's SteamCMD does just that. A short and incomplete transcript:
- Download and unpack steamcmd.
- Install 32-bit compatibility libs:
sudo apt-get install lib32gcc1
- Login in the command line:
./steamcmd.sh +@sSteamCmdForcePlatformType windows
. - In the steamcmd:
login <username>
force_install_dir <path>
- Find the app id of the game (it can be found in the game's store page URL:
http://store.steampowered.com/app/<app_id>
). - Download the game:
app_update <app_id>
Solution 2:
Steam can also be tricked into downloading games that are unavailable on your platform.
To manually download the app whose id is $APPID
into $INSTALLDIR
, create the file named appmanifest_$APPID.acf
in your steamapps folder¹ with the following contents:
"AppState"
{
"AppID" "$APPID"
"Universe" "1"
"installdir" "$INSTALLDIR"
"StateFlags" "1026"
}
More information is available at the above link. Other solutions are possible, like using Lutris to manage your game library.
¹ Default location:
-
~/.steam/steam/SteamApps
on Linux -
~/Library/Application Support/Steam/steamapps
on macOS