Skip to content

Instantly share code, notes, and snippets.

@Thaodan
Created February 13, 2014 15:22
Show Gist options
  • Save Thaodan/8977026 to your computer and use it in GitHub Desktop.
Save Thaodan/8977026 to your computer and use it in GitHub Desktop.
#!/bin/bash
APPNAME="Guild Wars 2"
PREFIX=/home/bidar/.local/share/wineprefixes/gw2
APPPATH="$PREFIX/drive_c/Program Files/Guild Wars 2"
commands_s=( g e h )
commands_l=( game end help )
exe=( _game kill_exe display_help )
wine_args="explorer /desktop=Guildwars2,1024x768"
WDEBUG=fixme-all
LIBUSEAPP_LVL=2
_game() {
export __GL_THREADED_OPTIMIZATIONS=1
export LD_PRELOAD='libpthread.so.0 libGL.so.1'
exec_exe Gw2.exe -password \$gr34sarah7 \
-email [email protected] \
-nopatchui \
-dx9single #-nopatchui $@
}
. /usr/lib/libuse/libuse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment