I am taking on a new project, this one should be a lot smaller than the previous. I want to take an exe file (a game executable), and change the memory addresses that it reads files from in memory. For instance, when you run the game executable it opens a file called dataPY.bar. I want to open a different dataPY.bar from a different location. Where would I want to read in on doing this? Or should I look into a different method? Ty.
MasterGberry
-3
Posting Whiz in Training
Recommended Answers
Jump to PostNot clear what you mean by different memory address. Perhaps read each dataPY.bar into a different instance of a DataPY class?
Jump to Postif you know the memory address, you can do stuff like this.
char *p = (char *)0xEF8921;
All 8 Replies
template<>
37
Junior Poster
MasterGberry
-3
Posting Whiz in Training
template<>
37
Junior Poster
Stefano Mtangoo
455
Senior Poster
template<>
37
Junior Poster
MasterGberry
-3
Posting Whiz in Training
Stefano Mtangoo
455
Senior Poster
MasterGberry
-3
Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.