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.
jman
Posts: 1318 Joined: Tue Dec 01, 2020 1:24 pm
Been thanked: 10 times
Post
by jman » Sat Feb 04, 2023 8:52 am
Code: Select all
<cheat desc="no hit">
<script state="on">
<action>maincpu.mb@e909 = c5</action>
</script>
<script state="off">
<action>maincpu.mb@e909 = 1b</action>
</script>
</cheat>
<cheat desc="auto fire">
<script state="on">
<action>maincpu.mb@dcd6 = 0f</action>
</script>
<script state="off">
<action>maincpu.mb@dcd6 = 03</action>
</script>
</cheat>
<cheat desc="player speed">
<parameter>
<item value="0x04">01 (slow)</item>
<item value="0x03">02 </item>
<item value="0x02">03 </item>
<item value="0x01">04 </item>
<item value="0x00">05 (fast)</item>
</parameter>
<script state="change">
<action>maincpu.mb@fa45 = param</action>
</script>
<script state="off">
<action>maincpu.mb@fa45 = 02</action>
</script>
</cheat>
<cheat desc="bullet speed">
<parameter>
<item value="0x04">01 (slow)</item>
<item value="0x03">02 </item>
<item value="0x02">03 </item>
<item value="0x01">04 </item>
<item value="0x00">05 (fast)</item>
</parameter>
<script state="change">
<action>maincpu.mb@fa41 = param</action>
</script>
<script state="off">
<action>maincpu.mb@fa41 = 02</action>
</script>
</cheat>
jman
Posts: 1318 Joined: Tue Dec 01, 2020 1:24 pm
Been thanked: 10 times
Post
by jman » Thu Nov 28, 2024 12:05 pm
satsf3d.xml
Code: Select all
<!-- Saturn: Space Fighter 3D -->
<mamecheat version="1">
<cheat desc="no hit">
<script state="on">
<action>maincpu.mb@E909 = C5</action>
</script>
<script state="off">
<action>maincpu.mb@E909 = 1B</action>
</script>
</cheat>
<cheat desc="rapid fire">
<script state="on">
<action>maincpu.mb@DCD6 = 0F</action>
</script>
<script state="off">
<action>maincpu.mb@DCD6 = 03</action>
</script>
</cheat>
<cheat desc="player speed">
<parameter>
<item value="0x04">01 (slow)</item>
<item value="0x03">02 </item>
<item value="0x02">03 </item>
<item value="0x01">04 </item>
<item value="0x00">05 (fast)</item>
</parameter>
<script state="change">
<action>maincpu.mb@FA45 = param</action>
</script>
<script state="off">
<action>maincpu.mb@FA45 = 02</action>
</script>
</cheat>
<cheat desc="bullet speed">
<parameter>
<item value="0x04">01 (slow)</item>
<item value="0x03">02 </item>
<item value="0x02">03 </item>
<item value="0x01">04 </item>
<item value="0x00">05 (fast)</item>
</parameter>
<script state="change">
<action>maincpu.mb@FA41 = param</action>
</script>
<script state="off">
<action>maincpu.mb@FA41 = 02</action>
</script>
</cheat>
<cheat desc="easy level finish">
<comment>press start button to finish current level</comment>
<script state="on">
<action>maincpu.md@F6D0 = EAC00020 </action>
<action>maincpu.mq@C000 = 2905D0ABA6A000AD</action>
<action>maincpu.mq@C008 = 03F00229C00E4C01</action>
<action>maincpu.mq@C010 = 00006000A96034B5</action>
<!--
C000 | AD 00 A0 : lda $a000
C003 | A6 AB : ldx $ab // check player
C005 | D0 05 : bne $c00c
C007 | 29 01 : and #$01 // check 1P start button
C009 | 4C 0E C0 : jmp $c00e
C00C | 29 02 : and #$02 // check 2P start button
C00E | F0 03 : beq $c013
C010 | B5 34 : lda $34, x
C012 | 60 : rts
C013 | A9 00 : lda #$00
C015 | 60 : rts
-->
</script>
<script state="off">
<action>maincpu.md@F6D0 = 34B5ABA6 </action>
<action>maincpu.mq@C000 = 0000000000000000</action>
<action>maincpu.mq@C008 = 0000000000000000</action>
<action>maincpu.mq@C010 = 0000000000000000</action>
</script>
</cheat>
</mamecheat>
"easy level finish" : Added new. You can finish current level when press start button (player 1 : P1 start button, player 2 : P2 start button).