From 88f2f591fa23f5ba92d8ee511d368349b390aa60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Fri, 15 Feb 2013 12:44:37 +0100 Subject: Renamed GPATH to EXE --- games/bg2 | 2 +- games/cim | 2 +- games/deusex | 2 +- games/ff7 | 2 +- games/ff8 | 2 +- games/thps2 | 2 +- games/torment | 2 +- play.sh | 8 ++++---- templates/steam | 4 ++-- templates/wine | 2 +- 10 files changed, 14 insertions(+), 14 deletions(-) diff --git a/games/bg2 b/games/bg2 index 21b0106..3b0cde9 100644 --- a/games/bg2 +++ b/games/bg2 @@ -3,7 +3,7 @@ ISO_TYPE=fuseiso inherit wine iso SIZE="1280x960" -GPATH="c:/bg2/bgmain.exe" +EXE="c:/bg2/bgmain.exe" MOUNT="bg2/tob.iso" MOUNTTARGET="$HOME/isos/mnt/tob" diff --git a/games/cim b/games/cim index 79c9c6c..769e988 100644 --- a/games/cim +++ b/games/cim @@ -4,7 +4,7 @@ PREFIX="cim" SIZE="1024x768" # running it via steam does not work for obscure reasons :-/ -GPATH="C:/Programme/Steam/SteamApps/common/cities in motion/Cities In Motion.exe" +EXE="C:/Programme/Steam/SteamApps/common/cities in motion/Cities In Motion.exe" #steamapp 73010 # vim:ft=sh diff --git a/games/deusex b/games/deusex index 39e90c7..c66fc55 100644 --- a/games/deusex +++ b/games/deusex @@ -1,7 +1,7 @@ inherit wine PREFIX="deus_ex" -GPATH="c:/DeusEx/System/HDTP.exe" +EXE="c:/DeusEx/System/HDTP.exe" ARGS=QINI=C:/deusex/system/hdtp.ini USERINI=C:/deusex/system/hdtpuser.ini SIZE="1280x960" diff --git a/games/ff7 b/games/ff7 index 7910cd7..558dc6a 100644 --- a/games/ff7 +++ b/games/ff7 @@ -2,7 +2,7 @@ inherit wine #inherit iso PREFIX=~/.ffwine -GPATH=c:/spiele/ff7/ff7.exe +EXE=c:/spiele/ff7/ff7.exe SIZE="1280x960" MOUNT=ff8/FF8_CD1.iso diff --git a/games/ff8 b/games/ff8 index 1bb647e..8e488fc 100644 --- a/games/ff8 +++ b/games/ff8 @@ -1,6 +1,6 @@ inherit wine iso -GPATH=c:/spiele/ff8/FF8.exe +EXE=c:/spiele/ff8/FF8.exe SIZE=1024x768 MOUNT=ff8/FF8_CD1.iso diff --git a/games/thps2 b/games/thps2 index 4b29ff9..c8e1559 100644 --- a/games/thps2 +++ b/games/thps2 @@ -2,7 +2,7 @@ inherit wine PREFIX="thps2" SIZE="1024x768" -GPATH="c:/thps2/THawk2.exe" +EXE="c:/thps2/THawk2.exe" EXARGS="-depth 16" # vim:ft=sh diff --git a/games/torment b/games/torment index ae957a6..ac14616 100644 --- a/games/torment +++ b/games/torment @@ -5,7 +5,7 @@ inherit wine iso PREFIX="infinity" #SIZE="1280x960" SIZE="1280x960" -GPATH="c:/torment/torment.exe" +EXE="c:/torment/torment.exe" EXARGS="-depth 16" mnttrgt="$WINEPREFIX/drive_c/tormentcds" diff --git a/play.sh b/play.sh index 5162e84..efeb2be 100755 --- a/play.sh +++ b/play.sh @@ -243,7 +243,7 @@ play_setenv () { # run game play_run () { - exc $GPATH "$ARGS" + exc $EXE "$ARGS" } # manipulate the newly created X instance @@ -295,7 +295,7 @@ _list () { # {{{2 _new () { # {{{2 local GAME=$1 local DGAME="$PLAY_GAMES/$GAME" - local GPATH=$2 + local EXE=$2 local PREFIX=${${3}:-$GAME} local convpath @@ -307,7 +307,7 @@ _new () { # {{{2 [[ ! -e $WINEPREFIX ]] && die "Specified prefix '$PREFIX' does not exist" - convpath="$(exc winepath -u $GPATH)" + convpath="$(exc winepath -u $EXE)" [[ ! -e $convpath ]] && die "Specified executable does not exist" @@ -318,7 +318,7 @@ _new () { # {{{2 inherit wine $GPREFIX -GPATH="$GPATH" +EXE="$EXE" # vim:ft=sh EOF diff --git a/templates/steam b/templates/steam index 2516277..19ff37c 100644 --- a/templates/steam +++ b/templates/steam @@ -1,13 +1,13 @@ if loaded wine; then PREFIX="steam" #SIZE="1280x960" - GPATH="c:/program files/steam/steam.exe" + EXE="c:/program files/steam/steam.exe" steamapp () { [[ $# -gt 0 ]] && export ARGS="-applaunch ${=@}" } else - GPATH=steam + EXE=steam SIZE=1680x1050 steamapp () { diff --git a/templates/wine b/templates/wine index e6c8d2e..8ebc64c 100644 --- a/templates/wine +++ b/templates/wine @@ -4,7 +4,7 @@ PREFIX=${PREFIX:-$GAME} # run wine and therefore the game wine_run () { # cd into dir - local dir="$(exc winepath -u $GPATH)" + local dir="$(exc winepath -u $EXE)" exc cd "${dir:h}" # start game -- cgit v1.2.3