Search found 325 matches

by ianpatt
Sat Jun 14, 2008 10:37 pm
Forum: Cheat Engine Help
Topic: CE Pointer Problem
Replies: 2
Views: 1556

This forum is for discussion about the cheat engine in MAME, not the PC program with a similar name. To answer your question, though, the "set direction flag" instruction only modifies registers, it can't modify memory. Something is wrong with your analysis of the code, or CE is breakpointing on the...
by ianpatt
Sat May 31, 2008 1:49 am
Forum: Cheat Engine Help
Topic: New cheat stuff for MAME .125 U3 ???
Replies: 31
Views: 12681

Sorry about this - I noticed he had been working on this for a while, and assumed it was happening with the knowledge and support of you guys, otherwise I would have spoken up on the list. I didn't look closely at the change enough. Some changes he has sent in are good, mainly converting function/va...
by ianpatt
Tue Jul 11, 2006 10:11 am
Forum: Cheat Engine Help
Topic: Region invalidated problem
Replies: 2
Views: 2120

I haven't had a chance to test this yet, but at around line 9179, change: static void InvalidateEntireRegion(SearchInfo * search, SearchRegion * region) { memset(region->status, 0, region->length); search->numResults -= region->numResults; region->numResults = 0; } to static void InvalidateEntireReg...
by ianpatt
Thu Jun 22, 2006 8:03 pm
Forum: Cheat Engine Help
Topic: Problem for Set/Clear Bit on Relative Address
Replies: 6
Views: 3668

Gah, sorry about that again. Edited original post.
by ianpatt
Wed Jun 21, 2006 7:51 am
Forum: Cheat Engine Help
Topic: Problem for Set/Clear Bit on Relative Address
Replies: 6
Views: 3668

Heh, sorry about that. Was posting from work and couldn't check the code. There's a typo in ReadData that makes it applies random byte-swapping when reading an indirect value. To fix, replace: case kLocation_IndirectIndexed: { UINT32 address; INT32 offset = action->extendData; UINT8 cpu = (parameter...
by ianpatt
Mon Jun 19, 2006 8:56 pm
Forum: Cheat Engine Help
Topic: Problem for Set/Clear Bit on Relative Address
Replies: 6
Views: 3668

Both the relative offset and the bitmask use the extend data field (the last numeric field in the cheat), so only one can work at a time.
by ianpatt
Fri Jun 09, 2006 9:08 pm
Forum: Cheat Engine Help
Topic: Cheat menu problem on 0.106u1
Replies: 6
Views: 3505

Aaron said he's fixed these issues in u5, let me know if there's anything still unresolved.
by ianpatt
Sun Jun 04, 2006 4:17 am
Forum: Cheat Engine Help
Topic: Cheat menu problem on 0.106u1
Replies: 6
Views: 3505

After getting familiar with the new rendering code, it looks like it's still very much under development. I'll take a look again once things have calmed down; many things are changing with each 'u' patch. Thanks for the bug reports, though, I will make sure these are fixed once the render core is mo...
by ianpatt
Sat Jun 03, 2006 8:56 pm
Forum: Cheat Engine Help
Topic: Cheat_file option problem on 0.106u3
Replies: 3
Views: 2494

Replace the beginning of LoadCheatDatabase (line 8672) with: static void LoadCheatDatabase(void) { char buf[4096]; const char * inTraverse; char * outTraverse; char * mainTraverse; int first = 1; char data; inTraverse = options_get_string("cheat_file", 0); if(!inTraverse) inTraverse = "cheat.dat"; o...
by ianpatt
Sat Jun 03, 2006 8:39 pm
Forum: Cheat Engine Help
Topic: Cheat_file option problem on 0.106u3
Replies: 3
Views: 2494

Confirmed, fix coming in a few minutes.
by ianpatt
Fri May 26, 2006 11:29 am
Forum: Cheat Engine Help
Topic: Shimapong, dont'be shy... (de-assembly for ROMHACK!)
Replies: 24
Views: 12368

It's a very powerful disassembler with good analysis tools, but out of the box it's only a debugger for x86. I'm not sure how extendable the debugger is; if it's general-case enough someone could probably write a debugger client for MAME that could talk with IDA via a plugin or the remote debugger i...
by ianpatt
Fri May 26, 2006 5:09 am
Forum: Cheat Engine Help
Topic: Shimapong, dont'be shy... (de-assembly for ROMHACK!)
Replies: 24
Views: 12368

IDA pro (the legit Professional version at least) has support for tons of different CPUs; it can be very useful for this sort of thing as a companion to the MAME debugger.
by ianpatt
Tue May 23, 2006 10:28 am
Forum: Cheat Engine Help
Topic: Cheat menu problem on 0.106u1
Replies: 6
Views: 3505

Yeah, I haven't had a chance to take a look at the code yet, but it's almost guaranteed to be caused by the video rewrite. I'll take a look tomorrow.
by ianpatt
Tue May 02, 2006 5:38 am
Forum: Cheat Engine Help
Topic: Problem for Relative Address in dino
Replies: 2
Views: 2555

Not currently.
by ianpatt
Fri Apr 28, 2006 7:21 pm
Forum: Cheat Engine Help
Topic: Incomplete working Pre-Enable in the latest MAME
Replies: 4
Views: 2766

Cool, I'll add the change. Sorry I didn't think about that when I fixed the first issue.
by ianpatt
Thu Apr 27, 2006 8:52 am
Forum: Cheat Engine Help
Topic: Idea: "Register Machine" to increase Cheat Engine
Replies: 6
Views: 5211

Hmm. I was actually thinking about making each cheat in a linked cheat an instruction in the program; it'd be by far easiest that way as most of the code for that exists already. Will think of some alternative. Again, the major weakness is branching, unless you are thinking of, say, "jump over the n...
by ianpatt
Tue Apr 25, 2006 2:42 am
Forum: Cheat Engine Help
Topic: Incomplete working Pre-Enable in the latest MAME
Replies: 4
Views: 2766

I could see something like this being caused when Aaron moved the cheat application timer. It doesn't look like it currently is called at the beginning of the first frame, and the CPU may pass the code you're patching before the game reaches the end of the frame and the cheat is applied. Try changin...
by ianpatt
Tue Apr 25, 2006 2:36 am
Forum: Cheat Engine Help
Topic: The list for Encrypted CPU prevened from hacking ROM
Replies: 2
Views: 2421

Thanks for the list, but all of these problems are caused by use of the new decrypted CPU memory system (memory_set_decrypted_region and related functions). Right now there is no API set up for writing to these regions, so there isn't any way for the cheat engine to modify the data there. I plan to ...
by ianpatt
Tue Apr 25, 2006 2:20 am
Forum: Cheat Engine Help
Topic: Code search causes the problem on System 16B/18
Replies: 1
Views: 1680

Ah. That's a good suggestion, I'll add it to the list. System 16 games have a completely dynamic memory map that can for example move the RAM around during runtime, so it'd be impossible for the cheat engine to autodetect things like that without per-driver code.
by ianpatt
Tue Apr 25, 2006 2:18 am
Forum: Cheat Engine Help
Topic: Idea: "Register Machine" to increase Cheat Engine
Replies: 6
Views: 5211

Sorry for the delay on these posts, couldn't get to anything hosted at ZTNet over the weekend. It's an interesting idea, but not really that much less code than the original implementation. I'd much rather just set up something with conditional branching than do a partial implementation or something...