Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- # modify the following APPDIR preset(s)
- # to match your system (read: where you unpacked the game)
- APPDIR=/opt/SB
- # this bit is only used if you've got a soft-link
- # to this script called "svnsauer" ..
- # .. and will run the game from another directory than above
- GUI=$(echo $0 | grep -c svnsauer)
- if [ "$GUI" -eq "1" ]
- then
- APPDIR=/usr/local/src/SB/sauerbraten
- fi
- cd $APPDIR
- # turn off mouse-acceleration and screensaver
- xset m 0 0
- xset s off
- # run the game - passing all additional arguments
- ./sauerbraten_unix $*
- # return the mouse & screensaver settings to their defaults
- xset m default
- xset s default
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement