Page 1 of 2

[smssgame] Super Game

Posted: Fri Nov 24, 2023 9:56 am
by jman
Many games in smssgame will be bootable and playable in 0.261.

Code: Select all

<!-- Super Game (Sega Master System Multi-game bootleg) -->
<mamecheat version="1">

    <cheat desc="infinite credits">
        <script state="run">
            <action>maincpu.pb@C003 = 63</action>
        </script>
    </cheat>

    <cheat desc="infinite time">
        <script state="run">
            <action>maincpu.pb@C004 = FF</action>
        </script>
    </cheat>

</mamecheat>
But credit and time are managed by external device. So display is changed though it seems to be no effect.

The following is "boot the game directly without selection menu". But this is ROM code so that more test is required.

Code: Select all

    <cheat desc="select game (test)">
        <comment>reset the game (F3) to start selected game directly</comment>
        <parameter>
            <item value="0x01">01 : super bubble </item> <!-- game_data@000000 -->
            <item value="0x02">02 : tetris       </item> <!-- game_data@1d0000 -->
            <item value="0x03">03 : wonder boy   </item> <!-- game_data@1e0000 -->
            <item value="0x04">04 : alex kid     </item> <!-- game_data@0e0000 -->
            <item value="0x05">05 : super mario  </item> <!-- game_data@198000 -->
            <item value="0x06">06 : hello kang si</item> <!-- game_data@1a0000 -->
            <item value="0x07">07 : solomon key  </item> <!-- game_data@040000 -->
            <item value="0x08">08 : buk doo gun  </item> <!-- game_data@1c0000 -->
            <item value="0x09">09 : invaders     </item> <!-- game_data@188000 -->
            <item value="0x0a">10 : galaxian     </item> <!-- game_data@088000 -->
            <item value="0x0b">11 : galaga       </item> <!-- game_data@1b0000 -->
            <item value="0x0c">12 : flicky       </item> <!-- game_data@080000 -->
            <item value="0x0d">13 : teddy boy    </item> <!-- game_data@0b0000 -->
            <item value="0x0e">14 : ghost house  </item> <!-- game_data@1a0000 -->
            <item value="0x0f">15 : bomb jack    </item> <!-- game_data@1a8000 -->
            <item value="0x10">16 : kings valley </item> <!-- game_data@090000 -->
            <item value="0x11">17 : pippols      </item> <!-- game_data@098000 -->
            <item value="0x12">18 : dragon story </item> <!-- game_data@0a0000 -->
            <item value="0x13">19 : spy vs spy   </item> <!-- game_data@0a8000 -->
            <item value="0x14">20 : pitfall II   </item> <!-- game_data@0b8000 -->
            <item value="0x15">21 : drol         </item> <!-- game_data@0c0000 -->
            <item value="0x16">22 : pit pot      </item> <!-- game_data@0c8000 -->
            <item value="0x17">23 : hyper sport  </item> <!-- game_data@0d0000 -->
            <item value="0x18">24 : super tank   </item> <!-- game_data@0d8000 -->
            <item value="0x19">25 : congo bongo  </item> <!-- game_data@070000 -->
            <item value="0x1a">26 : circus       </item> <!-- game_data@078000 -->
            <item value="0x1b">27 : road fighter </item> <!-- game_data@1c8000 -->
            <item value="0x1c">28 : astro        </item> <!-- game_data@190000 -->
            <item value="0x1d">29 : goonies      </item> <!-- game_data@1b8000 -->
            <item value="0x1e">30 : road runner I</item> <!-- game_data@1c0000 -->
            <item value="0x1f">31 : masic tree   </item> <!-- game_data@060000 -->
            <item value="0x20">32 : mouse        </item> <!-- game_data@068000 -->
        </parameter>
        <script state="on">
            <action>maincpu.mw@0007 = 0145    </action>
            <action>maincpu.mb@0BD5 = 18      </action>
            <action>maincpu.md@0BE9 = 4F00003E</action>
        </script>
        <script state="change">
            <action>maincpu.mb@0BEA = param</action>
        </script>
        <script state="off">
            <action>maincpu.mw@0007 = 004E    </action>
            <action>maincpu.mb@0BD5 = 18      </action>
            <action>maincpu.md@0BE9 = 4FC00A3A</action>
        </script>
    </cheat>
Super bubble and super mario will cause the game crash at this time.

[smssgame] Super Game - Invaders

Posted: Fri Nov 24, 2023 9:59 am
by jman
09 : Invaders (Space Invaders).

Code: Select all

    <cheat desc="----- 09 : invaders -----" /> <!-- space invaders -->

    <cheat desc="infinite lives">
        <comment>life display doesn't change until you die or finish level</comment>
        <script state="run">
            <action>maincpu.pb@C0C2 = 09</action>
        </script>
    </cheat>
Life is displayed as "3" in starting the game even when you set this code. It is not changed until you die or finish level.

The following codes are "WIP".

Code: Select all

    <cheat desc="no hit (test)">
        <script state="on">
            <action>game_data.mb@189683 = C9</action> <!-- ($1683) -->
        </script>
        <script state="off">
            <action>game_data.mb@189683 = D8</action>
        </script>
    </cheat>

    <cheat desc="auto fire (test)">
        <script state="on">
            <action>game_data.mb@188D5E = 00</action> <!-- ($0d5e) -->
        </script>
        <script state="off">
            <action>game_data.mb@188D5E = C8</action>
        </script>
    </cheat>

    <cheat desc="bullet speed (test)">
        <parameter>
            <item value="0x01">01 (slow)</item>
            <item value="0x04">02       </item>
            <item value="0x08">03       </item>
            <item value="0x0c">04       </item>
            <item value="0x10">05 (fast)</item>
        </parameter>
        <script state="on">
            <action>game_data.mb@188DA8 = 38</action> <!-- range ($0da8) -->
        </script>
        <script state="change">
            <action>game_data.mb@188DAB = param</action> <!-- ($0dab) -->
        </script>
        <script state="off">
            <action>game_data.mb@188DA8 = 28</action>
            <action>game_data.mb@188DAB = 04</action>
        </script>
    </cheat>

Re: [smssgame] Super Game - Invaders

Posted: Sat Nov 25, 2023 8:52 am
by jman
smssgame was updated so that Super Bubble, Hello Kang Si and Buk Doo Gun were bootable and playable.
Also ROM order is changed. So the above WIP codes for Invaders don't work.
New WIP codes are the following.

Code: Select all

    <cheat desc="no hit (test)">
        <script state="on">
            <action>game_data.mb@609683 = C9</action> <!-- ($1683) -->
        </script>
        <script state="off">
            <action>game_data.mb@609683 = D8</action>
        </script>
    </cheat>

    <cheat desc="auto fire (test)">
        <script state="on">
            <action>game_data.mb@608D5E = 00</action> <!-- ($0d5e) -->
        </script>
        <script state="off">
            <action>game_data.mb@608D5E = C8</action>
        </script>
    </cheat>

    <cheat desc="bullet speed (test)">
        <parameter>
            <item value="0x01">01 (slow)</item>
            <item value="0x04">02       </item>
            <item value="0x08">03       </item>
            <item value="0x0c">04       </item>
            <item value="0x10">05 (fast)</item>
        </parameter>
        <script state="on">
            <action>game_data.mb@608DA8 = 38</action> <!-- range ($0da8) -->
        </script>
        <script state="change">
            <action>game_data.mb@608DAB = param</action> <!-- ($0dab) -->
        </script>
        <script state="off">
            <action>game_data.mb@608DA8 = 28</action>
            <action>game_data.mb@608DAB = 04</action>
        </script>
    </cheat>

[smssgame] Super Game - Galaxian

Posted: Sat Nov 25, 2023 8:59 am
by jman
10 : Galaxian

Code: Select all

    <cheat desc="----- 10 : galaxian -----" />

    <cheat desc="infinite lives">
        <script state="run">
            <action>maincpu.pb@e071 = 09</action>
        </script>
    </cheat>
WIP codes

Code: Select all

    <cheat desc="no hit (test)">
        <script state="on">
            <action>game_data.mb@20D785 = C9</action> <!-- bullet ($5785) -->
            <action>game_data.mb@20D7D9 = C3</action> <!-- enemy ($57d9) -->
        </script>
        <script state="off">
            <action>game_data.mb@20D785 = D0</action>
            <action>game_data.mb@20D7D9 = D2</action>
        </script>
    </cheat>

    <cheat desc="auto fire (test)">
        <script state="on">
            <action>game_data.mb@20D8E3 = 00</action> <!-- ($58e3) -->
        </script>
        <script state="off">
            <action>game_data.mb@20D8E3 = C0</action>
        </script>
    </cheat>

    <cheat desc="bullet speed (test)">
        <parameter>
            <item value="0x01">01 (slow)</item>
            <item value="0x04">02       </item>
            <item value="0x08">03       </item>
            <item value="0x0c">04       </item>
            <item value="0x10">05 (fast)</item>
        </parameter>
        <script state="change">
            <action>game_data.mb@20D970 = param</action> <!-- ($5970) -->
        </script>
        <script state="off">
            <action>game_data.mb@20D970 = 04</action>
        </script>
    </cheat>

[smssgame] Super Game - Galaga

Posted: Sat Nov 25, 2023 9:02 am
by jman
11 : Galaga

Code: Select all

    <cheat desc="----- 11 : galaga -----" />

    <cheat desc="infinite lives">
        <script state="run">
            <action>maincpu.pb@C346 = 09</action>
        </script>
    </cheat>
WIP codes

Code: Select all

    <cheat desc="no hit (test)">
        <script state="on">
            <action>game_data.mb@6324E2 = C3</action> <!-- ($24e2) -->
        </script>
        <script state="off">
            <action>game_data.mb@6324E2 = CA</action>
        </script>
    </cheat>

    <cheat desc="auto fire (test)">
        <script state="on">
            <action>game_data.mb@630FD7 = 00</action> <!-- ($0fd7) -->
        </script>
        <script state="off">
            <action>game_data.mb@630FD7 = C0</action>
        </script>
    </cheat>

    <cheat desc="bullet speed (test)">
        <parameter>
            <item value="0x01">01 (slow)</item>
            <item value="0x04">02       </item>
            <item value="0x08">03       </item>
            <item value="0x0c">04       </item>
            <item value="0x10">05 (fast)</item>
        </parameter>
        <script state="change">
            <action>game_data.mb@63101E = param</action> <!-- ($101e) -->
        </script>
        <script state="off">
            <action>game_data.mb@63101E = 05</action>
        </script>
    </cheat>

[smssgame] Super Game - Road Runner I

Posted: Sat Nov 25, 2023 9:09 am
by jman
30 : Road Runner I (Lode Runner)

Code: Select all

    <cheat desc="----- 30 : road runner I -----" /> <!-- lode runner -->

    <cheat desc="infinite lives">
        <script state="run">
            <action>maincpu.pb@C00E = 99</action>
        </script>
    </cheat>
