[cyberlip] Cyber-Lip

This forum is for posting M.A.M.E. Work In Progress "Arcade"cheats that are not quite ready for the prime time. If the cheats are buggy or the cheat descriptions are non-standard then please post them here. Help maybe given but there are no guarantees and they will only be added to the cheat file when the cheat file maintainer is happy with them.
Post Reply
jman
Posts: 843
Joined: Tue Dec 01, 2020 1:24 pm

[cyberlip] Cyber-Lip

Post by jman »

Code: Select all

<cheat desc="no hit">
    <script state="on">
        <action>maincpu.rq@114ce = 4eb9000257d043e9</action>
        <action>maincpu.rq@257d0 = 24720000b5fc0001</action>
        <action>maincpu.rq@257d8 = 15f267024e924e75</action>
        <!--
        257d0 | 2472 0000      : movea.l (A2,D0.w),A2
        257d4 | b5fc 0001 15f2 : cmpa.l  #$115f2,A2
        257da | 6702           : beq     $257de
        257dc | 4e92           : jsr     (A2)
        257de | 4e75           : rts
        -->
    </script>
    <script state="off">
        <action>maincpu.rq@114ce = 247200004e9243e9</action>
        <action>maincpu.rq@257d0 = ffffffffffffffff</action>
        <action>maincpu.rq@257d8 = ffffffffffffffff</action>
    </script>
</cheat>

<cheat desc="auto fire">
    <script state="on">
        <!-- normal -->
        <action>maincpu.rb@79c9 = 01</action> <!-- auto -->
        <action>maincpu.rb@79e7 = 04</action> <!-- normal -->
        <action>maincpu.rb@7d2d = 01</action> <!-- wide -->
        <action>maincpu.rb@7f85 = 04</action> <!-- grenade -->
        <action>maincpu.rb@8215 = 04</action> <!-- bazooka -->
        <action>maincpu.rb@84cd = 01</action> <!-- fire -->
        <!-- last battle -->
        <action>maincpu.rb@88b5 = 01</action> <!-- auto -->
        <action>maincpu.rb@893b = 04</action> <!-- normal -->
        <action>maincpu.rb@8993 = 01</action> <!-- wide -->
        <action>maincpu.rb@89f1 = 04</action> <!-- grenade -->
        <action>maincpu.rb@8a5b = 04</action> <!-- bazooka -->
        <action>maincpu.rb@8ac7 = 01</action> <!-- fire -->
    </script>
    <script state="off">
        <action>maincpu.rb@79c9 = 06</action>
        <action>maincpu.rb@79e7 = 06</action>
        <action>maincpu.rb@7d2d = 06</action>
        <action>maincpu.rb@7f85 = 06</action>
        <action>maincpu.rb@8215 = 06</action>
        <action>maincpu.rb@84cd = 05</action>
        <action>maincpu.rb@88b5 = 06</action>
        <action>maincpu.rb@893b = 04</action>
        <action>maincpu.rb@8993 = 06</action>
        <action>maincpu.rb@89f1 = 06</action>
        <action>maincpu.rb@8a5b = 06</action>
        <action>maincpu.rb@8ac7 = 04</action>
    </script>
</cheat>

<cheat desc="bullet speed - normal shot">
    <parameter>
        <item value="0x01">01 (slow)</item>
        <item value="0x06">02       </item>
        <item value="0x0c">03       </item>
        <item value="0x12">04       </item>
        <item value="0x18">05 (fast)</item>
    </parameter>
    <script state="on">
        <action>maincpu.rb@41d68 =  param</action> <!-- right/down -->
        <action>maincpu.rb@41d6c = -param</action> <!-- left/up -->
    </script>
    <script state="off">
        <action>maincpu.rb@41d68 = 06</action>
        <action>maincpu.rb@41d6c = fa</action>
    </script>
</cheat>

