Attempt to reverse engineer savegames of "Castle of the Winds" by Rick Saada
Castle of the Winds is a tile-based roguelike video game for Microsoft Windows, developed by SaadaSoft in 1989.
The game is composed of two parts: A Question of Vengeance, released as shareware, and Lifthransir's Bane, sold commercially. In 1998 the author of the game, Rick Saada, decided to distribute the entirety of Castle of the Winds free of charge.
Here are some screenshots:
More on Wikipedia
This is an attempt to reverse engineer the savegames of Castle of the Winds, both part 1 and 2. At the moment it consists only of some binary patterns pinned in a Java "struct" (thanks to Javolution) and some functions for inspecting savegames and discover the meaning of the rest of savefile.
The application uses Javolution.io.Struct to provide the equivalent of a C struct, allowing to map a savefile in a Java class with ease. I extended Struct class to add debug (hexdump) functionality.
You will need JDK and JRE (javac and java) version 7 or above. Then just type make run