Posted: Fri Feb 01, 2013 6:27 pm Post subject: Need to search for Change/Unchange using Array of Bytes
I'm trying to edit a game running on PCSX2 (ps2 emulator) and I would like to filter my array of bytes results by changed or unchanged values.
I know part of what I'm looking for but even using wildcards gives me too many results to handle. Is there any way I can filter the results other than changing the exact array I'm searching for? (since I don't know what it changes to)
example:
my search is for something like 25 * * * * etc.
and I get 999999999 results.
How do I filter them without knowing what the 25 changes to?
or if i can filter out all the ones that have changed that would be almost as good
If anyone has any advice it would be much appreciated
P.S. Please don't just link to an AOB search tutorial. I've already read most of them and I'm not asking how to perform an AOB search, I'm asking how to filter the results of said search.
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
Posted: Sat Feb 02, 2013 9:13 am Post subject:
If 25 is the only static value in your array, you'll never be able to filter it with an unknown value to 25 too. Your filter scan will turn into:
* * * * *
Which will match all 999999999 current results every time.
Try making your AoB contain more static values that you can rely on. _________________
Joined: 09 May 2003 Posts: 25815 Location: The netherlands
Posted: Sat Feb 02, 2013 12:46 pm Post subject:
Perhaps you could make a custom type that returns 0 for anything that doesn't contain the byte 25 at the start and the rest behind it shown as a integer.
Then you can do a changed/unchanged scan. (Since 0 stays 0 and the ones with 25 do change when they change) _________________
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
Perhaps you could make a custom type that returns 0 for anything that doesn't contain the byte 25 at the start and the rest behind it shown as a integer.
Then you can do a changed/unchanged scan. (Since 0 stays 0 and the ones with 25 do change when they change)
This is kind of what I was looking for. I'll experiment with that.. Thanks for your reply.
In the future though they should add ways to filter an AOB search. it would be very useful on older games and especially games run through an emulator.
EDIT: I'm not seeing a way to give rep but I would if I could
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