X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=misc%2Ftools%2Fxonotic-map-screenshot;h=d8876006459ea923c8925d083db9cdb6f03ab1d3;hb=e4152eb8d089e170c9f78a8bf3c8b10fd42f086e;hp=1c65379c9f31cba0f8b63e3a1031c5b7a570bec3;hpb=3d41115769e27d69c06114abd3a2643e978cf665;p=xonotic%2Fxonotic.git diff --git a/misc/tools/xonotic-map-screenshot b/misc/tools/xonotic-map-screenshot index 1c65379c..d8876006 100755 --- a/misc/tools/xonotic-map-screenshot +++ b/misc/tools/xonotic-map-screenshot @@ -9,6 +9,8 @@ count=`yes x | head -n "$count" | tr -cd x` ./all run \ -nosound \ + +'locksession 0' \ + +'scr_screenshot_timestamp 0' \ +'vid_fullscreen 0' \ +'exec effects-ultimate.cfg' \ "$@" \ @@ -20,7 +22,7 @@ count=`yes x | head -n "$count" | tr -cd x` +'sv_cheats 2' \ +'set catchme "catchme_"' \ +"alias catchme_$count \"quit\"" \ - +'alias "autoscreenshot" "$catchme; set catchme \"${catchme}x\"; impulse 911; defer 1 \"screenshot; autoscreenshot\""' \ + +'alias "autoscreenshot" "$catchme; set catchme \"${catchme}x\"; impulse 911; defer 2 \"screenshot; autoscreenshot\""' \ +'alias cl_hook_gamestart_all "cmd join; defer 1 god; defer 2 noclip; defer 3 autoscreenshot"' \ +"defer \"$watchdog\" quit" \ +"map \"$map\"" \