Swords of Glass puzzle format

From ModdingWiki
Jump to: navigation, search
Swords of Glass puzzle format
Format typeText
Text purposeControl
Line endingsUnknown
Character setUnknown

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.

Data type Description
UINT8 Puzzle line length The number of characters to read from the puzzle line.
char[20] 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!)