PUZ (crossword puzzles)

From Just Solve the File Format Problem
Revision as of 15:56, 15 February 2014 by Dan Tobias (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
File Format
Name PUZ (crossword puzzles)
Ontology
Extension(s) .puz

The PUZ crossword puzzle data format (unrelated to the PUZ document format used by Microsoft Publisher) is a format used for electronically-distributed crossword puzzles. It was created for the Across Lite program, and became a de facto standard for online crosswords, including the popular New York Times puzzles. No official file format documentation was provided (the producers probably would have preferred it remain proprietary), but it has been reverse-engineered and is now used in many crossword programs and apps. For a long time, reverse-engineered implementations were unable to decode the "scrambled" version of the file format, where the correct answers to the puzzle are encrypted with a four-digit key needed to unlock them (you can still do the puzzle without unscrambling the answers, as the grid layout and clues are not encrypted, but have no way of checking your answers), but eventually somebody reverse-engineered that as well (a tour-de-force of computer science and mathematics by Brian Raiter, linked below; Mike Richards apparently also discovered the algorithm as documented in comments in another of the links below).

Identification

Starting at the third byte (position 02), files have the ASCII string "ACROSS&DOWN" followed by a null byte, giving it the byte signature 41 43 52 4f 53 53 26 44 4f 57 4e 00. The first two bytes are a checksum, one of several that exist within the file format.

Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox