More config cleanup

Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
Severin Kaderli 2019-02-13 00:47:10 +01:00
parent 005c4f29b6
commit 8d3f9c8a1d
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4
22 changed files with 44 additions and 27 deletions

33
system/.local/bin/gw2.sh Executable file
View file

@ -0,0 +1,33 @@
#!/bin/bash
#
# SCRIPT NAME:
# gw2.sh
#
# AUTHOR:
# Severin Kaderli <severin.kaderli@gmail.com>
#
# DESCRIPTION:
# Starts Guild Wars 2 inside Wine.
#
# USAGE:
# ./gw2.sh
# Set custom wineprefix
export WINEPREFIX="${HOME}/Games/Guild_Wars_2/"
# Set wine to 64-bit
export WINEARCH=win64
# Optimize performance
export __GL_THREADED_OPTIMIZATIONS=0
export __GL_SYNC_TO_VBLANK=0
export __GL_YIELD="NOTHING"
# Disable debug messages
export WINEDEBUG=-all
export LOGFILE=/dev/null
# Enable esync
export WINEESYNC=1
# Run it using optirun
optirun -b primus wine64 "${WINEPREFIX}/drive_c/Program Files/Guild Wars 2/Gw2-64.exe" -dx9single -mapLoadInfo