Update games menu
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
d103fdec34
commit
b2e9b60765
2 changed files with 2 additions and 44 deletions
|
@ -18,7 +18,7 @@ PROMPT="Games"
|
|||
# Actions for the menu
|
||||
ACTIONS=(
|
||||
"1: Steam"
|
||||
"2: Guild Wars 2"
|
||||
"2: Lutris"
|
||||
"3: Minecraft"
|
||||
"4: Pegasus"
|
||||
)
|
||||
|
@ -29,7 +29,7 @@ case "${SELECTION}" in
|
|||
steam
|
||||
;;
|
||||
"2")
|
||||
gw2
|
||||
lutris
|
||||
;;
|
||||
"3")
|
||||
minecraft-launcher
|
||||
|
|
|
@ -1,42 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
#
|
||||
# SCRIPT NAME:
|
||||
# gw2
|
||||
#
|
||||
# AUTHOR:
|
||||
# Severin Kaderli <severin@kaderli.dev>
|
||||
#
|
||||
# DESCRIPTION:
|
||||
# Starts Guild Wars 2 inside Wine.
|
||||
#
|
||||
# USAGE:
|
||||
# ./gw2
|
||||
# Set custom wineprefix
|
||||
echo "Use Guild Wars 2 installed by Lutris!"
|
||||
exit 1
|
||||
|
||||
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
|
||||
|
||||
# DXVK settings
|
||||
export DXVK_LOG_LEVEL=none
|
||||
export DXVK_HUD=0
|
||||
export STAGING_SHARED_MEMORY=1
|
||||
export __GL_SHADER_DISK_CACHE_PATH="${WINEPREFIX}"
|
||||
|
||||
# Run GW2 using some settings
|
||||
wine64 "${WINEPREFIX}/drive_c/Program Files/Guild Wars 2/Gw2-64.exe" -autologin -nopatchui
|
Loading…
Add table
Add a link
Reference in a new issue