Introduction

This is just a few enhancements to the frmMain.cs for the cool project located here. Simply download that project first, and replace the frmMain in the ProcessMemoryReaderLib\MineSweeperReader directory with this one.

The main purpose is to include a checkbox to make the form transparent, and instead of drawing the little mines, it highlights where the mines are red. The result is you can overlay the form directly on minesweeper and play the game while it shows you where the mines are, and you can still flag the mines by right-clicking as normal.

Another small enhancement was to include all the buttons on a Windows Forms Panel, so that when you re-read the minesweeper memory, it is not so slow to erase all of the previous buttons before redrawing.

Notes

If you accidentally click on the red border while trying to flag a mine (or any other time), it will bring the focus away from minesweeper and back to the application... just click on a transparent region again and you're on your way.

Also, if the transparency is not working correctly (i.e. - you see Lime, my transparent color of choice, or when you click, the app gets the click instead of minesweeper which should receive the click, while behind the transparent form), then you probably need to turn off 32-bit color and drop down to 24-bit or 16-bit (or 256 if you're getting tired of all this new-fangled color crap). This is from my experience, I don't know what causes the problem.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

Hi, I just would like to share a fix on the Minesweeper Memory Reader Enhancement code. The following would allow the transparency to work (the user would still be able to play with Minesweeper) without turning off high color modes.

I would like to know if somebody could give me a copy of the compiled executable of this enhanced version of MineSweeper memory reader, as shown in this article. I do not have a Visual Studio C# Development Environment, so I cannot compile this project myself. If anyone has this executable, please let me know by replying to this post, and I can give you my email address for delivery.