Help with making a game hack(C++)
Hey there MPGH,
Before I continue with this post, I would like you (the reader) to know that I already know C++ fairly well, and I would prefer you to not give me an answer of going and reading a book and or tackling a much smaller project. Anyways, I have made a few games in SDL/ALLEGRO5 but I have never tried memory hacking before.
Can anyone tell me what I will be needing / guide me in making an application for The Last Remnant? (seems like an easy game to start off with, just want to edit player and global variables) Nothing to crazy or fancy, just want to learn the basics of memory hacking and try and make some useful application in the future as my knowledge grows.
Thank you in advance,
-Ninepandas
1. finding the target process. (ie. you have to know what a process is, and should know what 'modules' are) -- probably FindWindow, or enumerating the active process list and getting the windows from each.
2. OpenProcess() to get a handle to the process (a unique Id, required for the below)
-- ReadProcessMemory/WriteProcessMemory (possibly VirtualProtect) (all require the handle from above)
3. Find addresses of importance (scanning using CE or Artmoney etc; eventually making your own).
4. read | write to them.
There are lots of examples of using those Windows Functions on this forum. Please, read all the posts in the first ...20 pages of this C++ section and you'll see lots of examples. Many of them are even marked as "Help Request" and contain semi-obvious keywords.