Minesweeper saved game

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
Line 8: Line 8:
  
 
==Identification==
 
==Identification==
* The files start with {{Magic|RGMH}} and then this byte sequence: {{Magic|4D 00 69 00 6E 00 65 00 73 00 77 00 65 00 65 00 70 00 65 00 72}}, which reads "Minesweeper"
+
* The files start with {{Magic|RGMH}} and then this byte sequence: {{Magic|4D 00 69 00 6E 00 65 00 73 00 77 00 65 00 65 00 70 00 65 00 72}}, which is a UTF-16 encoded version of the string "Minesweeper"
* Then, the next byte sequence appears: {{Magic|4D 00 69 00 6E 00 65 00 73 00 77 00 65 00 65 00 70 00 65 00 72 00 2E 00 4D 00 69 00 6E 00 65 00 53 00 77 00 65 00 65 00 70 00 65 00 72 00 53 00 61 00 76 00 65 00 2D 00 6D 00 73}} which reads "Minesweeper.MineSweeperSave-ms" which is the filename always uses.
+
* Then, the next byte sequence appears: {{Magic|4D 00 69 00 6E 00 65 00 73 00 77 00 65 00 65 00 70 00 65 00 72 00 2E 00 4D 00 69 00 6E 00 65 00 53 00 77 00 65 00 65 00 70 00 65 00 72 00 53 00 61 00 76 00 65 00 2D 00 6D 00 73}} which is a UTF-16 encoded version of the string "Minesweeper.MineSweeperSave-ms" which is the filename always uses.
 
* Then, it's a PNG thumbnail, and the XML board file, which starts with: {{Magic|<Board>}} and like {{Magic|<SaveVersion>3</SaveVersion>}} which is the version used to save the game.
 
* Then, it's a PNG thumbnail, and the XML board file, which starts with: {{Magic|<Board>}} and like {{Magic|<SaveVersion>3</SaveVersion>}} which is the version used to save the game.
  

Revision as of 23:34, 2 September 2025

File Format
Name Minesweeper saved game
Ontology
Extension(s) .MineSweeperSave-ms
Released 2009?

The Windows 7 version of Minesweeper introduced a feature that allows you to save games to its own format. It ends with .MineSweeperSave-ms. (Maybe for Vista it also did the same?)

Identification

  • The files start with RGMH and then this byte sequence: 4D 00 69 00 6E 00 65 00 73 00 77 00 65 00 65 00 70 00 65 00 72, which is a UTF-16 encoded version of the string "Minesweeper"
  • Then, the next byte sequence appears: 4D 00 69 00 6E 00 65 00 73 00 77 00 65 00 65 00 70 00 65 00 72 00 2E 00 4D 00 69 00 6E 00 65 00 53 00 77 00 65 00 65 00 70 00 65 00 72 00 53 00 61 00 76 00 65 00 2D 00 6D 00 73 which is a UTF-16 encoded version of the string "Minesweeper.MineSweeperSave-ms" which is the filename always uses.
  • Then, it's a PNG thumbnail, and the XML board file, which starts with: <Board> and like <SaveVersion>3</SaveVersion> which is the version used to save the game.

Software

  • Minesweeper on Windows 7/Vista
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox