by Cola-Kattn (3 Submissions)
Category: Miscellaneous
Compatability: Visual Basic 5.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating:
(4 Votes)

This is a module that contain functions to easily read\write Byte, Integer and Long datatypes (which is the three most common datatypes you would need in a basic trainer) to a process' memory and you are free to use the module in your own programs\trainers or just use it for educational purpose if you like.
In the same project file as the module, there is a little memory manipulation program I wrote that shows how to use each of the read\write functions, and to make the test-suite complete, I wrote a small program you can test the functions on by manipulating Byte, Integer and Long variables.
You can find the memory offsets for each variable in a text file named Offsets.txt, though the program was also designed so you can try to find the offsets by using a memory search tool such as GameHack or TSearch.
The whole project is widely commented and I suggest you read through it for a better understanding of what's going on.
Side Effects
I don't really know much about compatibility in other Windows versions than Win98SE so a feedback on that would come in handy.