Created
August 17, 2020 05:44
-
-
Save gort818/296456edfb7ad9a6ed578bc53c4392b4 to your computer and use it in GitHub Desktop.
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 | |
export MANGOHUD=1 | |
# ENV variables | |
Env[0]='gamemoderun' | |
Env[1]='WINEDEBUG=-all' | |
# Set wine prefix | |
prefix="" | |
# Set your wine binary | |
wine="" | |
#e.g. /home/$USER/.local/share/lutris/runners/wine/lutris-5.7-x86_64/bin/wine | |
#Set your game exe | |
game="" | |
#e.g. game="/mnt/nvme/bfv/drive_c/Program Files (x86)/Origin/Origin.exe" | |
#run the game | |
echo Running ${Env[@]} WINEPREFIX="$prefix" "$wine" "$game" | |
${Env[@]} WINEPREFIX="$prefix" "$wine" "$game" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment