Word Rescue Demo Format
The "player input" for the Word Rescue demos is stored in the WR?.D* files. Each level has its own demo file.
The demo files are can be up to 4000 bytes in size and each byte stores the player input for 1 game cycle/frame. The bits in each byte have the following meaning:
|5||0x20||end of demo marker|
|0||0x01||jump / climb up|
Math Rescue uses the same basic format with some minor changes.
- The file names are MR?.D*
- The demo files are limited to a maximum size of only 3000 bytes.
- The game does not allow each level to have its own demo file. The levels for which the game expects to find demo files are hard-coded.
- Aside from the regular player input, Math Rescue also stores the "random" numbers for the math puzzles in the demo stream. There is no way to tell if a bytes is user input or a random number. The game detects this by context (when the player touches a number icon).
This file format was reverse engineered by K1n9_Duk3. 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!)