<cheat desc="multiple jump">
    <script state="on">
        <action>maincpu.rd@064da =         000257e0</action>
        <action>maincpu.rq@257e0 = 082800050006670a</action>
        <action>maincpu.rq@257e8 = 4228001411680004</action>
        <action>maincpu.rq@257f0 = 00174ef86726ffff</action>
        <!--
        257e0 | 0828 0005 0006 : btst  #$5,($6,A0)
        257e6 | 670a           : beq   $257f2
        257e8 | 4228 0014      : clr.b ($14,A0)
        257ec | 1168 0004 0017 : move.b ($4,A0),($17,A0)
        257f2 | 4ef8 6726      : jmp   $6726.w
        -->
    </script>
    <script state="off">
        <action>maincpu.rd@064da =         00006726</action>
        <action>maincpu.rq@257e0 = ffffffffffffffff</action>
        <action>maincpu.rq@257e8 = ffffffffffffffff</action>
        <action>maincpu.rq@257f0 = ffffffffffffffff</action>
    </script>
</cheat>

<cheat desc="timer speed">
    <parameter>
        <item value="0xff">01 (slow)</item>
        <item value="0xc0">02       </item>
        <item value="0x80">03       </item>
        <item value="0x40">04       </item>
        <item value="0x01">05 (fast)</item>
    </parameter>
    <script state="change">
        <action>maincpu.rb@2f3d = param</action>
    </script>
    <script state="off">
        <action>maincpu.rb@2f3d = 3c</action>
    </script>
</cheat>
I omit "skip ram/rom check" because it has already posted here.
jman
Posts: 843
Joined: Tue Dec 01, 2020 1:24 pm

[cyberlip] Cyber-Lip (update)

Post by jman »

Code: Select all

