#!/bin/bash if [ ! -d /usr/share/games/freecraft/data/music ] ; then echo "You have to install the data files in order to play!" echo "You can either \`emerge freecraft-fcmp\` or install" echo "the data files from the Warcraft CD." echo echo "To install off the warcraft CD do this:" echo " 1 mount the cd at /mnt/cdrom" echo " 2 run the script /usr/share/games/freecraft/tools/build.sh" echo " 3 leave cd in the drive to listen to music" exit 1 fi #freecraft -d /usr/share/games/freecraft/data "$@" artsdsp /usr/games/lib/freecraft/freecraft -d /usr/share/games/freecraft/data "$@"