WIP codes

Code: Select all

    <cheat desc="no hit (test)">
        <script state="on">
            <action>game_data.mb@6407D5 = 18</action> <!-- ($07d5) -->
        </script>
        <script state="off">
            <action>game_data.mb@6407D5 = 30</action>
        </script>
    </cheat>

    <cheat desc="walk through wall (test)">
        <script state="on">
            <action>game_data.mb@6407FD = C9</action> <!-- pressed by wall ($07fd) -->
            <action>game_data.mb@641A98 = 00</action> <!-- left ($1a98) -->
            <action>game_data.mb@641AA3 = 00</action> <!-- right ($1aa3) -->
        </script>
        <script state="off">
            <action>game_data.mb@6407FD = D0</action>
            <action>game_data.mb@641A98 = 03</action>
            <action>game_data.mb@641AA3 = C8</action>
        </script>
    </cheat>

    <cheat desc="invisible ladder (test)">
        <comment>set &quot;walk through wall&quot; to disable pressed by wall</comment>
        <script state="on">
            <action>game_data.mw@641A1B = 7470            </action> <!-- ($1a1b) -->
            <action>game_data.mq@647470 = CB032041CB1AA7CD</action>
            <action>game_data.mq@647478 = CBDDB60CCBDDC849</action>
            <action>game_data.mq@647480 = FFC9CE0CCBDDC60C</action>
            <!--
            7470 | CD A7 1A    : call $1AA7
            7473 | CB 41       : bit  0,c
            7475 | 20 03       : jr   nz,$747A
            7477 | CB 49       : bit  1,c
            7479 | C8          : ret  z
            747A | DD CB 0C B6 : res  6,(ix+$0c)
            747E | DD CB 0C C6 : set  0,(ix+$0c)
            7482 | DD CB 0C CE : set  1,(ix+$0c)
            7486 | C9          : ret
            -->
        </script>
        <script state="off">
            <action>game_data.mw@641A1B = 1AA7            </action>
            <action>game_data.mq@647470 = FFFFFFFFFFFFFFFF</action>
            <action>game_data.mq@647478 = FFFFFFFFFFFFFFFF</action>
            <action>game_data.mq@647480 = FFFFFFFFFFFFFFFF</action>
        </script>
    </cheat>

[smssgame] Super Game - Tree

Posted: Sat Nov 25, 2023 9:11 am
by jman
31 : Masic Tree (Magical Tree)

Code: Select all

    <cheat desc="----- 31 : masic tree -----" /> <!-- magical tree -->

    <cheat desc="infinite lives">
        <script state="run">
            <action>maincpu.pb@E050 = 09</action>
        </script>
    </cheat>
WIP code

Code: Select all

    <cheat desc="no hit (test)">
        <script state="on">
            <action>game_data.mb@1851EC = 00</action> <!-- ($51ec) -->
        </script>
        <script state="off">
            <action>game_data.mb@1851EC = 42</action>
        </script>
    </cheat>

[smssgame] Super Game - Mouse

Posted: Sat Nov 25, 2023 9:15 am
by jman
32 : Mouse (Hustle Chumy)

Code: Select all

    <cheat desc="----- 32 : mouse -----" /> <!-- hustle chumy -->

    <cheat desc="infinite lives">
        <script state="run">
            <action>maincpu.pb@C157 = 09</action>
        </script>
    </cheat>

    <cheat desc="infinite time">
        <script state="run">
            <action>maincpu.pb@C1DB = 63</action>
        </script>
    </cheat>
WIP code

Code: Select all

    <cheat desc="no hit (test)">
        <script state="on">
            <action>game_data.mb@189E20 = 18</action> <!-- ($1e20) -->
        </script>
        <script state="off">
            <action>game_data.mb@189E20 = 30</action>
        </script>
    </cheat>

    <cheat desc="auto fire (test)">
        <script state="on">
            <action>game_data.mb@189032 = 34</action> <!-- ($1032) -->
        </script>
        <script state="off">
            <action>game_data.mb@189032 = CE</action>
        </script>
    </cheat>

    <cheat desc="player speed (test)">
        <parameter>
            <item value="0x08">01 (slow)</item>
            <item value="0x06">02       </item>
            <item value="0x04">03       </item>
            <item value="0x02">04       </item>
            <item value="0x00">05 (fast)</item>
        </parameter>
        <script state="on">
            <action>game_data.md@188C8A = 000000FE</action> <!-- ($0c8a) -->
        </script>
        <script state="change">
            <action>game_data.mb@188C8B = param</action>
        </script>
        <script state="off">
            <action>game_data.md@188C8A = BEC15821</action>
        </script>
    </cheat>

Re: [smssgame] Super Game

Posted: Sun Nov 26, 2023 1:26 pm
by jman
smssgame was updated again. Menu ROM is moved from "maincpu" into "game_data" region. So "select game (WIP)" requires rewriting.

