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 


what code accessed an hypotetical line in an external file

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
Fresco
Grandmaster Cheater
Reputation: 4

Joined: 07 Nov 2010
Posts: 600

PostPosted: Wed Mar 07, 2012 3:49 pm    Post subject: what code accessed an hypotetical line in an external file Reply with quote

my game checks a line in game.ini
i want to track that checking and make it true

yes, yes, i could just modify game.ini and everything would be great
but my goal is to work only with memory

_________________
... Fresco
Back to top
View user's profile Send private message
SwaggaJackin'
Master Cheater
Reputation: 2

Joined: 06 Nov 2009
Posts: 312

PostPosted: Wed Mar 07, 2012 4:06 pm    Post subject: Reply with quote

More than likely the game is going to read that line and store it in memory.

Find the text string in memory, than find out what writes to it (perhaps when its changed).

More than likely it'll be a call to CreateFile().
Back to top
View user's profile Send private message
Fresco
Grandmaster Cheater
Reputation: 4

Joined: 07 Nov 2010
Posts: 600

PostPosted: Wed Mar 07, 2012 4:30 pm    Post subject: Reply with quote

I must have expressed myself wrong

1) the game starts
2)checks if the line is avalabe (if there is or not)
2-1) if yes, activates a feature (call feature activation)
2-2) if no, keep's the feature deactived
3)if i edit with notepad or whatever the game.ini file and add a new line that says
activate feature

the game is going to search in the file for that line...
if the line exists
activate the feature
if not don't

i hope you got the idea now

_________________
... Fresco
Back to top
View user's profile Send private message
Fresco
Grandmaster Cheater
Reputation: 4

Joined: 07 Nov 2010
Posts: 600

PostPosted: Thu Mar 15, 2012 10:14 am    Post subject: Reply with quote

can anyone help ?
_________________
... Fresco
Back to top
View user's profile Send private message
Kavvman
Master Cheater
Reputation: 2

Joined: 17 Apr 2004
Posts: 316

PostPosted: Thu Mar 15, 2012 11:48 am    Post subject: Reply with quote

Pretty easy.

Search for "game.ini" find the references to it and if you got even mediocrish skills in debugging you should be able to find the compare.

_________________
...
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