Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Games saves all data to a file constantly.

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
thatonedudeoverthere
Newbie cheater
Reputation: 0

Joined: 07 Aug 2015
Posts: 11

PostPosted: Sat Aug 08, 2015 4:53 pm    Post subject: Games saves all data to a file constantly. Reply with quote

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
View user's profile Send private message
deama1234
Master Cheater
Reputation: 3

Joined: 20 Dec 2014
Posts: 328

PostPosted: Sun Aug 09, 2015 8:00 am    Post subject: Reply with quote

You can't edit files with cheat engine.
Back to top
View user's profile Send private message
thatonedudeoverthere
Newbie cheater
Reputation: 0

Joined: 07 Aug 2015
Posts: 11

PostPosted: Sun Aug 09, 2015 9:03 am    Post subject: Reply with quote

Then how can i edit it then?
Back to top
View user's profile Send private message
danrevella
Master Cheater
Reputation: 2

Joined: 11 Jun 2008
Posts: 290

PostPosted: Sun Aug 09, 2015 9:35 am    Post subject: Reply with quote

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
View user's profile Send private message
CEForumMember
Expert Cheater
Reputation: 4

Joined: 06 Jul 2015
Posts: 110

PostPosted: Sun Aug 09, 2015 10:38 am    Post subject: Reply with quote

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
View user's profile Send private message
deama1234
Master Cheater
Reputation: 3

Joined: 20 Dec 2014
Posts: 328

PostPosted: Sun Aug 09, 2015 1:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
atom0s
Moderator
Reputation: 198

Joined: 25 Jan 2006
Posts: 8516
Location: 127.0.0.1

PostPosted: Sun Aug 09, 2015 1:19 pm    Post subject: Re: Games saves all data to a file constantly. Reply with quote

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
View user's profile Send private message Visit poster's website
thatonedudeoverthere
Newbie cheater
Reputation: 0

Joined: 07 Aug 2015
Posts: 11

PostPosted: Sun Aug 09, 2015 1:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
CEForumMember
Expert Cheater
Reputation: 4

Joined: 06 Jul 2015
Posts: 110

PostPosted: Sun Aug 09, 2015 10:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
thatonedudeoverthere
Newbie cheater
Reputation: 0

Joined: 07 Aug 2015
Posts: 11

PostPosted: Sun Aug 09, 2015 10:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites