Page 1 of 1

Viewing and Searching Decrypted CPS Data

Posted: Fri Apr 04, 2003 4:18 am
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...

Posted: Fri Apr 04, 2003 11:46 pm
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.