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 


Could anyone help me to find logic between those changes?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
rain-13
Advanced Cheater
Reputation: 0

Joined: 18 Mar 2009
Posts: 87

PostPosted: Fri Jan 07, 2011 8:54 am    Post subject: Could anyone help me to find logic between those changes? Reply with quote

Those bytes on green backgound change every time I save game. Even if I change nothing.

And when I change something in save game like weapon ID then it always causes 5-6 changes in save game, which are always at random offsets.When I just change weapon ID in save game, save game wont load anymore. When I change Weapon ID to what it was in previous save game, then I also have to change everything else like it was in previous save.

looks like 0c, 2c and 1e to 23 somehow tell how rest of save game should be written, but I cant find out, how.

When I attach debuger to game process, game freezes, and when I try unpause, i get errors from degugger (olly dbg)

Is there way to use CE to find out what memory addresses are accessed before save game is written?

IMAGE:
[url]autoit.net.ee/pildid/pollogic.png[/url]
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 373

Joined: 09 May 2003
Posts: 22009
Location: The netherlands

PostPosted: Fri Jan 07, 2011 9:49 am    Post subject: This post has 1 review(s) Reply with quote

could be a simple crc check. See if you can figure out how it work (e.g increase the value of one byte and also increase the crc value)

anyhow, if you're on 32-bit try the kernelmode debugger of ce

_________________
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
View user's profile Send private message MSN Messenger
rain-13
Advanced Cheater
Reputation: 0

Joined: 18 Mar 2009
Posts: 87

PostPosted: Fri Jan 07, 2011 11:48 am    Post subject: Reply with quote

How do i use this? anything else than CE i need to download? And how to use that debugger?

I have 64 bit win 7 but game is 32 bit and working trainer is also 32 bit. Olly dbg is also 32 bit, so i guess I am able to use 32 bit CE debugger. Is there any tutorial about how to use CE kernel mode debugger to crack that crc?

Can crc be diferent even if i save at same spot? image you see is saved on same spot, I didn't do anything, just saved game over and over again.

In Memory view I have menu "Kernel Tools", but its grey.

Is there, or is there going to be any 64 bit debugger for CE
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 373

Joined: 09 May 2003
Posts: 22009
Location: The netherlands

PostPosted: Fri Jan 07, 2011 12:06 pm    Post subject: Reply with quote

try this one and enable veh debugger:
http://cheatengine.org/temp/CheatEngine60RC5.rar

of course, 32-bit with kernelmode debugger is always the best option (so if you can, install a 32-bit os...)

using it, see if you can use "find what accesses this address" on the found address and see what code accesses it when you save

as for the crc, it shouldn't change if you save at the same spot (assuming nothing else in the game changed, including time )

_________________
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
View user's profile Send private message MSN Messenger
rain-13
Advanced Cheater
Reputation: 0

Joined: 18 Mar 2009
Posts: 87

PostPosted: Fri Jan 07, 2011 2:27 pm    Post subject: Reply with quote

Quote:
using it, see if you can use "find what accesses this address" on the found address and see what code accesses it when you save


How do I find that address?

Since I don't know what gets passed to save func, I cant scan memory for anything specific.

time is written in save game but when I save fast enough, minute doesn't change. Also when I edit save game year, mday, hour, minute, game title ID, game image ID, it works nicely. but that stuff only gets displayed on screen where i can choose save game, so it's no problem to make save game that's saved on year 65535, and has title "Last part", which actually is first part. But as soon as I change any byte in save game,it wont load anymore, I see that game in save games list, but game doesn't load. It's 51 kb large file which mostly contains 00s

Here's documentation about Sword change. Written like offset in file = new value.

You can see huge change at b30. however whats 00 in in that huge block of data is original data, and everything else is new. I also found that that data block is same in every save.
But bigger problem is save spot. Every time I move to other place, such huge block gets written in save game. I've also noticed that if room has lots of game objects, changed part may take up to 50 lines in hex editor, but game size never changes.

And if I want to change weapon ID I would have to change that much info, which isn't static at all even If I load previous game and get same sword again, those fields are different, expect that huge part of data.

Code:
[Primary weap = spider]
6c = ff
791 = 02
793 = 00
794 = 5c036b86
842 = 0c
830 = 0c
bc8c = 00
bc4c = 02
b30 ={04 10 00 00 23 e7 00 a6 22 00 00 00 00 00 00 00
57 7d 00 a6 66 02 00 00 3d 19 81 87 32 23 13 08
66 03 04 00 00 00 00 00 c8 2f 00 0c 22 00 00 00
08 20 00 00 07 d3 13 08 22 00 00 00 04 10 00 00
b8 9e 14 08 22 00 00 00 0c 10 00 00 5c ff 12 08
22 00 00 00 10 00 00 00 5e 4e 00 21 22 00 00 00
10 00 00 00 f6 0d 00 20 22 00 00 00 01 00 00 00
c4 2f 00 0c 22 00 00 00 00 00 00 00 ff 71 00 31
22 00 00 00 00 00 00 00 76 bc 00 33 22 00 00 00
01 00 00 00 f6 71 00 31 22 00 00 00 02 02 00 00
1c 5c 01 29 22 00 00 00 08 20 00 00 9c ff 00 92
02 00 00 00 00 00 00 00 cd 1e 00 0c 22 00 00 00
01 00 00 00 ee 7b 00 21 22 00 00 00 10 00 00 00
f1 7b 00 21 22 00 00 00 10 00 00 00 1f f2 13 08
22 00 00 00 08 00 00 00 00 00 00 00 00 00 00 00}
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