Skip to content

Instantly share code, notes, and snippets.

@AlexKMDev
Last active August 29, 2015 14:01
Show Gist options
  • Save AlexKMDev/95b55df12fc0fee0535a to your computer and use it in GitHub Desktop.
Save AlexKMDev/95b55df12fc0fee0535a to your computer and use it in GitHub Desktop.
caesaria install script for OS X
#!/bin/sh
LIBDIR=~/Library/Frameworks/
mkdir caesaria
pushd caesaria
curl -C - -OL http://downloads.sourceforge.net/project/opencaesar3/bin/caesaria-mac-b1362.zip
unzip caesaria-mac-b1362.zip
curl -O https://www.libsdl.org/release/SDL-1.2.15.dmg
curl -O http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.12.dmg
curl -O http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-2.0.11.dmg
hdiutil mount SDL_ttf-2.0.11.dmg
hdiutil mount SDL_mixer-1.2.12.dmg
hdiutil mount SDL-1.2.15.dmg
mkdir -p $LIBDIR
cp -r /Volumes/SDL/SDL.framework $LIBDIR
cp -r /Volumes/SDL_mixer/SDL_mixer.framework $LIBDIR
cp -r /Volumes/SDL_ttf/SDL_ttf.framework $LIBDIR
sed -i '' s/false/true/ resources/settings.model
mkdir saves
chmod +x caesaria.macos && ./caesaria.macos
@WooD1k
Copy link

WooD1k commented Oct 20, 2014

Hello!

Can't install, here is the output from console:
sed: resources/settings.model: No such file or directory
chmod: caesaria.macos: No such file or directory

Do you have any ideas?

Thanks in advance!

@Hegoogleboba
Copy link

Having the same issue, is there a solution out there?
Tried the Gist (i am a total noob though) and am having the same problem just this time its line 28
sed: resources/settings.model: No such file or directory

Please help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment