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 


Two versions of the game but with the same process name?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Dr.Disrespect
Grandmaster Cheater
Reputation: 3

Joined: 17 Feb 2016
Posts: 526

PostPosted: Sat Dec 08, 2018 11:38 am    Post subject: Two versions of the game but with the same process name? Reply with quote

Please see the screenshot below. They are different games but with the same process name. So when I opened my trainer with these two games opened simultaneously, the trainer couldn't get the right one. I had to close one of them in order to let the trainer attach to the right version of the game. Is there way to fix it?


Capture.PNG
 Description:
 Filesize:  5.98 KB
 Viewed:  706 Time(s)

Capture.PNG



Capture.PNG
 Description:
 Filesize:  6.98 KB
 Viewed:  715 Time(s)

Capture.PNG



_________________
**************

A simple example is better then ten links. Very Happy
Back to top
View user's profile Send private message
OldCheatEngineUser
Whateven rank
Reputation: 17

Joined: 01 Feb 2016
Posts: 1480

PostPosted: Sat Dec 08, 2018 3:14 pm    Post subject: This post has 1 review(s) Reply with quote

easiest way:
write some lua code that search for the given window name instead of process name.

another way:
let your trainer to find both processes (and their ID's) and attach to one of them, then scan for the file version. (if it match the required one then its ok, otherwise its the second process id so attach to it memory)

in either way you might use winapi functions, unless ua have some built-in function names for you.

_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
patched cheat engine tutorials
Back to top
View user's profile Send private message Visit poster's website
Dr.Disrespect
Grandmaster Cheater
Reputation: 3

Joined: 17 Feb 2016
Posts: 526

PostPosted: Sun Dec 09, 2018 2:10 pm    Post subject: Reply with quote

OldCheatEngineUser wrote:
easiest way:
write some lua code that search for the given window name instead of process name.

another way:
let your trainer to find both processes (and their ID's) and attach to one of them, then scan for the file version. (if it match the required one then its ok, otherwise its the second process id so attach to it memory)

in either way you might use winapi functions, unless ua have some built-in function names for you.


Thanks for the reply. I think I'll choose the second one and figure out how to do it.

_________________
**************

A simple example is better then ten links. Very Happy
Back to top
View user's profile Send private message
OldCheatEngineUser
Whateven rank
Reputation: 17

Joined: 01 Feb 2016
Posts: 1480

PostPosted: Sun Dec 09, 2018 10:50 pm    Post subject: Reply with quote

you may need to hook some winapi.
_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
patched cheat engine tutorials
Back to top
View user's profile Send private message Visit poster's website
FreeER
Grandmaster Cheater Supreme
Reputation: 42

Joined: 09 Aug 2013
Posts: 1083

PostPosted: Mon Dec 10, 2018 8:25 am    Post subject: Reply with quote

maybe just try renaming the exes and see if they still work?
_________________
https://github.com/FreeER/ has a few CE related repos
Back to top
View user's profile Send private message
Dr.Disrespect
Grandmaster Cheater
Reputation: 3

Joined: 17 Feb 2016
Posts: 526

PostPosted: Mon Dec 10, 2018 9:46 am    Post subject: Reply with quote

Thanks for the suggestions, and I think i will try to see how to hook winapi.
_________________
**************

A simple example is better then ten links. Very Happy
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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