Jump to content
Sign in to follow this  
DeSlimsteMan

search for hex value

Recommended Posts

Hello,

How do I script for a search of a hex value that the beginning of the hex and the end is always the same but the middle changes everytime the game opens.

Example 0000007F697F1E98 0000007F697C9E98 0000007F69148E98

That's the same value I need to find, each one is from opening the game again, as you can see the begining and ending remain the same but the middle digits change.
Is there a way to search for 0000007??????E98h
And what do the colors mean?
When I GOTO and browse the hex values are mostly white text but some are yellow or purple or red.

Thanks in advance!

Share this post


Link to post
Share on other sites

You can use group search of bytes. Search string for your case may look like the following:

"0;0;0;70h~7Fh;0~~0;0~~0;0Eh~FEh;98h::8"

With this search string and selected "Byte" type it should find all sequences of bytes that match your pattern. However, it can also find some sequences that don't match the pattern fully. This is because it's not possible to specify a range for finding a byte of pattern "?E", but one can specify a range that includes all of the values that match the pattern. This alone is enough to eliminate some non-matching bytes, including the most frequent value in memory - 0.

To exclude results that are not full matches of the pattern, you need to check 7th byte of every found byte sequences. If it doesn't match the pattern "?E", delete currently checked sequence from search results.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...