Mame Cheat: 24bit searching patch, testers wanted

If you are having problems finding or using cheats for an Emulator (particularly MAME/MESS) or have found a trick that you wish to share this is the place to do it. But please read the Cheat FAQ first.
Post Reply
Thorwak
Posts: 11
Joined: Sun Feb 27, 2005 4:35 pm

Mame Cheat: 24bit searching patch, testers wanted

Post by Thorwak »

Hi,

I have written a small patch to the current cheat engine that allows 24 bit (3 byte) searching from the Advanced menu, and 24 bit Watchpoints. I did this since the current debugger has no search options, and the old (debugger) is very slow when searching for 3 bytes. The 3 byte search can be very useful when searching for certain cheats (read Relative Adress).

I have contacted Ian about this a couple of days ago but he seems out of town or something :P I therefore ask here for a few testers that would like to test the patch and verify that it works and that nothing else got broken in the process. (AFAIK it's working fine, but before submitting it I would like a few more opinions). I have only tested this on Windows (XP) so far, so other plaforms are very welcome!

To test the patch, you should know how to apply a source patch and compile mame yourself. No binary will be distributed. The patch is intended to be applied against the official 0.94 source tree (0.94u1 seems fine too).

If you are interested, please send me a PM with a way to send you the source diff.

Thanks!

Thorwak
User avatar
ianpatt
Posts: 336
Joined: Sat Sep 22, 2001 1:00 am
Location: San Francisco, CA

Post by ianpatt »

The mail didn't show up for some reason. You can upload the diff to http://63.198.180.214/cgi-bin/upload.py and I'll get it.
Thorwak
Posts: 11
Joined: Sun Feb 27, 2005 4:35 pm

Post by Thorwak »

Great!

File uploaded.

Thorwak
User avatar
ianpatt
Posts: 336
Joined: Sat Sep 22, 2001 1:00 am
Location: San Francisco, CA

Post by ianpatt »

The diff looks fine, will move it to the other machine and test tomorrow morning.
Thorwak
Posts: 11
Joined: Sun Feb 27, 2005 4:35 pm

Post by Thorwak »

I'm happy to hear that :)

Please let me know when you have had time to test!

As you can see, the search uses no word/dword boundaries. I thought that would make the most sense in this case.

// Thorwak
User avatar
ianpatt
Posts: 336
Joined: Sat Sep 22, 2001 1:00 am
Location: San Francisco, CA

Post by ianpatt »

Makes sense and seems to work. Let me know if you want it submitted.
Thorwak
Posts: 11
Joined: Sun Feb 27, 2005 4:35 pm

Post by Thorwak »

Yes, I would like it submitted. I just wanted someone but me to test a little, and who better than you! :) Please feel free to submit it for me!

Thanks,

Thorwak
Post Reply