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 


Game crash while loading if byte is modified

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Rystrer
How do I cheat?
Reputation: 0

Joined: 13 Feb 2021
Posts: 1

PostPosted: Sun Feb 14, 2021 5:09 am    Post subject: Game crash while loading if byte is modified Reply with quote

Hello everyone,

I am struggling to modify a game core. Here is the situation :

I need to modify de game at start before full loading, to prevent it to check the core files of the game, an integrity check. I've found the opcode who makes the checks. It is a jump if not equal. I just need to change it to just a simple jump. (jne ***** --> jmp *****)

BUT the game crashes everytime it is loading a module ! Everytime I modify even just one byte in the opcode it crashes when loading whatever dll. (The game loads a lot of dll in the game, that is why I cannot just patch the exe).

There is some turns around :

1 - If I smash the auto assemble script, enabled / disabled multiple times while loading, it is working 1/5 of the time which is exhausting.

2 - If I make a breakpoint just to stop the game running, run the script, then toggle off the breakpoint and then run the game normaly, it will surprisely work!

The script is only :
--------------------------
[ENABLE]
"game.exe"+974248:
jmp DCS.exe+97428A

[DISABLE]
"game.exe"+974248:
jne game.exe+97428A
--------------------------
It just need to be active at start.

The game does'nt hold any anti-cheat system, just a integrity check at start AFAK.

I am wondring why it is crashing everytime it is loading a module into the game, and would like to know if there is a way around this. OR a way to patch the exe which seems to be really hard to me.

I want to also know if there is way to load the script at the very beginning of the game launch. Because I still miss some files checking due to the time spend to attach CE to the process.

I tried to run the game with x64dbg with ScyllaHide but there access violation label appearing.

Thank you.
Back to top
View user's profile Send private message
soggytoast111
Cheater
Reputation: 0

Joined: 25 Sep 2020
Posts: 26

PostPosted: Sun Feb 21, 2021 6:36 pm    Post subject: Reply with quote

Are you using auto assemble to create a code cave to execute this from? Or are you just trying to modify the bytes of the opcode directly?

If it's the latter, then that might be the problem.
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