Code: Select all

    <cheat desc="select game">
        <comment>reset the game (F3) to start selected game directly</comment>
        <parameter>
            <item value="0x01">01 : super bubble </item> <!-- game_data@000000 -->
            <item value="0x02">02 : tetris       </item> <!-- game_data@650000 -->
            <item value="0x03">03 : wonder boy   </item> <!-- game_data@660000 -->
            <item value="0x04">04 : alex kid     </item> <!-- game_data@380000 -->
            <item value="0x05">05 : super mario  </item> <!-- game_data@618000 -->
            <item value="0x06">06 : hello kang si</item> <!-- game_data@680000 -->
            <item value="0x07">07 : solomon key  </item> <!-- game_data@104000 -->
            <item value="0x08">08 : buk doo gun  </item> <!-- game_data@700000 -->
            <item value="0x09">09 : invaders     </item> <!-- game_data@608000 -->
            <item value="0x0a">10 : galaxian     </item> <!-- game_data@208000 -->
            <item value="0x0b">11 : galaga       </item> <!-- game_data@630000 -->
            <item value="0x0c">12 : flicky       </item> <!-- game_data@200000 -->
            <item value="0x0d">13 : teddy boy    </item> <!-- game_data@290000 -->
            <item value="0x0e">14 : ghost house  </item> <!-- game_data@620000 -->
            <item value="0x0f">15 : bomb jack    </item> <!-- game_data@628000 -->
            <item value="0x10">16 : kings valley </item> <!-- game_data@210000 -->
            <item value="0x11">17 : pippols      </item> <!-- game_data@218000 -->
            <item value="0x12">18 : dragon story </item> <!-- game_data@280000 -->
            <item value="0x13">19 : spy vs spy   </item> <!-- game_data@288000 -->
            <item value="0x14">20 : pitfall II   </item> <!-- game_data@298000 -->
            <item value="0x15">21 : drol         </item> <!-- game_data@300000 -->
            <item value="0x16">22 : pit pot      </item> <!-- game_data@308000 -->
            <item value="0x17">23 : hyper sport  </item> <!-- game_data@310000 -->
            <item value="0x18">24 : super tank   </item> <!-- game_data@318000 -->
            <item value="0x19">25 : congo bongo  </item> <!-- game_data@190000 -->
            <item value="0x1a">26 : circus       </item> <!-- game_data@198000 -->
            <item value="0x1b">27 : road fighter </item> <!-- game_data@648000 -->
            <item value="0x1c">28 : astro        </item> <!-- game_data@610000 -->
            <item value="0x1d">29 : goonies      </item> <!-- game_data@638000 -->
            <item value="0x1e">30 : road runner I</item> <!-- game_data@640000 -->
            <item value="0x1f">31 : masic tree   </item> <!-- game_data@180000 -->
            <item value="0x20">32 : mouse        </item> <!-- game_data@188000 -->
        </parameter>
        <script state="on">
            <action>game_data.mw@80007 = 0145    </action> <!-- ($0007) -->
            <action>game_data.mb@80BD5 = 18      </action> <!-- ($0bd5) -->
            <action>game_data.md@80BE9 = 4F00003E</action> <!-- ($0be9) -->
        </script>
        <script state="change">
            <action>game_data.mb@80BEA = param</action>
        </script>
        <script state="off">
            <action>game_data.mw@80007 = 004E    </action>
            <action>game_data.mb@80BD5 = 18      </action>
            <action>game_data.md@80BE9 = 4FC00A3A</action>
        </script>
    </cheat>

[smssgame] Super Game - Drol

Posted: Sun Nov 26, 2023 1:35 pm
by jman
21 : Drol

Code: Select all

    <cheat desc="----- 21 : drol -----" />

    <cheat desc="infinite lives">
        <script state="run">
            <action>maincpu.pb@C004 = 63</action>
        </script>
    </cheat>
WIP codes

Code: Select all

    <cheat desc="no hit (test)">
        <script state="on">
            <!-- knife -->
            <action>game_data.mb@3041A5 = 86</action> <!-- ($41a5) -->
            <!-- enemy -->
            <action>game_data.mq@306556 = FE032817FE017EDD</action> <!-- ($6556) -->
            <action>game_data.mq@30655E = 00C9DE00CBDDC00B</action>
            <!--
            6556 | DD 7E 01    : ld   a,(ix+$01)
            6559 | FE 17       : cp   $17        // is chicken?
            655B | 28 03       : jr   z,$6560
            655D | FE 0B       : cp   $0B        // is ???
            655F | C0          : ret  nz
            6560 | DD CB 00 DE : set  3,(ix+$00)
            6564 | C9          : ret
            6565 | 00          : nop
            -->
            <!-- magnet -->
            <action>game_data.mb@307751 = C3</action> <!-- ($7751) -->
        </script>
        <script state="off">
            <action>game_data.mb@3041A5 = C6              </action>
            <action>game_data.mq@306556 = FE017EDDDE00CBDD</action>
            <action>game_data.mq@30655E = C80BFEC80DFEC817</action>
            <action>game_data.mb@307751 = D2              </action>
        </script>
    </cheat>

    <cheat desc="auto fire (test)">
        <script state="on">
            <action>game_data.mb@300363 = 00</action> <!-- ($0363) -->
        </script>
        <script state="off">
            <action>game_data.mb@300363 = F0</action>
        </script>
    </cheat>

[smssgame] Super Game - Pit Pot

Posted: Sun Nov 26, 2023 1:40 pm
by jman
22 : pit pot

Code: Select all

    <cheat desc="----- 22 : pit pot -----" />

    <cheat desc="infinite lives">
        <script state="run">
            <action>maincpu.pb@C021 = 09</action>
        </script>
    </cheat>
WIP codes

