Viewing and Searching Decrypted CPS Data

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
kelvSYC
Posts: 1121
Joined: Thu Sep 27, 2001 1:00 am
Location: Calgary, AB, Canada

Viewing and Searching Decrypted CPS Data

Post by kelvSYC »

Since the most direct method (setting a watchpoint on the USER1 region) can't be used (due to bugs in cheat.dat), I was wondering how you can use the MAME debugger to view, or maybe even search through, the USER1 region.

Or at least, explain how Bugster got the cheats for selecting the line of opponents in Dramatic mode in sfa3...
kelvSYC's Guide to the Cheat Engine - http://members.shaw.ca/kelvsyc/cheatguide.html

The New Move List Cheat Collection - http://mamecheat.co.uk/forums/viewtopic.php?p=6469

Underscore Command - What better game is there?
User avatar
ianpatt
Posts: 336
Joined: Sat Sep 22, 2001 1:00 am
Location: San Francisco, CA

Post by ianpatt »

I don't think the MAME debugger can read memory areas that aren't directly mapped either.
kelvSYC wrote:Or at least, explain how Bugster got the cheats for selecting the line of opponents in Dramatic mode in sfa3...
Possibly by adding a few lines of code to src/vidhrdw/cps1.c to dump REGION_USER1 after the xor'ing occurs, then using a disassembler to analyze the code for the game. That's how I'd do it, anyway.

Sorry I haven't been working on the cheat engine much lately; I've been working on a driver for some rather complex 3d hardware (requiring two new cpu cores, etc.) so my MAME-coding time is spent on that.
Post Reply