Post subject: Minesweeper TASing
nocash4u
She/Her
Joined: 2/18/2012
Posts: 37
Location: Brazil
I was watching some videos on youtube, until a video caught my attention ... It was a Tool-Assisted Speed​​-run for Windows Minesweeper. I was wondering about what was done, I searched on google and all sources, all, if someone has an idea of ​​how it was done, I would be grateful. Here is the video link Link to video
Editor, Experienced player (608)
Joined: 11/8/2010
Posts: 4012
I would assume they used the rerecording environment Hourglass.
Editor, Emulator Coder, Site Developer
Joined: 5/11/2011
Posts: 1108
Location: Murka
hourglass can't into mouse control
Guga
He/Him
Joined: 1/17/2012
Posts: 838
Location: Chile
Or Horsebox! We have a TAS of the GB version, and doing on the Windows version, IMO, wouldn't show anything new.
ALAKTORN
He/Him
Player (99)
Joined: 10/19/2009
Posts: 2527
Location: Italy
Guga wrote:
the Windows version, IMO, wouldn't show anything new.
that’s not the point of the topic, he’s asking how that movie was made
Guga
He/Him
Joined: 1/17/2012
Posts: 838
Location: Chile
D'oh.
AnS
Emulator Coder, Experienced player (723)
Joined: 2/23/2006
Posts: 682
That is not a TAS. It's pure bot work with suboptimal strategy as a result. Did you know about this cheat code?
Open Minesweeper, then type the letters xyzzy and hold the shift button for three seconds. Now whenever you are about to click on a cell, look at the top left corner of your monitor screen. If the pixel is white, then its ok to click. If the pixel turns black, then it means you are pointing at a mine.
Of course a program (bot) doesn't need to look at pixels, it can just read from memory and see which cells have mines. Then it only needs to iterate through all cells and simulate mouse click (by sending WM_LBUTTONDOWN message) for those cells that don't have mines. Now, for this to be called a TAS, the bot should calculate the least amount of clicks (not clicking on auto-opened cells, see the human-made TAS of GB Minesweeper) instead of iterating through all cells.
Personman
Other
Joined: 4/20/2008
Posts: 465
Amazingly, this TAS is only about twice as fast as the human world record. (note that the main time listed is a composite of beginner, medium, and expert scores; the WR expert score is 31.13.)
A warb degombs the brangy. Your gitch zanks and leils the warb.
RachelB
She/Her
Player (127)
Joined: 12/3/2011
Posts: 1579
Personman wrote:
Amazingly, this TAS is only about twice as fast as the human world record. (note that the main time listed is a composite of beginner, medium, and expert scores; the WR expert score is 31.13.)
That would make this ~31x faster.
Joined: 3/30/2007
Posts: 44
Read from memory, game instantly broken. Yawn.