August 7th, 2011: Source code released to the world!

hge-unix is a Unix and Mac OS X port of Haaf's Game Engine ("HGE").

This allows a game developer that built their Windows game with HGE to get their game up and running quickly on Linux, Mac OS X, FreeBSD, and other Unix-like platforms.

The HGE API should be identical, so if all your platform-specific work is handled by the library, you may be able to get your game running with very little effort.

Unlike the Windows version of HGE, hge-unix uses OpenGL for rendering behind the scenes. BASS has been replaced with (royalty free!) OpenAL. Most of the other cross-platform details are handled by SDL.

Much thanks to Red Marble Games for funding the initial work on hge-unix, and allowing this source code release! hge-unix powers several Mac games thanks to them. Those games, and many others built for Mac OS X, are on sale now for immediate download at redmarblegames.com.

Places hge-unix can be found in use:

What works:

What doesn't work:


hge-unix is licensed under the same open source license as HGE itself: the zlib license.


Prepackaged source code:

Downloading with Mercurial:

hge-unix's source code may be downloaded using Mercurial (aka: "hg"). Hg allows you to get up-to-the-minute fixes and enhancements; as a developer works on a source tree, you can use hg to mirror that source tree instead of waiting for an official release. Please look at the Mercurial website for more information on using hg, where you can also download software for Mac OS X, Windows, and Unix systems.

Here is the web interface to hge-unix's Mercurial repository.

To download hge-unix via Mercurial:

hg clone http://hg.icculus.org/icculus/hge-unix/

Reporting bugs:

Please use our bug tracker.

Mailing list:

There is a mailing list for hge-unix available. To subscribe or view archives, go here. To send mail to the list, subscribe, then write to hge@icculus.org.

Page maintained by Ryan C. Gordon.