View previous topic :: View next topic |
Author |
Message |
thatonedudeoverthere Newbie cheater Reputation: 0
Joined: 07 Aug 2015 Posts: 11
|
Posted: Sat Aug 08, 2015 4:53 pm Post subject: Games saves all data to a file constantly. |
|
|
How do i intercept and change that data?
The game is The Viceroy.
The game has a file that whenever you change anything in the game it immediately saves that change to that file and i guess reads off the file to see what it needs.
I have tried to edit the file with cheat engine but the problems start when i realize there is no tutorial on this and i am completely lost. Can anyone help?
|
|
Back to top |
|
|
deama1234 Master Cheater Reputation: 3
Joined: 20 Dec 2014 Posts: 328
|
Posted: Sun Aug 09, 2015 8:00 am Post subject: |
|
|
You can't edit files with cheat engine.
|
|
Back to top |
|
|
thatonedudeoverthere Newbie cheater Reputation: 0
Joined: 07 Aug 2015 Posts: 11
|
Posted: Sun Aug 09, 2015 9:03 am Post subject: |
|
|
Then how can i edit it then?
|
|
Back to top |
|
|
danrevella Master Cheater Reputation: 2
Joined: 11 Jun 2008 Posts: 290
|
Posted: Sun Aug 09, 2015 9:35 am Post subject: |
|
|
deama1234 wrote: | You can't edit files with cheat engine. |
you CAN edit file with CE, simply instead of open a process you may open a file, then search for data on it as it was memory
|
|
Back to top |
|
|
CEForumMember Expert Cheater Reputation: 4
Joined: 06 Jul 2015 Posts: 110
|
Posted: Sun Aug 09, 2015 10:38 am Post subject: |
|
|
danrevella wrote: | deama1234 wrote: | You can't edit files with cheat engine. |
you CAN edit file with CE, simply instead of open a process you may open a file, then search for data on it as it was memory |
Mind = blown.
I never thought that CE can be used to open files.
_________________
|
|
Back to top |
|
|
deama1234 Master Cheater Reputation: 3
Joined: 20 Dec 2014 Posts: 328
|
Posted: Sun Aug 09, 2015 1:14 pm Post subject: |
|
|
CEForumMember wrote: | danrevella wrote: | deama1234 wrote: | You can't edit files with cheat engine. |
you CAN edit file with CE, simply instead of open a process you may open a file, then search for data on it as it was memory |
Mind = blown.
I never thought that CE can be used to open files. |
Lol, didn't realise you can do that either!
|
|
Back to top |
|
|
atom0s Moderator Reputation: 198
Joined: 25 Jan 2006 Posts: 8516 Location: 127.0.0.1
|
Posted: Sun Aug 09, 2015 1:19 pm Post subject: Re: Games saves all data to a file constantly. |
|
|
thatonedudeoverthere wrote: | How do i intercept and change that data?
The game is The Viceroy.
The game has a file that whenever you change anything in the game it immediately saves that change to that file and i guess reads off the file to see what it needs.
I have tried to edit the file with cheat engine but the problems start when i realize there is no tutorial on this and i am completely lost. Can anyone help? |
Find how the file is being written to, be it something like WriteFile (win32 api) or similar. Once you find that, hook the function, ensure the file being edited is the one you want to alter the data for, and then edit the buffer being written to the file as needed.
_________________
- Retired. |
|
Back to top |
|
|
thatonedudeoverthere Newbie cheater Reputation: 0
Joined: 07 Aug 2015 Posts: 11
|
Posted: Sun Aug 09, 2015 1:37 pm Post subject: |
|
|
atom0s I'm tarded, mind helping with that explanation? How do i find how its being written too?
The game uses python which i think thats what you mean, but how do i hook the function and all that jazz?
I just tried messing around with the game and cheat engine to try and find where the string that the money is in is being written from, I found the address that writes it out at, but i don't know how to follow it back. All i found out is a python script writes to it because the game is made in python.
If anyone wants to try their hand i could gift them the game on steam. It's fun, i just didn't know it would be this hard to change a value in the damn thing.
Can anyone help me here?
|
|
Back to top |
|
|
CEForumMember Expert Cheater Reputation: 4
Joined: 06 Jul 2015 Posts: 110
|
Posted: Sun Aug 09, 2015 10:19 pm Post subject: |
|
|
I wouldn't mind giving it a shot but let's see if someone more experienced one out here wants to go first.
_________________
|
|
Back to top |
|
|
thatonedudeoverthere Newbie cheater Reputation: 0
Joined: 07 Aug 2015 Posts: 11
|
Posted: Sun Aug 09, 2015 10:36 pm Post subject: |
|
|
Like i said, if you want to try, message me your steam name and ill give you a copy to take a spin with. Literally everyone on this forum is more experienced than me.
At this point i've 'mastered' the game(its fucking hard). So it's not urgent but, noone else has done something like this that i can find. So i think its a cool thing to get done.
|
|
Back to top |
|
|
|