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 


Cheat Engine and Godot

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

Joined: 31 Aug 2022
Posts: 2
Location: France

PostPosted: Wed Aug 31, 2022 3:26 pm    Post subject: Cheat Engine and Godot Reply with quote

Hello, I tried to use Cheat Engine on a Godot game on ItchIo on Firefox, and I cannot find the values.
I done everything good (attaching Cheat Engine on good Firefox process, then I tried with Google Chrome) but still nothing.

Anyone know what I done wrong, or what should I do for gettin value of Godot games please?
Thanks!
Back to top
View user's profile Send private message
Kvist
How do I cheat?
Reputation: 0

Joined: 11 Aug 2022
Posts: 6

PostPosted: Wed Aug 31, 2022 4:28 pm    Post subject: Reply with quote

I assume that's gonna be tough. For Godot to work on the web, it is compiled to WebAssembly.
A component of the browser's JS engine (SpiderMonkey for FF, V8 for Chrome) then runs the WebAssembly bytecode, which will eventually be compiled into machine code.

A big obstacle in all of this will be the JS engine, as these do loads of de-/optimization, garbage collection, and code relocation.
This leads to memory changing all of the time and makes scanning for values quite challenging.
I for my part, can't even find integer values I set myself inside the JS console of Chrome, but then again,
I never tried to hack any games in the browser, so I don't really know if there's a special trick to them.

The only lead I can give you is to have a look at the sources. Both the JS source and the WebAssembly can be accessed from the browsers' developer consoles, and both FF and Chrome will decompile the bytecode into text format.
This will allow you to look into the whole game code, break and step through it with the browser's debugger and even change memory in both JS and WebAssembly while on a breakpoint, but you won't be able to get any hard and fast addresses for CE this way either.

On the other hand, I don't know half as much about this stuff as it may seem and there are some crazy cracks out there, so if anybody else knows how to do this kind of stuff with CE, I'd love to know.
Back to top
View user's profile Send private message
MeblIkea
How do I cheat?
Reputation: 0

Joined: 31 Aug 2022
Posts: 2
Location: France

PostPosted: Wed Aug 31, 2022 5:14 pm    Post subject: Reply with quote

[quote="Kvist"]I assume that's gonna be tough. For Godot to work on the web, it is compiled to WebAssembly.
A component of the browser's JS engine (SpiderMonkey for FF, V8 for Chrome) then runs the WebAssembly bytecode, which will eventually be compiled into machine code.

A big obstacle in all of this will be the JS engine, as these do loads of de-/optimization, garbage collection, and code relocation.
This leads to memory changing all of the time and makes scanning for values quite challenging.
I for my part, can't even find integer values I set myself inside the JS console of Chrome, but then again,
I never tried to hack any games in the browser, so I don't really know if there's a special trick to them.

The only lead I can give you is to have a look at the sources. Both the JS source and the WebAssembly can be accessed from the browsers' developer consoles, and both FF and Chrome will decompile the bytecode into text format.
This will allow you to look into the whole game code, break and step through it with the browser's debugger and even change memory in both JS and WebAssembly while on a breakpoint, but you won't be able to get any hard and fast addresses for CE this way either.

On the other hand, I don't know half as much about this stuff as it may seem and there are some crazy cracks out there, so if anybody else knows how to do this kind of stuff with CE, I'd love to know.[/quote]
Hi, thanks for your answer.
I'll try to continue my stuff tomorrow, and try to get some values.
If I find a way to get some good results, I'll try to send every steps here.
Back to top
View user's profile Send private message
panraven
Grandmaster Cheater
Reputation: 55

Joined: 01 Oct 2008
Posts: 942

PostPosted: Thu Sep 01, 2022 2:07 am    Post subject: Reply with quote

A minor info, like the old flash, wasm's bytecode instruction encode integer constant,
"All integer constants are encoded using a space-efficient, variable-length LEB128 encoding"

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