 |
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
dan013 Cheater
Reputation: 0
Joined: 30 Dec 2023 Posts: 28
|
Posted: Wed Jan 17, 2024 1:50 am Post subject: Differentiate 2 versions |
|
|
Is it possible to differentiate 2 versions of the game. One is global version and other was a Japanese version but the exe both named the same. I want to auto attach the process when it detected the japanese version and put this address values that only work on that version and When i open the global version same thing put that address value that only work on it.
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 467
Joined: 09 May 2003 Posts: 25704 Location: The netherlands
|
Posted: Wed Jan 17, 2024 3:37 am Post subject: |
|
|
This code should print a unique string for each independent exe
Code: |
print(md5memory(process,4096))
|
alternatively, if you want more control
Code: |
versioncode,decoded=getFileVersion(enumModules()[1].PathToFile)
printf("version=%x", versioncode)
printf("major=%d", decoded.major)
printf("minor=%d", decoded.minor)
printf("release=%d", decoded.release )
printf("build=%d", decoded.build)
|
you can combine this with having two tables inside a main table
the first table check which version, and then uses loadTable(findTableFile('specificversion').stream)
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
 |
dan013 Cheater
Reputation: 0
Joined: 30 Dec 2023 Posts: 28
|
Posted: Thu Jan 18, 2024 2:17 pm Post subject: |
|
|
Dark Byte wrote: | This code should print a unique string for each independent exe
Code: |
print(md5memory(process,4096))
|
alternatively, if you want more control
Code: |
versioncode,decoded=getFileVersion(enumModules()[1].PathToFile)
printf("version=%x", versioncode)
printf("major=%d", decoded.major)
printf("minor=%d", decoded.minor)
printf("release=%d", decoded.release )
printf("build=%d", decoded.build)
|
you can combine this with having two tables inside a main table
the first table check which version, and then uses loadTable(findTableFile('specificversion').stream) |
This will help. thanks alot
|
|
Back to top |
|
 |
|
|
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
|
|