Converted from http://sourceforge.net/p/openpopulous/ with reposurgeon