Skip to content

Instantly share code, notes, and snippets.

@flibitijibibo
Last active February 4, 2021 02:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save flibitijibibo/e97933952cc5a4da9d72482eaf1b8b54 to your computer and use it in GitHub Desktop.
Save flibitijibibo/e97933952cc5a4da9d72482eaf1b8b54 to your computer and use it in GitHub Desktop.
#!/bin/bash
set -ex
cd "`dirname "$0"`"
# Start with the Kick environment
curl -LO https://github.com/flibitijibibo/MonoKickstart/archive/master.zip
unzip -j master.zip MonoKickstart-master/precompiled/*
rm master.zip kick.bin.osx kick.bin.x86_64.debug System.Xml.Linq.dll
mv kick.bin.x86_64 SteelAssaultCs
# Move on to fnalibs...
curl -O http://fna.flibitijibibo.com/archive/fnalibs.tar.bz2
tar xvfj fnalibs.tar.bz2 lib64/*
rm lib64/libtheorafile.so fnalibs.tar.bz2
# MonoPosixHelper, for added robustness
curl -O http://flibitijibibo.com/mphlinux.tar.bz2
tar xvfj mphlinux.tar.bz2
rm mphlinux.tar.bz2
mv libMonoPosixHelper.so lib64/
echo Done! Set your launch option to \"echo %command%\; ./SteelAssaultCs\"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment