Open Source Tomb Raider Engine
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

setup_mac.sh 863B

1234567891011121314151617181920
  1. #!/bin/sh
  2. cd `dirname $0`
  3. if [ ! -d "${HOME}/.OpenRaider" ]; then
  4. echo "Setting up OpenRaider for user $USER..."
  5. mkdir -p ~/.OpenRaider
  6. mkdir -p ~/.OpenRaider/paks
  7. mkdir -p ~/.OpenRaider/music
  8. mkdir -p ~/.OpenRaider/data
  9. mkdir -p ~/.OpenRaider/sshots
  10. cp ../Resources/defaults/OpenRaider.ini ~/.OpenRaider/
  11. cp ../Resources/defaults/*.tga ~/.OpenRaider/data
  12. echo "DONE"
  13. osascript -e 'tell app "System Events" to display alert "Initial Configuration stored in ~/.OpenRaider\n\nView and edit OpenRaider.ini to your needs..."'
  14. fi
  15. if [[ ! -n `find "${HOME}/.OpenRaider/paks" -type f -exec echo Found {} \;` ]]; then
  16. echo "Missing level files!"
  17. osascript -e 'tell app "System Events" to display alert "No level files stored in ~/.OpenRaider/paks\n\nPlace original Tomb Raider level files there!"'
  18. else
  19. ./OpenRaider
  20. fi