How to compile (Linux)
Make sure CMake and the development libraries for SDL, OpenAL and Vorbis are installed. In Debian-based systems, you need to install the following packages:
cmake libsdl1.2-dev libopenal-dev libvorbis-dev
Then simply issue
mkdir build && cd build cmake .. make
How to compile (Windows with VS2008)
Download and install the required libraries:
- compile using win32\VS2008\libogg_static.vcproj
- compile win32\VS2008\libvorbis\libvorbis_static.vcproj
- compile win32\VS2008\libvorbisfile\libvorbisfile_static.vcproj
- create C:\Program Files\OpenAL 1.1 SDK\include\AL and copy all files from C:\Program Files\OpenAL 1.1 SDK\include
In Visual Studio add to your include-paths:
- C:\Program Files\OpenAL 1.1 SDK\include
In Visual Studio add to your library-paths:
- C:\Program Files\OpenAL 1.1 SDK\libs\Win32
Open gish.sln and compile.
You will need the following files to be present:
How to compile (Mac OS X)
Open the Xcode project in the main directory. 'Get info' on the Gish executable and change its working directory to "Project Directory" If the build fails, check the dependencies. The Xcode project currently does not use the ./externals directory:
- Frameworks: Cocoa, SDL, OpenAL, Ogg, Vorbis Ogg and Vorbis Frameworks built from from http://xiph.org/downloads/ and installed in /Library/Frameworks/.
- libpng; macports is an option. Change appropriate search paths: Change (Gish target -> get info -> "Header Search Paths") to point to libpng headers. (e.g. /opt/local/include/libpng14/) Using recursive header search of /opt/local/include may slow things down or present conflicts, not recommended.
Note: If you own the original assets, you can use them simply by changing the working directory mentioned above to /Applications/Gish.app/Contents/Resources An note of caution, this will use the original apps user file as well.
How to play
gish.exe. There are some assets included (codenamed the FreeGish project), making Gish a completely free game! There is also one level available,
freegish.lvl, you'll find it under "Custom Levels". Try it and replace what you don't like.
If you own the original assets, you may also copy those into this directory. You'll need:
- tile01 ... tile07