SHARE
TWEET

MeatROme

a guest Feb 28th, 2009 233 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/sh
  2.  
  3. # modify the following APPDIR preset(s)
  4. # to match your system (read: where you unpacked the game)
  5. APPDIR=/opt/SB
  6.  
  7. # this bit is only used if you've got a soft-link
  8. # to this script called "svnsauer" ..
  9. # .. and will run the game from another directory than above
  10. GUI=$(echo $0 | grep -c svnsauer)
  11. if [ "$GUI" -eq "1" ]
  12. then
  13.         APPDIR=/usr/local/src/SB/sauerbraten
  14. fi
  15.  
  16. cd $APPDIR
  17.  
  18. # turn off mouse-acceleration and screensaver
  19. xset m 0 0
  20. xset s off
  21.  
  22. # run the game - passing all additional arguments
  23. ./sauerbraten_unix $*
  24.  
  25. # return the mouse & screensaver settings to their defaults
  26. xset m default
  27. xset s default
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top