[mjvegasa]+ Mahjong Vegas

This forum is for posting M.A.M.E. arcade cheats. Requests will be fulfilled here....but please keep the requests to the requests forum.
Post Reply
jman
Posts: 850
Joined: Tue Dec 01, 2020 1:24 pm

[mjvegasa]+ Mahjong Vegas

Post by jman »

mjvegasa and mjvegas don't have any cheat codes in the database based on 0.259.
And mjveas will work in 0.260 because of dumped internal ROM.

mjvegasa.xml

Code: Select all

<!-- Mahjong Vegas (Japan, unprotected) -->
<mamecheat version="1">

    <cheat desc="infinite credit">
        <script state="run">
            <action>maincpu.pd@689B = 09090909</action>
        </script>
    </cheat>

    <cheat desc="clear credit">
        <script state="on">
            <action>maincpu.pd@689B = 00000000</action>
        </script>
    </cheat>

    <cheat desc="winning hand">
        <comment>works in your turn</comment>
        <script state="run">
            <action>maincpu.pq@61C0 = 3535353232313131</action>
            <action>maincpu.pq@61C8 = FFFF373737363636</action>
        </script>
    </cheat>

    <cheat desc="watch all 14 tiles - player">
        <script state="run">
            <output format="player : %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X">
                <argument count="14">maincpu.pb@(61C0 + argindex)</argument>
            </output>
        </script>
    </cheat>

    <cheat desc="watch all 14 tiles - cpu">
        <script state="run">
            <output format="cpu : %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X">
                <argument count="14">maincpu.pb@(6140 + argindex)</argument>
            </output>
        </script>
    </cheat>

    <cheat desc="infinite donden">
        <script state="run">
            <action>maincpu.pb@6870 = 0A</action>
        </script>
    </cheat>

    <cheat desc="inifinite thinking time">
        <script state="run">
            <action>maincpu.pb@6550 = FF</action>
        </script>
    </cheat>

</mamecheat>
mjvegas.xml

Code: Select all

<!-- Mahjong Vegas (Japan) -->
<mamecheat version="1">

    <cheat desc="infinite credit">
        <script state="run">
            <action>maincpu.pd@689B = 09090909</action>
        </script>
    </cheat>

    <cheat desc="clear credit">
        <script state="on">
            <action>maincpu.pd@689B = 00000000</action>
        </script>
    </cheat>

    <cheat desc="winning hand">
        <comment>works in your turn</comment>
        <script state="run">
            <action>maincpu.pq@61C0 = 3535353232313131</action>
            <action>maincpu.pq@61C8 = FFFF373737363636</action>
        </script>
    </cheat>

    <cheat desc="watch all 14 tiles - player">
        <script state="run">
            <output format="player : %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X">
                <argument count="14">maincpu.pb@(61C0 + argindex)</argument>
            </output>
        </script>
    </cheat>

    <cheat desc="watch all 14 tiles - cpu">
        <script state="run">
            <output format="cpu : %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X">
                <argument count="14">maincpu.pb@(6140 + argindex)</argument>
            </output>
        </script>
    </cheat>

    <cheat desc="infinite donden">
        <script state="run">
            <action>maincpu.pb@6870 = 0A</action>
        </script>
    </cheat>

    <cheat desc="inifinite thinking time">
        <script state="run">
            <action>maincpu.pb@6550 = FF</action>
        </script>
    </cheat>

</mamecheat>
  • "clear credit" : This game saves current credit in nvram. If you use this code, turn off "infinite credit".
  • "winning hand" : This code works in your turn. Not opponent turn. So "tsumo" is available and "ron" is unavailable.
  • "inifinite donden" : "donden" exchanges player tiles and opponent tiles when you press start button.
User avatar
Pugsy
Posts: 3675
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Has thanked: 1 time
Been thanked: 15 times
Contact:

Re: [mjvegasa]+ Mahjong Vegas

Post by Pugsy »

Thanks added, though I did change it into the same format as used for some other mahjong cheats as it was quicker/simpler to add.
Pugsy

Servicing your cheating needs since 1985 8)

Grab the latest cheat collection:
MAME 0.264 XML cheat collection (3 APRIL 2024) from http://www.mamecheat.co.uk or direct from:-
https://mega.nz/file/SxsQUJoT#jBdz6GLm_ ... QzFGSMms2c (ZIP Archive 3.8 MB)
Post Reply