Code: Select all

    <cheat desc="no hit (test)">
        <script state="on">
            <action>game_data.mb@309F24 = C9</action> <!-- ($1f31) -->
        </script>
        <script state="off">
            <action>game_data.mb@309F24 = D0</action>
        </script>
    </cheat>

    <cheat desc="walk through wall (test)">
        <script state="on">
            <action>game_data.mw@30952D = C9AF            </action> <!-- no tile ($152d) -->
            <action>game_data.mw@309562 = 7FE0            </action> <!-- up ($1562) -->
            <action>game_data.mw@3095A5 = 7FE0            </action> <!-- down ($15a5) -->
            <action>game_data.mw@3095D5 = 7FE0            </action> <!-- left ($15d5) -->
            <action>game_data.mw@30960B = 7FE0            </action> <!-- right ($160b) -->
            <action>game_data.mq@30FFE0 = C83708FED01515CD</action>
            <action>game_data.mq@30FFE8 = 000000000000C9AF</action>
            <!--
            7FE0 | CD 15 15 : call $1515
            7FE3 | D0       : ret  nc
            7FE4 | FE 08    : cp   $08   // is door?
            7FE6 | 37       : scf
            7FE7 | C8       : ret  z
            7FE8 | AF       : xor  a
            7FE9 | C9       : ret
            -->
        </script>
        <script state="off">
            <action>game_data.mw@30952D = 36DD            </action>
            <action>game_data.mw@309562 = 1515            </action>
            <action>game_data.mw@3095A5 = 1515            </action>
            <action>game_data.mw@3095D5 = 1515            </action>
            <action>game_data.mw@30960B = 1515            </action>
            <action>game_data.mq@30FFE0 = 4F54205942050000</action>
            <action>game_data.mq@30FFE8 = 2049524F4E494853</action>
        </script>
    </cheat>

    <cheat desc="auto fire (test)">
        <script state="on">
            <action>game_data.mb@30963E = 00</action>
        </script>
        <script state="off">
            <action>game_data.mb@30963E = C0</action>
        </script>
    </cheat>

    <cheat desc="attack speed up (test)">
        <script state="on">
            <action>game_data.mb@309671 = 00</action>
        </script>
        <script state="off">
            <action>game_data.mb@309671 = C0</action>
        </script>
    </cheat>

[smssgame] Super Game - Pippols

Posted: Tue Nov 28, 2023 10:02 am
by jman
17 : Pippols

Code: Select all

    <cheat desc="----- 17 : pippols -----" />

    <cheat desc="infinite lives">
        <script state="run">
            <action>maincpu.pb@E050 = 99</action>
        </script>
    </cheat>
WIP codes

Code: Select all

    <cheat desc="no hit (test)">
        <script state="on">
            <action>game_data.mw@21DCA4 = 6B18</action> <!-- background ($5ca4) -->
            <action>game_data.mw@21F570 = EF18</action> <!-- enemy ($7570) -->
            <action>game_data.mw@21F6A5 = 0038</action> <!-- bullet ($76a5) -->
        </script>
        <script state="off">
            <action>game_data.mw@21DCA4 = 6B30</action>
            <action>game_data.mw@21F570 = 32AF</action>
            <action>game_data.mw@21F6A5 = 0738</action>
        </script>
    </cheat>

    <cheat desc="auto fire (test)">
        <script state="on">
            <action>game_data.mb@21DE06 = 09</action> <!-- ($5e06) -->
        </script>
        <script state="off">
            <action>game_data.mb@21DE06 = 08</action>
        </script>
    </cheat>

[smssgame] Super Game - Teddy Boy

Posted: Tue Nov 28, 2023 10:08 am
by jman
13 : Teddy Boy (Teddyboy-blues)

Code: Select all

    <cheat desc="----- 13 : teddy boy -----" /> <!-- teddyboy-blues -->

    <cheat desc="infinite lives">
        <script state="run">
            <action>maincpu.pb@C01B = 05</action>
        </script>
    </cheat>

    <cheat desc="infinite time">
        <comment>timer display doesn't match</comment>
        <script state="run">
            <action>maincpu.pw@C044 = C68C            </action> <!-- timer address -->
            <action>maincpu.pq@C682 = 0988088007780670</action>
            <action>maincpu.pd@C68A = 0B980A90        </action>
        </script>
    </cheat>
WIP codes

Code: Select all

    <cheat desc="no hit (test)">
        <script state="on">
            <action>game_data.mb@2907C8 = C9</action> <!-- ($07c8) -->
        </script>
        <script state="off">
            <action>game_data.mb@2907C8 = 3E</action>
        </script>
    </cheat>

    <cheat desc="auto fire (test)">
        <script state="on">
            <action>game_data.mb@2919EC = 69</action> <!-- ($19ec) -->
        </script>
        <script state="off">
            <action>game_data.mb@2919EC = 68</action>
        </script>
    </cheat>

    <cheat desc="multiple jump (test)">
        <script state="on">
            <action>game_data.mb@291A1B = 00</action> <!-- ($1a1b) -->
        </script>
        <script state="off">
            <action>game_data.mb@291A1B = D0</action>
        </script>
    </cheat>

    <cheat desc="auto kick (test)">
        <script state="on">
            <action>game_data.mb@291FB4 = C3</action> <!-- ($1fb4) -->
        </script>
        <script state="off">
            <action>game_data.mb@291FB4 = CA</action>
        </script>
    </cheat>

    <cheat desc="timer speed (test)">
        <parameter>
            <item value="0x0200">01 (slow)</item>
            <item value="0x0180">02       </item>
            <item value="0x0100">03       </item>
            <item value="0x0080">04       </item>
            <item value="0x0001">05 (fast)</item>
        </parameter>
        <script state="change">
            <action>game_data.mw@291664 = param</action> <!-- ($1664) -->
        </script>
        <script state="off">
            <action>game_data.mw@291664 = 0080</action>
        </script>
    </cheat>

[smssgame] Super Game - Congo Bongo

