Skip to content

Instantly share code, notes, and snippets.

View georgedorn's full-sized avatar
💭
mostly moved to gitlab

Sam Thompson georgedorn

💭
mostly moved to gitlab
View GitHub Profile
@georgedorn
georgedorn / run_with_proton.sh
Created May 10, 2021 04:44
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