Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- # Change to game directory
- CANONPATH=`readlink -f "$0"`
- cd "`dirname "$CANONPATH"`"
- # Check resource folders exist
- if [ ! -e data ]
- then
- echo "You are missing games resources `pwd`"
- echo "Your installation is incomplete!"
- exit 1
- fi
- MACHINE=`uname -m`
- if [ "$MACHINE" = x86_64 ]
- then
- LIBS=./LIB64
- BIN=./VVVVVV_64
- else
- LIBS=./LIB32
- BIN=./VVVVVV_32
- fi
- # Run the game:
- export LD_LIBRARY_PATH=$LIBS:"$LD_LIBRARY_PATH"
- $BIN $@
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement