Requires Java 7 (OpenJDK 7 or Java 7 SE) to compile / run just like the official game
Decompiled by Procyon and its Luyten GUI
There's no actual copyright on the website, in the game, or in strings in the code, but this code obviously belongs to Omar Waly, and is posted here for purposes of research only.
You might read, compile, execute, and use / link against the code for noncommercial personal open source purposes.
I do not endorse or want use of this code for commercial purposes, and you really shouldn't do it.
build.sh
: reads $JDKPATH
or uses system javac / jar if unset; script arguments go to javacrun.sh
: reads $JREPATH
or uses system java if unset JD doesn't seem to provide anything of value over Procyonjd-1.5
contains the (fixed-up) version of the code decompiled by jd-gui
(Java Decompiler) 1.4.0, a program designed for Java 5
luyten-1.8
contains the broken version of the code directly decompiled by luyten
0.5.3 / procyon
0.5.3, a program designed for modern Java 6+
master
contains the Procyon source as a base, and has useful differences from other branches merged into it
depr
is where we fix deprecation warnings and other things reported by -Xlint:all
later there might come a branch where we make it run on Java 8+....
Things that are wrong and different from the official Game.jar
Version support for this decompiled version
Java 6: freeze on loading stages / running the game, but no deprecations
Java 7: runs but doesn't work perfectly (see Bugs) and has deprecations
Java 8+: doesn't work at all due to UI method changes
the official Game.jar is unplayably slow in Java 6, runs perfectly in Java 7, and freezes in Java 8+