<cheat desc="sound test mode">
    <!-- don't play code 0x01, 0x03, and 0x10 because of no sound response -->
    <!-- valid bank number seems to be 0x00 and 0x08 -->
    <comment>reset the game (F3) to enter sound test mode</comment>
    <script state="on">
        <action>maincpu.rq@02212 = 4ef90002580066f8</action>
        <action>maincpu.rq@25800 = 204d43e8000145f9</action>
        <action>maincpu.rq@25808 = 0000fdac49ed957a</action>
        <action>maincpu.rq@25810 = 1602143900300000</action>
        <action>maincpu.rq@25818 = b60267f40c0200fb</action>
        <action>maincpu.rq@25820 = 660253100c0200f7</action>
        <action>maincpu.rq@25828 = 660252100c0200fd</action>
        <action>maincpu.rq@25830 = 6604041000100c02</action>
        <action>maincpu.rq@25838 = 00fe660406100010</action>
        <action>maincpu.rq@25840 = 0c0200bb66025311</action>
        <action>maincpu.rq@25848 = 0c0200b766025211</action>
        <action>maincpu.rq@25850 = 0211000f0c0200ef</action>
        <action>maincpu.rq@25858 = 660e189167060614</action>
        <action>maincpu.rq@25860 = 00104e9218904e92</action>
        <action>maincpu.rq@25868 = 0c0200df661218bc</action>
        <action>maincpu.rq@25870 = 00014e9218bc0003</action>
        <action>maincpu.rq@25878 = 4e9218bc00074e92</action>
        <action>maincpu.rq@25880 = 608effffffffffff</action>
        <!--
        25800 | 204d           : movea.l A5,A0          // $108000 : sound code address
        25802 | 43e8 0001      : lea     ($1,A0),A1     // $108001 : bank number address
        25806 | 45f9 0000 fdac : lea     $fdac.l,A2
        2580c | 49ed 957a      : lea     (-$6a86,A5),A4
        25810 | 1602           : move.b  D2,D3
        25812 | 1439 0030 0000 : move.b  $300000.l,D2   // read input
        25818 | b602           : cmp.b   D2,D3
        2581a | 67f4           : beq     $25810
        2581c | 0c02 00fb      : cmpi.b  #-$5,D2
        25820 | 6602           : bne     $25824
        25822 | 5310           : subq.b  #1,(A0)        // decrease code -01
        25824 | 0c02 00f7      : cmpi.b  #-$9,D2
        25828 | 6602           : bne     $2582c
        2582a | 5210           : addq.b  #1,(A0)        // increase code +01
        2582c | 0c02 00fd      : cmpi.b  #-$3,D2
        25830 | 6604           : bne     $25836
        25832 | 0410 0010      : subi.b  #$10,(A0)      // decrease code -10
        25836 | 0c02 00fe      : cmpi.b  #-$2,D2
        2583a | 6604           : bne     $25840
        2583c | 0610 0010      : addi.b  #$10,(A0)      // increase code +10
        25840 | 0c02 00bb      : cmpi.b  #-$45,D2
        25844 | 6602           : bne     $25848
        25846 | 5311           : subq.b  #1,(A1)        // decrease bank -01
        25848 | 0c02 00b7      : cmpi.b  #-$49,D2
        2584c | 6602           : bne     $25850
        2584e | 5211           : addq.b  #1,(A1)        // increase bank +01
        25850 | 0211 000f      : andi.b  #$f,(A1)
        25854 | 0c02 00ef      : cmpi.b  #-$11,D2
        25858 | 660e           : bne     $25868
        2585a | 1891           : move.b  (A1),(A4)      // play sound
        2585c | 6706           : beq     $25864
        2585e | 0614 0010      : addi.b  #$10,(A4)
        25862 | 4e92           : jsr     (A2)
        25864 | 1890           : move.b  (A0),(A4)
        25866 | 4e92           : jsr     (A2)
        25868 | 0c02 00df      : cmpi.b  #-$21,D2
        2586c | 6612           : bne     $25880
        2586e | 18bc 0001      : move.b  #$1,(A4)       // stop sound
        25872 | 4e92           : jsr     (A2)
        25874 | 18bc 0003      : move.b  #$3,(A4)
        25878 | 4e92           : jsr     (A2)
        2587a | 18bc 0007      : move.b  #$7,(A4)
        2587e | 4e92           : jsr     (A2)
        25880 | 608e           : bra     $25810
        -->
    </script>
    <script state="run">
        <output format="----- cyber-lip sound test mode -----" line="10" align="center" />
        <output format="left : decrease code -01"              line="11" align="center" />
        <output format="right : increase code +01"             line="12" align="center" />
        <output format="down : decrease code -10"              line="13" align="center" />
        <output format="up : increase code +10"                line="14" align="center" />
        <output format="button 3 + left : decrease bank -01"   line="15" align="center" />
        <output format="button 3 + right : increase bank +01"  line="16" align="center" />
        <output format="button 1 : play sound"                 line="17" align="center" />
        <output format="button 2 : stop sound"                 line="18" align="center" />
        <output format="----------------------------"          line="19" align="center" />
        <output format="&lt;&lt; bank %2.2X &gt;&gt;"          line="21" align="center"  >
            <argument>maincpu.pb@108001</argument>
        </output>
        <output format="&lt;&lt; sound code %2.2X &gt;&gt;"    line="23" align="center"  >
            <argument>maincpu.pb@108000</argument>
        </output>
    </script>
    <script state="off">
        <action>maincpu.rq@02212 = 0c2d000ffbb466f8</action>
        <action>maincpu.rq@25800 = ffffffffffffffff</action>
        <action>maincpu.rq@25808 = ffffffffffffffff</action>
        <action>maincpu.rq@25810 = ffffffffffffffff</action>
        <action>maincpu.rq@25818 = ffffffffffffffff</action>
        <action>maincpu.rq@25820 = ffffffffffffffff</action>
        <action>maincpu.rq@25828 = ffffffffffffffff</action>
        <action>maincpu.rq@25830 = ffffffffffffffff</action>
        <action>maincpu.rq@25838 = ffffffffffffffff</action>
        <action>maincpu.rq@25840 = ffffffffffffffff</action>
        <action>maincpu.rq@25848 = ffffffffffffffff</action>
        <action>maincpu.rq@25850 = ffffffffffffffff</action>
        <action>maincpu.rq@25858 = ffffffffffffffff</action>
        <action>maincpu.rq@25860 = ffffffffffffffff</action>
        <action>maincpu.rq@25868 = ffffffffffffffff</action>
        <action>maincpu.rq@25870 = ffffffffffffffff</action>
        <action>maincpu.rq@25878 = ffffffffffffffff</action>
        <action>maincpu.rq@25880 = ffffffffffffffff</action>
    </script>
</cheat>
"sound test mode" : add new.
Post Reply