| View previous topic :: View next topic |
| Author |
Message |
LoganSchock How do I cheat?
Reputation: 0
Joined: 03 Feb 2016 Posts: 3
|
Posted: Wed Feb 03, 2016 8:21 pm Post subject: Multiple Value Scanning |
|
|
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 |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Wed Feb 03, 2016 8:23 pm Post subject: |
|
|
Edit > Settings
Scan Settings
The all type includes
|
|
| Back to top |
|
 |
LoganSchock How do I cheat?
Reputation: 0
Joined: 03 Feb 2016 Posts: 3
|
Posted: Wed Feb 03, 2016 8:48 pm Post subject: |
|
|
| 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 |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Wed Feb 03, 2016 10:48 pm Post subject: |
|
|
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 |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25830 Location: The netherlands
|
Posted: Thu Feb 04, 2016 3:25 am Post subject: |
|
|
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 |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Thu Feb 04, 2016 12:34 pm Post subject: |
|
|
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 |
|
 |
LoganSchock How do I cheat?
Reputation: 0
Joined: 03 Feb 2016 Posts: 3
|
Posted: Thu Feb 04, 2016 1:16 pm Post subject: |
|
|
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 |
|
 |
|