Posted: Wed Nov 29, 2023 9:13 am
by jman
25 : Congo Bongo

Code: Select all

    <cheat desc="----- 25 : congo bongo -----" />

    <cheat desc="infinite lives">
        <script state="run">
            <action>maincpu.pb@C069 = 99</action>
        </script>
    </cheat>

    <cheat desc="infinite time">
        <comment>turn off at the end of level</comment>
        <script state="run">
            <action>maincpu.pw@C06E = 9950</action>
        </script>
    </cheat>
WIP codes

Code: Select all

    <cheat desc="no hit (test)">
        <script state="on">
            <action>game_data.mb@191DB3 = C3</action> <!-- water ($1db3) -->
            <action>game_data.mb@1923AB = C9</action> <!-- rock ($23ab) -->
            <action>game_data.mb@1923CD = C9</action> <!-- monkey ($23cd) -->
            <action>game_data.mb@1923E9 = C9</action> <!-- snake ($23e9) -->
        </script>
        <script state="off">
            <action>game_data.mb@191DB3 = CA</action>
            <action>game_data.mb@1923AB = D0</action>
            <action>game_data.mb@1923CD = D0</action>
            <action>game_data.mb@1923E9 = D0</action>
        </script>
    </cheat>

    <cheat desc="timer speed (test)">
        <parameter>
            <item value="0xff">01 (slow)</item>
            <item value="0x80">02       </item>
            <item value="0x40">03       </item>
            <item value="0x20">04       </item>
            <item value="0x01">05 (fast)</item>
        </parameter>
        <script state="change">
            <action>game_data.mb@1916AD = param</action> <!-- game start ($16ad) -->
            <action>game_data.mb@1916D7 = param</action> <!-- ($16d7) -->
        </script>
        <script state="off">
            <action>game_data.mb@1916AD = 80</action>
            <action>game_data.mb@1916D7 = 20</action>
        </script>
    </cheat>

[smssgame] Super Game - Kings Valley

Posted: Wed Nov 29, 2023 9:18 am
by jman
16 : Kings Valley

Code: Select all

    <cheat desc="----- 16 : kings valley -----" />

    <cheat desc="infinite lives">
        <script state="run">
            <action>maincpu.pb@E050 = 63</action>
        </script>
    </cheat>
WIP codes

Code: Select all

    <cheat desc="no hit (test)">
        <script state="on">
            <action>game_data.mb@215CBC = 00</action> <!-- enemy ($5cbc) -->
            <action>game_data.mb@216844 = C9</action> <!-- wall ($6844) -->
        </script>
        <script state="off">
            <action>game_data.mb@215CBC =  B</action>
            <action>game_data.mb@216844 = 3E</action>
        </script>
    </cheat>

    <cheat desc="walk through wall (test)">
        <script state="on">
            <action>game_data.mb@214CC2 = 18</action> <!-- walk ($4cc2) -->
            <action>game_data.mb@214D59 = 00</action> <!-- jump ($4d59) -->
            <action>game_data.mb@214D60 = 00</action> <!-- jump ($4d60) -->
        </script>
        <script state="off">
            <action>game_data.mb@214CC2 = 18</action>
            <action>game_data.mb@214D59 = D0</action>
            <action>game_data.mb@214D60 = C8</action>
        </script>
    </cheat>

[smssgame] Super Game - Flicky

Posted: Fri Dec 01, 2023 10:40 am
by jman
12 : Flicky

Code: Select all

    <cheat desc="----- 12 : flicky -----" />

    <cheat desc="infinite lives">
        <script state="run">
            <action>maincpu.pb@C0AA = 09</action>
        </script>
    </cheat>
WIP codes

Code: Select all

    <cheat desc="no hit (test)">
        <script state="on">
            <action>game_data.mb@200BC7 = 00</action> <!-- ($0bc7) -->
            <action>game_data.mb@200BCB = 00</action> <!-- ($0bcb) -->
        </script>
        <script state="off">
            <action>game_data.mb@200BC7 = 0D</action>
            <action>game_data.mb@200BCB = 09</action>
        </script>
    </cheat>

    <cheat desc="no hit - piyo piyo (test)">
        <script state="on">
            <action>game_data.mb@201245 = 00</action> <!-- ($1245) -->
        </script>
        <script state="off">
            <action>game_data.mb@201245 = 09</action>
        </script>
    </cheat>

    <cheat desc="multiple jump (test)">
        <script state="on">
            <action>game_data.mb@200695 = 00              </action> <!-- enable jump button check ($0695) -->
            <action>game_data.md@2006B1 = 187D40CD        </action> <!-- ($06b1) -->
            <action>game_data.mq@207D40 = C9C0D332AFC0D532</action>
            <!--
            7D40 | 32 D5 C0 : ld   ($C0D5),a
            7D43 | AF       : xor  a
            7D44 | 32 D3 C0 : ld   ($C0D3),a
            7D47 | C9       : ret
            -->
        </script>
        <script state="off">
            <action>game_data.mb@200695 = 24              </action>
            <action>game_data.md@2006B1 = 18C0D532        </action>
            <action>game_data.mq@207D40 = FFFFFFFFFFFFFFFF</action>
        </script>
    </cheat>

    <cheat desc="easy catch in bonus round (test)">
        <script state="on">
            <action>game_data.mw@201A25 = 1218</action> <!-- ($1a25) -->
        </script>
        <script state="off">
            <action>game_data.mw@201A25 = 3338</action>
        </script>
    </cheat>

[smssgame] Super Game - Bomb Jack

Posted: Fri Dec 01, 2023 10:43 am
by jman
15 : Bomb Jack

Code: Select all

    <cheat desc="----- 15 : bomb jack -----" />

    <cheat desc="infinite lives">
        <script state="run">
            <action>maincpu.pb@C061 = 10</action>
        </script>
    </cheat>

    <cheat desc="always have x5">
        <script state="run">
            <action>maincpu.pb@C063 = 05</action>
        </script>
    </cheat>

    <cheat desc="1 bomb to finish round">
        <script state="run">
            <action>maincpu.pb@C060 = 01</action>
        </script>
    </cheat>

    <cheat desc="easy get special bonus"> <!-- you get 23 fire bombs -->
        <script state="run">
            <action>maincpu.pb@C05E = 17</action>
        </script>
    </cheat>
WIP code

Code: Select all

    <cheat desc="no hit (test)">
        <script state="on">
            <action>game_data.mb@62903A = C9</action> <!-- ($103a) -->
        </script>
        <script state="off">
            <action>game_data.mb@62903A = C8</action>
        </script>
    </cheat>

[smssgame] Super Game - Astro

Posted: Fri Dec 01, 2023 10:53 am
by jman
28 : Astro

Code: Select all

    <cheat desc="----- 28 : astro -----" /> <!-- astro flash -->

    <cheat desc="infinite lives">
        <script state="run">
            <action>maincpu.pb@C15D = 09</action>
        </script>
    </cheat>

    <cheat desc="infinite energy">
        <script state="run">
            <action>maincpu.pb@C5F0 = F0</action>
        </script>
    </cheat>

    <cheat desc="infinite arm"> <!-- aka infinite ammo -->
        <script state="run">
            <action>maincpu.pb@C610 = F0</action>
        </script>
    </cheat>

    <cheat desc="select weapon">
        <parameter>
            <item value="0x80">A</item>
            <item value="0x81">B</item>
            <item value="0x82">C</item>
            <item value="0x83">D</item>
            <item value="0x84">E</item>
            <item value="0x85">F</item>
        </parameter>
        <script state="run">
            <action>maincpu.pb@C300 = param</action>
        </script>
    </cheat>
WIP codes from TransBot/Astro Flash.

Code: Select all

    <cheat desc="no hit (test)">
        <script state="on">
            <action>game_data.mb@6110EE = C9</action> <!-- enemy ($10ee) -->
            <action>game_data.mb@611151 = C9</action> <!-- bullet ($1151) -->
        </script>
        <script state="off">
            <action>game_data.mb@6110EE = FE</action>
            <action>game_data.mb@611151 = C8</action>
        </script>
    </cheat>

    <cheat desc="auto fire (test)">
        <script state="on">
            <action>game_data.mb@610CDD = 00</action> <!-- ($0cdd) -->
        </script>
        <script state="off">
            <action>game_data.mb@610CDD = C0</action>
        </script>
    </cheat>

    <cheat desc="player speed (test)">
        <parameter>
            <item value="0x0080">01 (slow)</item>
            <item value="0x0200">02       </item>
            <item value="0x0300">03       </item>
            <item value="0x0400">04       </item>
            <item value="0x0500">05 (fast)</item>
        </parameter>
        <script state="change">
            <action>game_data.mw@610D05 = param</action> <!-- up ($0d05) -->
            <action>game_data.mw@610D0B = param</action> <!-- down ($0d0b) -->
            <action>game_data.mw@610D11 = param</action> <!-- left ($0d11) -->
            <action>game_data.mw@610D17 = param</action> <!-- right ($0d17) -->
        </script>
        <script state="off">
            <action>game_data.mw@610D05 = 0100</action>
            <action>game_data.mw@610D0B = 0100</action>
            <action>game_data.mw@610D11 = 0200</action>
            <action>game_data.mw@610D17 = 0200</action>
        </script>
    </cheat>

    <cheat desc="bullet speed (test)">
        <parameter>
            <item value="0x0200">01 (slow)</item>
            <item value="0x0400">02       </item>
            <item value="0x0800">03       </item>
            <item value="0x0c00">04       </item>
            <item value="0x1000">05 (fast)</item>
        </parameter>
        <script state="change">
            <action>game_data.mw@610D53 = param</action> <!-- A ($0d53) -->
            <action>game_data.mw@610D93 = param</action> <!-- B ($0d93) -->
            <action>game_data.mw@610DD0 = param</action> <!-- C ($0dd0) -->
            <action>game_data.mw@610E0D = param</action> <!-- D ($0e0d) -->
            <action>game_data.mw@610E57 = param</action> <!-- E ($0e57) -->
            <action>game_data.mw@610E92 = param</action> <!-- E ($0e92) -->
            <action>game_data.mw@610EC4 = param</action> <!-- E ($0ec4) -->
            <action>game_data.mw@610F1B = param</action> <!-- F ($0f1b) -->
            <action>game_data.mw@610F49 = param</action> <!-- F ($0f49) -->
        </script>
        <script state="off">
            <action>game_data.mw@610D53 = 0480</action>
            <action>game_data.mw@610D93 = 0600</action>
            <action>game_data.mw@610DD0 = 0500</action>
            <action>game_data.mw@610E0D = 0800</action>
            <action>game_data.mw@610E57 = 0459</action>
            <action>game_data.mw@610E92 = 0500</action>
            <action>game_data.mw@610EC4 = 0459</action>
            <action>game_data.mw@610F1B = 0600</action>
            <action>game_data.mw@610F49 = 0600</action>
        </script>
    </cheat>

    <cheat desc="roulette speed (test)">
        <parameter>
            <item value="0x36">01 (slow)</item>
            <item value="0x24">02       </item>
            <item value="0x12">03       </item>
            <item value="0x06">04       </item>
            <item value="0x01">05 (fast)</item>
        </parameter>
        <script state="change">
            <action>game_data.mb@610AD8 = param</action> <!-- ($0ad8) -->
        </script>
        <script state="off">
            <action>game_data.mb@610AD8 = 06</action>
        </script>
    </cheat>

[smssgame] Super Game - Road Fighter

Posted: Fri Dec 01, 2023 10:58 am
by jman
27 : Road Fighter

Code: Select all

    <cheat desc="----- 27 : road fighter -----" />

    <cheat desc="infinite fuel">
        <script state="run">
            <action>maincpu.pb@E083 = D0</action>
        </script>
    </cheat>
WIP code

Code: Select all

    <cheat desc="no hit (test)">
        <script state="on">
            <!-- course out ($6cdc) -->
            <action>game_data.mb@64ECDC = C9</action>
            <!-- objects ($6e8d) -->
            <action>game_data.md@64EE8D = 793FE0C3        </action>
            <action>game_data.mq@64BFE0 = 0AC208FE7EE0BF2A</action>
            <action>game_data.mq@64BFE8 = 000000006E90C36F</action>
            <!--
            3FE0 | 2A BF E0 : ld   hl,($E0BF)
            3FE3 | 7E       : ld   a,(hl)
            3FE4 | FE 08    : cp   $08        // is item?
            3FE6 | C2 0A 6F : jp   nz,$6F0A
            3FE9 | C3 90 6E : jp   $6E90
            -->
        </script>
        <script state="off">
            <action>game_data.mb@64ECDC = D0              </action>
            <action>game_data.md@64EE8D = 796F0AD2        </action>
            <action>game_data.mq@64BFE0 = 0000000000000000</action>
            <action>game_data.mq@64BFE8 = 0000000000000000</action>
        </script>
    </cheat>

[smssgame] Super Game - Ghost House

Posted: Tue Dec 05, 2023 3:42 pm
by jman
14 : Ghost House

Code: Select all

    <cheat desc="----- 14 : ghost house -----" />

    <cheat desc="infinite lives">
        <script state="run">
            <action>maincpu.pb@C1BA = 09</action>
        </script>
    </cheat>

    <cheat desc="infinite energy">
        <script state="run">
            <action>maincpu.pb@C1F5 = C0</action>
        </script>
    </cheat>
WIP codes

Code: Select all

    <cheat desc="no hit (test)">
        <script state="on">
            <action>game_data.mb@6218B1 = C9</action> <!-- spider net ($18b1) -->
            <action>game_data.mb@62191C = C9</action> <!-- fire floor ($191c) -->
            <action>game_data.mb@62433F = C9</action> <!-- damage on ladder ($433f) -->
            <action>game_data.mb@624486 = C9</action> <!-- dracula ($4486) -->
            <action>game_data.mb@62453E = C9</action> <!-- bat ($453e) -->
            <action>game_data.mb@624579 = C9</action> <!-- enemy ($4579) -->
            <action>game_data.mb@6246BC = C9</action> <!-- flame ($46bc) -->
            <!-- arrow ($46cb) -->
            <action>game_data.mq@6246CB = 44ED0D96FDC40D3A</action>
            <action>game_data.mq@6246D3 = 18100836FDD810FE</action>
            <action>game_data.mq@6246DB = 96FDC40B3A177770</action>
            <!--
            46CB | 3A 0D C4    : ld   a,($C40D)
            46CE | FD 96 0D    : sub  (iy+$0d)
            46D1 | ED 44       : neg
            46D3 | FE 10       : cp   $10
            46D5 | D8          : ret  c
            46D6 | FD 36 08 10 : ld   (iy+$08),$10
            46DA | 18 70       : jr   $474C
            -->
        </script>
        <script state="off">
            <action>game_data.mb@6218B1 = C8              </action>
            <action>game_data.mb@62191C = D8              </action>
            <action>game_data.mb@62433F = DD              </action>
            <action>game_data.mb@624486 = 3A              </action>
            <action>game_data.mb@62453E = FD              </action>
            <action>game_data.mb@624579 = C8              </action>
            <action>game_data.mb@6246BC = 0E              </action>
            <action>game_data.mq@6246CB = FDC40D3A100836FD</action>
            <action>game_data.mq@6246D3 = 713010FE44ED0D96</action>
            <action>game_data.mq@6246DB = 96FDC40B3A1777FD</action>
        </script>
    </cheat>

    <cheat desc="auto fire (test)">
        <script state="on">
            <action>game_data.mb@621772 = AB</action> <!-- ($1772) -->
        </script>
        <script state="off">
            <action>game_data.mb@621772 = AA</action>
        </script>
    </cheat>

    <cheat desc="attack speed up (test)">
        <script state="on">
            <action>game_data.mb@621C83 = 01</action> <!-- ($1c83) -->
            <action>game_data.mb@621C8E = 01</action> <!-- ($1c8e) -->
        </script>
        <script state="off">
            <action>game_data.mb@621C83 = 0C</action>
            <action>game_data.mb@621C8E = 04</action>
        </script>
    </cheat>

    <cheat desc="walk through wall (test)">
        <script state="on">
            <action>game_data.mb@621D2B = C3</action> <!-- ($1d2b) -->
        </script>
        <script state="off">
            <action>game_data.mb@621D2B = D2</action>
        </script>
    </cheat>