Soldato
Waht I want to do is write a program that graphs things like speed, revs, gear changes etc. over time by retrieving data from a game such as need for speed.
My question is, how would I go about doing this? in paticular, finding the memory locations where the floating point values for speed etc are kept. One way i thought of was to read the process's memory in 16 bit (4 byte: float) chunks, grabbing each value that is 0.0 when the car is on the starting line, with no user input, saving their current value and address etc. and then watching each one for an increase when you put your foot down. then I'd eliminate any that didnt increase and make reasonable guesses as to which was speed, which was revs, time, gear etc..
has anyone done anything like this? is this a reasonable way of going about doing this?
cheers. Joe
My question is, how would I go about doing this? in paticular, finding the memory locations where the floating point values for speed etc are kept. One way i thought of was to read the process's memory in 16 bit (4 byte: float) chunks, grabbing each value that is 0.0 when the car is on the starting line, with no user input, saving their current value and address etc. and then watching each one for an increase when you put your foot down. then I'd eliminate any that didnt increase and make reasonable guesses as to which was speed, which was revs, time, gear etc..
has anyone done anything like this? is this a reasonable way of going about doing this?
cheers. Joe