If you appreciate the work done within the wiki, please consider supporting The Cutting Room Floor on Patreon. Thanks for all your support!

Minesweeper (Windows, 2007)

From The Cutting Room Floor
Jump to navigation Jump to search
This page contains changes which are not marked for translation.
Other languages:
English • ‎português do Brasil • ‎русский • ‎日本語 • ‎한국어

Title Screen

Minesweeper

Developers: Oberon Media, Microsoft
Publisher: Microsoft
Platform: Windows
Released internationally: January 30, 2007


TextIcon.png This game has unused text.
DebugIcon.png This game has debugging material.
RegionIcon.png This game has regional differences.


The 2007 Minesweeper, included with Windows Vista and 7, is a reworked version of the 1990 original with very nice Frutiger Aero themed graphics and some new features.

Other than that, though, it plays exactly the same.

Hmmm...
To do:
  • See if more of the options work in the Vista version. This was tested with the Windows 7 version.
  • There's much more to document. A good place to start would be to use Resource Hacker on the game executable and DLLs.
  • There's a few remaining bits of Media Center Minesweeper. Unlike other Vista games, which kept their Media Center versions intact in the game's executable but didn't use them, Media Center Minesweeper was mostly removed apart from a few small bits.
  • Multiple prototypes exist in various Windows Longhorn/Vista beta builds. Gather them up and create a Proto page.
  • Apparently, parts of the "smiley face" button are still present; research this further. There don't seem to be any graphics for it, however.
  • Win8 DP1 (6.2.8102.0 (winmain_win8m3.110823-1455)) saw the removal of the built-in Windows games from the edition manifest for Prerelease(ARM); this change would be later expanded through the removal of most Win7 client editions (excluding Starter(N), Professional(N) and Enterprise(N)) from the source tree during early 830x, orphaning the games entirely. The only catch to this, however, is that the Win7 games were still compiled from until as late as Win10 v1703, which is when MS decided to ditch the rest of the older editions entirely. The binaries were included in the provided repair content sources for the following builds: 8250 (Win8 Consumer Preview), 8400 (Win8 Release Preview), 9200 (Win8 RTM), 9431 (Win8.1 BlueMP), 9600 (Blue RTM), 10586 (Win10 v1511) and 14393 x86 (Win10 v1607). As the enablement flags for the games are still present in every SKU's product policies, it'd be a good idea if someone were to re-enable them through ProductPolicyEditor and look through any noticeable code changes from within their binaries.

Unused Menu

Opening a MUI file in a resource editor reveals six versions of the menu. 163 is the version that is used. 164 and 165 contains the debug menu.

117
Game >
  New Game
  -------------
  Options
  -------------
  Change Game Style >
    Minesweeper
    Flower Garden
  Change Board >
    Silver and  Blue
    Green
  -------------
  Exit
118
Game >
  New Game
  -------------
  Options
  -------------
  Change Board >
    Silver and  Blue
    Green
  -------------
  Exit
163
&Game >
  &New Game\tF2
  -------------
  &Statistics\tF4
  &Options\tF5
  Change &Appearance\tF7
  -------------
  E&xit
&Help >
  &View Help\tF1
  -------------
  &About Minesweeper
  -------------
  Get &More Games Online
164
&Game >
  &New Game\tF2
  -------------
  &Statistics\tF4
  &Options\tF5
  Change &Appearance\tF7
  -------------
  E&xit
&Help >
  &View Help\tF1
  -------------
  &About Minesweeper
Debug >
  Toggle Cheat Keys
  -------------
  Toggle Show Mines
  Test Text
  Win
165
&Game >
  &New Game\tF2
  -------------
  &Statistics\tF4
  &Options\tF5
  -------------
  E&xit
&Help >
  &View Help\tF1
  -------------
  &About Minesweeper
Debug >
  Toggle Cheat Keys
  -------------
  Toggle Show Mines
  Test Text
  Win
166
&Game >
  &New Game\tF2
  -------------
  &Statistics\tF4
  &Options\tF5
  -------------
  E&xit
&Help >
  &View Help\tF1
  -------------
  &About Minesweeper


Debug Menu

By setting the internal g_bDebugEnabled variable to a nonzero value, various aids to debugging are enabled. This value isn't written to by the game, so it must be set manually.

Minesweepervista7debugmenu.png

Hmmm...
To do:
Does the "cheat keys" option have anything to do with the hint/cheat option (available by pressing the H key) available in the other Vista games like Solitaire or Mahjong Titans? Research this further.

The options included in this menu are:

  • Toggle Cheat Keys - Doesn't seem to do anything.
  • Toggle Show Mines - Shows all the mines on the field, but only after you've begun playing the game.
  • Test Text - Doesn't seem to do anything.
  • Win - Does exactly as it says; you automatically win the game.

In addition, the game will also allow the player to change the tile and background setting directly through the Game menu.

Regional Differences

Continuing the Italian-only changes in Windows Me, 2000 and XP, if the system language is set to Italian, "Minesweeper" disappears from the "Change Appearance" dialog, leaving only "Flower Garden" ("Prato florito").

The Italian MUI file (it-IT\Minesweeper.exe.mui) weighs 261 KB, which is noticeably larger than MUI files for all other languages (27~41 KB). This is because it contains a copy of the flower icon with the ID of 110, overriding the mine icon when the system language is set to Italian.

English Italian
English "Change Appearance" dialog Italian "Change Appearance" dialog

XInput Support

An interesting feature that isn't documented anywhere (Help Menu-wise) is XInput (gamepad) support - if the game detects an Xbox 360 controller plugged into one of your USB ports, the P1 corner on the controller will light up, signifying the controller can be used. The controller even rumbles if the player uncovers a mine.

Possibly undocumented because Microsoft thought people were too used to the traditional controls, and a gamepad would seem odd to use. It's a neat little feature, nonetheless.

Controls

Button Effect
Left Analog Stick/D-Pad/Shoulder Buttons/Triggers Moves the cursor. Oddly, they can also be used to navigate the menu bar.
X Puts a flag on wherever the cursor is. When pressing X on a blank space, an error sound plays and the space has a blinking X on it for a second. Oddly, a blank tile that is adjacent to a flagged tile that is a bomb will reveal a blank safe space. Neither of these can be done with a mouse.
A Reveals the space the cursor is on. Does nothing on a blank space.
Y/Start Opens the Game Menu.