From e086e9b10989afb0cac46f22106f2ba12ed041b8 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Tue, 15 Mar 2011 17:19:41 +0100 Subject: [PATCH] use vid_soft properly --- misc/tools/xonotic-map-compiler-autobuild | 2 +- misc/tools/xonotic-map-screenshot | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/misc/tools/xonotic-map-compiler-autobuild b/misc/tools/xonotic-map-compiler-autobuild index e14cc58d..a2947103 100755 --- a/misc/tools/xonotic-map-compiler-autobuild +++ b/misc/tools/xonotic-map-compiler-autobuild @@ -230,7 +230,7 @@ screenshotthemap() else #startx "$PWD/misc/tools/xonotic-map-screenshot" "$M" $screenshot_override +"scr_screenshot_name \"$M-\"" -- :8 #startx "$PWD/misc/tools/xonotic-map-screenshot" "$M" $screenshot_override +"scr_screenshot_name \"$M-\"" -gl_driver /usr/local/lib/gallium3d/libGL.so -- /usr/bin/Xvfb :8 -screen 0 1024x768x24 - startx "$PWD/misc/tools/xonotic-map-screenshot" "$M" $screenshot_override +"scr_screenshot_name \"$M-\"" +vid_soft 1 -- /usr/bin/Xvfb :8 -screen 0 1024x768x24 + startx "$PWD/misc/tools/xonotic-map-screenshot" "$M" $screenshot_override +"scr_screenshot_name \"$M-\"" -- /usr/bin/Xvfb :8 -screen 0 1024x768x24 fi ) if ! mv ~/.xonotic/data/screenshots "$M-$blobhash"; then diff --git a/misc/tools/xonotic-map-screenshot b/misc/tools/xonotic-map-screenshot index 0d3127e5..e16df917 100755 --- a/misc/tools/xonotic-map-screenshot +++ b/misc/tools/xonotic-map-screenshot @@ -9,6 +9,7 @@ count=`yes x | head -n "$count" | tr -cd x` ./all run \ -nosound \ + +'vid_soft 1' \ +'vid_fullscreen 0' \ +'exec effects-ultimate.cfg' \ "$@" \ -- 2.39.2