summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2010-06-16 02:00:01 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2010-06-16 02:00:01 +0200
commit7b4ec50fc7b4838b0dd91ef2ea9adcf94209b4fb (patch)
treeb36910c972ee8839ff97c985fe7e9de9bc2d4264
parentb8d3c010d8641a55de8753642c866ab104185ebf (diff)
downloadplay-7b4ec50fc7b4838b0dd91ef2ea9adcf94209b4fb.tar.gz
play-7b4ec50fc7b4838b0dd91ef2ea9adcf94209b4fb.tar.bz2
play-7b4ec50fc7b4838b0dd91ef2ea9adcf94209b4fb.zip
Added ff8
-rw-r--r--games/ff813
-rwxr-xr-xplay.sh4
2 files changed, 15 insertions, 2 deletions
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