#!/bin/sh #You must to do this file executable in order to run, type 'chmod +x tremor.run' #QuDos -- http://qudos.quakedev.com BIN="tremor-sdl" # tremor-glx or tremor-sdl ARGS="-fullscreen -width 1024 -height 768 -conwidth 800 -conheight 600 -bpp 32" DIR="." script=$0 count=0 while [ -L "$script" ] do script=`perl -e "print readlink(\"$script\"), \"\n\""` count=`expr $count + 1` if [ $count -gt 100 ] then echo "Too many symbolic links" exit 1 fi done GAME_DIR=`dirname $script` cd $GAME_DIR cd $DIR #If was built with FMOD support, just drop the fmod library in your main quake folder #LD_PRELOAD=./libfmod.so #disable the screen standby xset s off xset -dpms exec ./$BIN ${ARGS} "$@" #enable the screen standby xset s on xset +dpms