Skip to content

Instantly share code, notes, and snippets.

@georgedorn
Created May 10, 2021 04:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save georgedorn/6969d51c84db03f88e3ae0ebafaa2da9 to your computer and use it in GitHub Desktop.
Save georgedorn/6969d51c84db03f88e3ae0ebafaa2da9 to your computer and use it in GitHub Desktop.
Running an executable within the proton environment for a steam game on linux
# app id can be found in the URL to the game's store page
cd ~/.steam/steam/steamapps/compatdata/32370 # this is for Star Wars: Knights of the Old Republic; change 32370 to the app id of target game
# This is for Proton 6.3; update as needed, especially if using something like Glorious Eggroll.
STEAM_COMPAT_DATA_PATH=`pwd` WINEPREFIX=`pwd`/pfx "~/.steam/root/steamapps/common/Proton 6.3/proton" run /path/to/executable.exe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment