Post subject: MHS memory search question
Editor, Emulator Coder, Expert player (2158)
Joined: 5/22/2007
Posts: 1134
Location: Glitchvania
I'm using MHS 4.0.0.13 searching for some hexadecimal values. However, I simply failed to figure out how to do it. For example, I tried to type the hexadecimal 2ec123 as "0x2ec123", "x2ec123", "0x002ec123", "x002ec123", "2ec123x", "2ec123h" and so on in the "Value to Find" box, but all were rejected as "invalid data". Is it that MHS 4.0.0.13 simply doesn't support searching for hexadecimal values, or I missed something?
<klmz> it reminds me of that people used to keep quoting adelikat's IRC statements in the old good days <adelikat> no doubt <adelikat> klmz, they still do
Experienced player (623)
Joined: 11/30/2008
Posts: 650
Location: a little city in the middle of nowhere
Use: Search > group search then chose: options > List is in hex For "total group elements", put 1 search away or Search > string search and then chose "hex string" from the drop down box unfortunately, none of these have subsearch abilities, you will have to use a data type search for that. I'm probably missing something as well.
Measure once. Cut twice.
SXL
Joined: 2/7/2005
Posts: 571
Just a wild guess, but maybe the letters must be uppercase ? 2EC123 ?
I never sleep, 'cause sleep is the cousin of death - NAS
Editor, Emulator Coder, Expert player (2158)
Joined: 5/22/2007
Posts: 1134
Location: Glitchvania
andymac wrote:
Use: Search > group search then chose: options > List is in hex For "total group elements", put 1 search away or Search > string search and then chose "hex string" from the drop down box unfortunately, none of these have subsearch abilities, you will have to use a data type search for that. I'm probably missing something as well.
Those work. Thanks.
SXL wrote:
Just a wild guess, but maybe the letters must be uppercase ? 2EC123 ?
I've tried that and failed before. Thanks all the same.
<klmz> it reminds me of that people used to keep quoting adelikat's IRC statements in the old good days <adelikat> no doubt <adelikat> klmz, they still do
Joined: 3/7/2006
Posts: 720
Location: UK
Maybe it's &2EC123 ?
Voted NO for NO reason
Editor, Emulator Coder, Expert player (2158)
Joined: 5/22/2007
Posts: 1134
Location: Glitchvania
LagDotCom wrote:
Maybe it's &2EC123 ?
Err, I am afraid not. Maybe we could find some buffer-overflow bugs to trick it to accept hex values?
<klmz> it reminds me of that people used to keep quoting adelikat's IRC statements in the old good days <adelikat> no doubt <adelikat> klmz, they still do
Experienced player (623)
Joined: 11/30/2008
Posts: 650
Location: a little city in the middle of nowhere
you could use another copy of MHS to inject values in the original process, which I believe is done using hex. or alternatively, just suck up and use the conversion tool included with MHS.
Measure once. Cut twice.
Joined: 4/18/2007
Posts: 88
Location: Tokyo, Japan
You will need the latest version of MHS, which is miles ahead of 4.0.0.13: http://www.memoryhacking.com/index.php for MHS 5.007 This version accepts any valid expression in those edit boxes, not only including hex-formatted numbers, but also (for example) 0x10 + 16, (0x8051C4A0&0xFFFFFF)+[Project64.exe+D6A3Ch], etc. L. Spiro