From 7b4ec50fc7b4838b0dd91ef2ea9adcf94209b4fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Wed, 16 Jun 2010 02:00:01 +0200 Subject: Added ff8 --- games/ff8 | 13 +++++++++++++ play.sh | 4 ++-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 games/ff8 diff --git a/games/ff8 b/games/ff8 new file mode 100644 index 0000000..a36d96d --- /dev/null +++ b/games/ff8 @@ -0,0 +1,13 @@ +inherit iso + +GPATH=c:/spiele/ff8/FF8.exe +SIZE=1024x768 +MOUNT=ff8/FF8_CD1.iso + +prepare () { + iso_prepare + exc nvidia-settings -a FSAA=1 + exc nvidia-settings -a FSAAAppControlled=0 +} + +# vim:ft=sh diff --git a/play.sh b/play.sh index d4cdf08..912ce9f 100755 --- a/play.sh +++ b/play.sh @@ -87,7 +87,7 @@ PREFIX="~/.wine" # functions play_execute () { - exc -e startx $BIN -x $GAME -- :1 -ac -br -quiet ${=EXARGS} + exc -e startx $BIN -x $GAME -- $DISPLAY -ac -br -quiet ${=EXARGS} } play_prepare () { @@ -121,7 +121,6 @@ EXPORT play execute prepare setenv run cleanup if [[ $1 == "-x" ]]; then load $2 - setenv prepare run cleanup @@ -143,6 +142,7 @@ else else out "Launching '$GAME'" load $GAME + setenv execute fi fi -- cgit v1.2.3