Advertisement
Guest User

MeatROme

a guest
Feb 28th, 2009
403
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  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
  28.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement