3 ms·
In Win2000 you could read from and write to memory of any app [1]. Which we did for minesweeper. By setting proper values and forcing the window to repaint we i
by dmitriid 9y ago
In Win2000 you could read from and write to memory of any app [1]. Which we did for minesweeper. By setting proper values and forcing the window to repaint we implemented a simple snake game. The body of the snake consisted of bombs and "fruit" you had to eat were flags. I don't remember how we captured keyboard input though.
[1] If your app had admin rights IIRC
- unrealhoang 9y agoThere were GameHack and ArtMoney, they allow you to track memory address for specific value in game (gold, money, scores...) by input the value before and after changing it, and then allow to change the value at that address.
- dmitriid 9y agoA modern version of these tools is Cheat Engine, which is brilliant: http://www.cheatengine.org http://www.cheatengine.org
- xenophonf 9y agoWatch out for the adware bundled into its installers, though. :(
- Andoryuuta 9y agoYeah. There is a link on the download page to a zip of the files, without an installer (or the installCore adware/bundleware). >"For those that want to have Cheat engine without automated installer and installCore recommendation during installation, click here"
- xenophonf 9y agoTo be honest, that's not really acceptable. We as a community should be pushing back hard against open source developers who want to monetize their work with malware. There are better ways for them to make money from their work than something that's ethically dubious at best.
- CodeArtisan 9y agoI once wrote a tool like that but for gnu+linux. You first have to retrieve the memory mapping of the targeted process by reading /proc/<PID>/maps [1] then use process_vm_read/write[2] [1] http://man7.org/linux/man-pages/man5/proc.5.html http://man7.org/linux/man-pages/man5/proc.5.html [2] http://man7.org/linux/man-pages/man2/process_vm_readv.2.html http://man7.org/linux/man-pages/man2/process_vm_readv.2.html
- gruez 9y ago>[1] If your app had admin rights IIRC only if it's a different user. you can read/write to your own processes without admin