Skip to content

Instantly share code, notes, and snippets.

@Kahnix
Last active March 31, 2019 10:00
Show Gist options
  • Save Kahnix/c8a5b0a690acef83001bc32d5ef233b9 to your computer and use it in GitHub Desktop.
Save Kahnix/c8a5b0a690acef83001bc32d5ef233b9 to your computer and use it in GitHub Desktop.
Used to mount the proton setup for a game to be used for other programs through wine64. Takes GAMEID as arguement
#! /bin/bash
# Proton Mounting Script -Beta-
#Export Mounting
export WPATH="~/.steam/steam/steamapps/common/Proton 3.7/dist"
export WINEVERPATH=$WPATH
export PATH=$W/bin:$PATH
export WINESERVER=$WPATH/bin/wineserver
export WINELOADER=$WPATH/bin/wine
export WINEDLLPATH=$WPATH/lib/wine/fakedlls
export LD_LIBRARY_PATH="$WPATH/lib:$LD_LIBRARY_PATH"
#Take Wineprefix of the applicationID being played
export WINEPREFIX=~/.steam/steam/steamapps/compatdata/"$@"/pfx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment