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 


Multiple Value Scanning

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

Joined: 03 Feb 2016
Posts: 3

PostPosted: Wed Feb 03, 2016 8:21 pm    Post subject: Multiple Value Scanning Reply with quote

Hello everyone. So I've been using Cheat Engine to have a little fun with PCSX2, the PlayStation 2 emulator. Currently playing through a game and through trial and error, I have figured out a range of values to scan for and the types of values I need.

What's important is the types of values. I need addresses that have both a byte and 2 byte values. Whether they have additional types of values matters not, because the game I'm playing uses the byte value/address to change item quantity; the reason the 2 byte value is necessary is because there are... well a ton of byte addresses. Having both the byte and 2 byte values makes it easier to confirm that what I'm changing is an item and without making PCSX2 crash or have the game error out on me.

The question I have is, I know that Cheat Engine allows you to scan all value types, but I was wondering if I can have Cheat Engine only show addresses that have both a byte and 2 byte value. Example 20F8010 is only 1 byte, but 20F8011 has a byte value and a 2 byte value, to me, this means that 20F8011 may be an item and won't break anything, where as 20F8010 is not an item and could break the game. It's essentially a garbage value and address to me.

Can I have Cheat Engine show scan and show results that only have byte and 2 byte addresses/values? I thought grouped might handle it, but it works inherently different than what I imagined it would.

Edit: I'm a scrub and didn't realize I was using an older version of CE (6.4) The most up to date version allows "All" to scan certain value types. I'll test how it works, but I'll assume that it'll still bring up everything that I scan for and not only addresses that feature both byte and 2 byte values. None-the-less, one problem is solved.... I feel dumb about that.


Last edited by LoganSchock on Wed Feb 03, 2016 8:28 pm; edited 1 time in total
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Wed Feb 03, 2016 8:23 pm    Post subject: Reply with quote

Edit > Settings
Scan Settings
The all type includes
Back to top
View user's profile Send private message
LoganSchock
How do I cheat?
Reputation: 0

Joined: 03 Feb 2016
Posts: 3

PostPosted: Wed Feb 03, 2016 8:48 pm    Post subject: Reply with quote

If I can just ask, is there a way to get Cheat Engine to only show results of addresses that have both 1 and 2 byte values, instead of all 1 and 2 byte addresses? If not that's fine, I'm used to ctrl+clicking and deleting the stray addresses, but.... well it's time consuming =(.
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Wed Feb 03, 2016 10:48 pm    Post subject: Reply with quote

If a 2-byte address contains the value, then that same address will ALWAYS have a matching 1-byte address with that value.
So simply searching for a 2-byte value will give you addresses that can be used as both 1-byte or 2-byte.
I'm not certain why you are looking for a 1-byte address at all.

In your example, you mention an address ending in an odd number.
This does not normally occur with applications, but emulators are a different story.
By default, CE will not find those addresses when you specify a 2-byte type.
You can correct this by unchecking Fast Scan so that you will receive those results.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Thu Feb 04, 2016 3:25 am    Post subject: Reply with quote

that it's on odd addresses isn't so weird as it may be using big endian to store it.
_________________
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
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Thu Feb 04, 2016 12:34 pm    Post subject: Reply with quote

If it's big endian, then you can simply try using 2-byte search for the reversed bytes.
For example, if you're looking for the value of 2, scan 512 (hex 0200) instead of 2 (hex 0002).
Back to top
View user's profile Send private message
LoganSchock
How do I cheat?
Reputation: 0

Joined: 03 Feb 2016
Posts: 3

PostPosted: Thu Feb 04, 2016 1:16 pm    Post subject: Reply with quote

I admit that I'm really bad with this stuff, I did not know that all the 2 byte values that CE scans will also have a 1 byte value associated with the address (I'm assuming it works the same for 4 byte and 8 byte too, then?)

That'll make things easier, I think. Thanks for that.

You are right though, as I was viewing the addresses yesterday, it seems that all odd addresses don't have a 2 byte value.

My example above was just a really bad example that I used off the top of my head (within the specific address range that I do actually use).

Information is good, thanks again =).

Edit: I just tried it really quickly Zanzer, the tip about 2-byte values also having 1-byte values too.

Worked really well. Scanned the value of 0 in the specific address range where I know items exist. 333 results, add all the addresses to the white area of CE. Select them all, and then copy/paste to have two sets. Change the copied address value type to 1-byte and all of a sudden, I have both value types of those addresses =). Changing the 0 value to 5 had the addresses that were items show in my inventory, game didn't break, nothing bad happened.

Thanks again, this makes it really easy for me now =).
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 Discussions 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