Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # cd "/home/bidar/.local/share/wineprefixes/wow/drive_c/Programme/World of Warcraft/4.3.3/"
- # rm -r "Cache"
- # case $1 in
- # -l) exe="World\\ of\\ Warcraft\\ Launcher.exe" ;;
- # *) exe=Wow.exe ;;
- # esac
- # usenew wow_dev Battle.net/Agent/Agent.1267/Agent.exe --nohttpauth &
- # sleep 2 && usenew -d wow_dev "$exe" #-opengl
- #
- #
- # pkill Agent.exe
- APPNAME="World of Warcraft"
- APPPATH='/home/bidar/.local/share/wineprefixes/wown/drive_c/Program Files/World of Warcraft'
- #user_data=$HOME/.games/Skyrim
- commands_s=( g l h e )
- commands_l=( game launcher help end )
- exe=( game launcher display_help kill_game )
- _game=Wow.exe
- _launcher="World of Warcraft Launcher.exe"
- _agent=Agent.exe
- PREFIX=/home/bidar/.local/share/wineprefixes/wown
- default_exe=$exe
- #WINEPATH=$HOME/.wine-ver/wine_h.3.27
- _wine_args="explorer /desktop=Wow,1600x900"
- HELP_MSG="options: -g --game start $APPNAME
- -l --launcher start $APPNAME launcher
- -h --help print this help
- -e --end $APPNAME"
- # enable __GL_THREADED_OPTIMIZATION
- export __GL_THREADED_OPTIMIZATION=1
- export LD_PRELOAD="libpthread.so.0 libGL.so.1"
- WDEBUG=fixme+all
- WINE=wine
- LIBUSEAPP_LVL=2
- game() {
- rm -rf "Cache"
- wine_args="$_wine_args" exec_exe $_game
- pkill $_agent
- }
- launcher() {
- rm -rf "Cache"
- wine_args="$_wine_args" exec_exe "$_launcher"
- pkill $_agent
- }
- kill_game()
- {
- pkill $_game
- }
- . /usr/lib/libuse/libuse
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement