summarylogtreecommitdiffstats
path: root/vampire-the-masquerade-bloodlines.bash
diff options
context:
space:
mode:
Diffstat (limited to 'vampire-the-masquerade-bloodlines.bash')
-rwxr-xr-xvampire-the-masquerade-bloodlines.bash38
1 files changed, 31 insertions, 7 deletions
diff --git a/vampire-the-masquerade-bloodlines.bash b/vampire-the-masquerade-bloodlines.bash
index 20ca243f3092..b76099898e6d 100755
--- a/vampire-the-masquerade-bloodlines.bash
+++ b/vampire-the-masquerade-bloodlines.bash
@@ -31,15 +31,39 @@ if ! [ -d "${WINEPREFIX}" ]; then
fi
echo >&2 "Setting up wine game directory"
-if ! [ -d "${APPDIR_PARENT}/${APPNAME}" ]; then
- (
- mkdir -pv "${APPDIR_PARENT}"
- ln -fnsv "${APPDIR_USER}" "${APPDIR_PARENT}/${APPNAME}"
- )
-fi
+mkdir -pv "${APPDIR_PARENT}"
+ln -fnsv "${APPDIR_USER}" "${APPDIR_PARENT}/${APPNAME}"
+
+
+#
+# Graphics options (NVIDIA GLX)
+#
+# Force AF (0=Off, 1=2x, 2=4x, 3=8x, 4=16x)
+#export __GL_LOG_MAX_ANISO=4
+
+# Force multisampling and supersampling
+# Run "nvidia-settings --query=fsaa --verbose" to get valid modes
+#export __GL_FSAA_MODE=11 # 4xSS, 4xMS with GTX 970
+#export __GL_FSAAAppControlled=0
+#export __GL_FSAAAppEnhanced=0
+
+# Disable VSync
+#export __GL_SYNC_TO_VBLANK=0
+
+#
+# Graphics options (Radeon)
+#
+
+# Force AF
+#export R600_TEX_ANISO = 16
+
+#
+# Launch game with unofficial patch enabled
+#
echo >&2 "Launching ${APPNAME} via wine"
cd "${APPDIR_PARENT}/${APPNAME}"
+
wine vampire.exe -game Unofficial_Patch && xrandr -s 0
-
+
echo >&2 "Finished"