Skip to content

Instantly share code, notes, and snippets.

@killdash9
Last active February 17, 2023 08:12
Show Gist options
  • Star 9 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save killdash9/51537b0793ea8e6752f6 to your computer and use it in GitHub Desktop.
Save killdash9/51537b0793ea8e6752f6 to your computer and use it in GitHub Desktop.
Build vulture nethack from source on Mac OSX. Place this file in the base of the vulture nethack source code and run it.
# Step 1: Install the following 3rd party prerequisites, you can get these from macports:
#
# sudo port install libpng
# sudo port install libsdl_ttf
# sudo port install libsdl_mixer
#
# Step 2: Download and unzip Vulture Nethack source from http://www.darkarts.co.za/vulture-for-nethack
#
# Step 3: Place this file at the base of the unzipped vulture nethack source directory, and run it:
# sh vulture-nethack-mac-build.sh
#
# Step 4: Run Vulture Nethack!
# /usr/games/vulture-nethack
#
set -e
cd `dirname $0`
cd sys/unix
sh setup.sh
cd ../..
make NHDIR="../.."
sudo make GAMEUID=`whoami` GAMEGRP=`id -gn` install
echo
echo Type /usr/games/vulture-nethack to run vulture nethack.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment