-
Notifications
You must be signed in to change notification settings - Fork 0
/
debug.sh
executable file
·28 lines (25 loc) · 978 Bytes
/
debug.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash
USER=$(whoami)
PROTON="Proton 8.0"
#PROTON_PATH="/home/$USER/.local/share/Steam/steamapps/common/$PROTON/dist/bin/wine"
PROTON_PATH="/home/$USER/.local/share/Steam/compatibilitytools.d/GE-Proton9-13/files/bin/wine"
GUILD_WARS_PATH="/home/$USER/.local/share/Steam/steamapps/common/Guild Wars 2"
GUILD_WARS_PREFIX_PATH="/home/$USER/.local/share/Steam/steamapps/compatdata/1284210/pfx"
# Environment variables
export DISABLE_LAYER_AMD_SWITCHABLE_GRAPHICS_1="1"
export __GL_SHADER_DISK_CACHE="1"
export __GL_SHADER_DISK_CACHE_PATH=$GUILD_WARS_PATH
export WINEDEBUG="-all"
export DXVK_LOG_LEVEL="none"
export WINEARCH="win64"
export WINE=$PROTON_PATH
export WINEPREFIX=$GUILD_WARS_PREFIX_PATH
export WINEESYNC="1"
export WINEFSYNC="1"
export DXVK_NVAPIHACK="0"
export DXVK_ENABLE_NVAPI="1"
export WINEDLLOVERRIDES="winemenubuilder="
export WINE_LARGE_ADDRESS_AWARE="1"
#export TERM="xterm"
# Command
"$PROTON_PATH" "target/x86_64-pc-windows-gnu/debug/speedylemon.exe"