Swords of Glass puzzle format
There are many puzzles throughout the dungeon of Swords of Glass. These puzzles range from the simple to complex, but all of their textual is stored in the Puzzles.dat file. Each puzzle is 400 bytes long and consists of 18 lines and 22 bytes of unknown data. Each line is 1 byte for the length and 20 bytes for the text. The file is fixed-width and stores 37 puzzles.
|UINT8 Puzzle line length||The number of characters to read from the puzzle line.|
|char Puzzle line||The puzzle line.|
|18 lines per puzzle.|
|22 unknown bytes.|
|37 puzzles in the file.|
This format was reverse engineered by TheAlmightyGuru. If you find this information helpful in a project you're working on, please give credit where credit is due. (A link back to this wiki would be nice too!)