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 


Hacking Princess & Conquest

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

Joined: 12 Sep 2015
Posts: 5

PostPosted: Tue Jan 05, 2021 10:04 pm    Post subject: Hacking Princess & Conquest Reply with quote

I know this game has a built-in cheats system, but that's apparently going to go away once the game is actually fully finished. I just want to try and get a head start.
I'm trying to do something simple: Changing the swirlies (the currency). I know that this game apparently uses the same formula for all its values which is (X*2)+1 (with X being the actual value) and am able to find this value with ease but when I try to change it, the game just kills itself. Just closes. I'm almost certain this is the correct value because it changes consistently. There are two values but one appears to be the visual value as it changes after exiting a menu, so I just leave that alone.
Not sure why this is happening and not sure if it's circumvent-able. Thoughts?
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4711

PostPosted: Tue Jan 05, 2021 11:03 pm    Post subject: Reply with quote

Probably some cheap attempt by a naive developer to deter people from hacking their game. Various forms of obfuscation and redundancy checks (i.e. checksum, xor keys, hashes, etc.) were occasionally seen in flash games years ago.

Look at the code that accesses the value and figure out what's going on. If you don't know how to read assembly, there are probably other values you can find via unknown initial value and changed/unchanged scans that might help you learn what's going on.

Or just ask someone else to do it for you. Try a third party site:
https://forum.cheatengine.org/thirdparty.php

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
Jorvalt
How do I cheat?
Reputation: 0

Joined: 12 Sep 2015
Posts: 5

PostPosted: Wed Jan 06, 2021 5:40 pm    Post subject: Reply with quote

ParkourPenguin wrote:
If you don't know how to read assembly

I think you give me FAR too much credit.

ParkourPenguin wrote:
Probably some cheap attempt by a naive developer to deter people from hacking their game. Various forms of obfuscation and redundancy checks (i.e. checksum, xor keys, hashes, etc.) were occasionally seen in flash games years ago.

This game was actually made in RPGmaker, so is it possible that's a product of the engine and not something deliberately put in by the developer himself?

When I look at the code the accesses the value, for each value it seems to do periodic checks or something as those will just happen every so often regardless of the value changing, and then there multiple other instructions happening. For one there's two that run simultaneously. For the other there's one that runs several times and one that runs once, which is why I think that's the visual value since this has a kind of "rolling counter" when you gain or lose swirlies. The instruction is always one pointer + another pointer (which is a number) * 4. So, for instance edi+eax*4. Not really sure how to properly utilize these because I haven't dealt with this specific kind of stuff before.
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4711

PostPosted: Wed Jan 06, 2021 7:00 pm    Post subject: Reply with quote

I haven't looked at rpgmaker in a long time. Last I did, it was a mess, and if it's anything like it was previously, I wouldn't be surprised if this were a product of the game engine itself.

Search for "rpgmaker decompiler" or something- a tool made specifically for rpgmaker games would likely be better than CE.

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
Jorvalt
How do I cheat?
Reputation: 0

Joined: 12 Sep 2015
Posts: 5

PostPosted: Wed Jan 06, 2021 8:09 pm    Post subject: Reply with quote

ParkourPenguin wrote:
I haven't looked at rpgmaker in a long time. Last I did, it was a mess, and if it's anything like it was previously, I wouldn't be surprised if this were a product of the game engine itself.

Search for "rpgmaker decompiler" or something- a tool made specifically for rpgmaker games would likely be better than CE.

I actually have that. RPGMakerDecrypter. Not sure how this would help me with what I'm trying to accomplish though.
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4711

PostPosted: Thu Jan 07, 2021 12:01 am    Post subject: Reply with quote

Decompiling the game allows you to see exactly what the game is doing at a much higher level. You can even change the source code to suit your needs.

If you can't figure out why the game is crashing after looking at the decompiled code, it could be a property of the engine itself. Assuming the engine isn't open source, it would then be a good idea to look through assembly.

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
JohnathanSweeney
Newbie cheater
Reputation: 1

Joined: 04 Apr 2016
Posts: 20

PostPosted: Thu Jan 07, 2021 1:47 pm    Post subject: Reply with quote

They are doing an integrity check of the variable you are trying to change. You will have to change the "source" variable first and then the variable you are currently changing before the integrity check occurs. Decompile the game and check the source for more info
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