Last active
March 31, 2019 10:00
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /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