Minesweeper game hacks
![minesweeper game hacks minesweeper game hacks](https://www.spielbanken.com/wp-content/uploads/2016/08/minesweeper0.png)
We don’t see any other addresses with the same property so we can safely assume that this is the address of where the time is stored. And still, while the timer on Minesweeper keeps increasing, so does the Value of address 0x0100579C. The Value value is the same as the timer with a Previous value of what we first scanned. If we scroll down a bit while the timer continues, we can see one of the addresses with red text. After first scanning, a list of address and their values will flood the left panel with the value of 13, these are all of the existing values of 13 (of 4 bytes) in the process at the moment of scanning. Start the game by pressing one of the cells and let it run until the time of, say 13 and while we wait, switch to CE and under First Scan, enter 13 into the edit box and prepare to press First Scan when the game’s timer hits 13. To do this, we have to let the timer run, then using CE, we attempt to find the value of the time by scanning the Minesweeper’s process’s memory. Now that Minesweeper is open and is loaded into CE, to be able to modify the time®, we must locate where the value exists in memory. In CE, go to File -> Open Process, select the winmine.exe process from the list and press Open. First of all, we need to fire up our trusty Cheat Engine (CE) (mine is version 6.6 but that shouldn’t matter) and Minesweeper.
#Minesweeper game hacks code#
Unlike the first game hacking topic, this will include source code (written in MSVC++) to apply the hacks on demand so knowledge of the WinAPI is also recommended.įor everyone else, all that’s required is some time to dedicate and a curious mind.įreezing the Timer Debugging and Disassembly: Locating the Timeįor those who are familiar with Minesweeper, the high scores are determined by the fastest sweep time so, clearly the timer is definitely something we want to target. Pre-requisites and Recommendationsįor those who are seeking an introduction to game hacking and wish to follow through and understand the paper, it is recommended that they be familiar with the assembly language (preferably x86 Intel) and a high level language which is able to access and manipulate memory such as C or C++. In those situations, dynamically retrieving the process’s module base is a necessity but I will not be covering in this paper, but will do so if I ever present another game hacking write up. The addresses I will be using will be hardcoded so keep in mind that this may not work in environments where ASLR is enabled.
#Minesweeper game hacks windows#
On the contrary, Windows XP does not support ASLR which was only introduced in Vista. The Windows XP version I will be using is SP3 which (starting with SP2) includes DEP.
#Minesweeper game hacks how to#
Welcome to my second topic on game hacking where I will be discussing how to hack Windows XP’s Minesweeper. At the time (before my exams started), I was hyped to deliver a second instalment of game hacking to the forums but I had lost interest due to the exhaustion gathered from exam preparation and participation. What’s good, peeps? Before I start this topic, I’d like to sincerely apologise for the huge delay.