Watch cheats for mahjong games

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
stephh
Posts: 601
Joined: Fri Aug 17, 2001 1:00 am
Location: Paris, France

Watch cheats for mahjong games

Post by stephh »

This post is originally made for MRMIdAS, but might be of interest for some other cheat finders, so I post it here instead of sending a PM ...

To get watch cheats for player 1 it's (most of the time) easy :

- find address of the first tile (if you found "winning hand" cheats, you shall know it)
- add a watch with this address
- set number of bytes to 14 (there are 14 tiles)
- for some games, you need to skip 1 or 3 bytes (be sure you display 8-bits values)

When this is done, you shall be able to see player's hand, the values being sorted the same way you see player's tiles ...

For the CPU, this is the same, the most difficult thing being to find the adress of the first tile, so here is the "trick" :

- lose a game and search for the value of the tile on the right (remember that CPU tiles are also sorted), but backwards
- continue until you only have one valid adress
- check that everything is OK by putting a watch on this value, and again by setting the number of bytes to 14
- if you see all CPU hand (at least the 13 first tiles), you get it !

Be aware that the CPU must NOT make any combinaison that discards some tiles (CHI, PON or KAN), or the tiles might not be correctly sorted !

I hope that this helps ... Don't hesitate to ask if you have any questions ...

Image Steph from The Ultimate Patchers Image
MRMIdAS
Posts: 105
Joined: Thu Oct 25, 2007 4:24 pm
Location: Sheffield, England

Post by MRMIdAS »

Cheers man, thats helped a lot!
Win if you can
Lose if you must
ALWAYS CHEAT!
Post Reply