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: 850 Joined: Tue Dec 01, 2020 1:24 pm
Post
by jman » Thu Feb 03, 2022 9:51 am
sbhoei and sbhoeia will be added on 0.241.
Code: Select all
<cheat desc="no hit">
<script state="on">
<action>maincpu.mb@2124 = c9</action>
</script>
<script state="off">
<action>maincpu.mb@2124 = 3e</action>
</script>
</cheat>
<cheat desc="no hit - base">
<script state="on">
<action>maincpu.mb@504e = c9</action>
</script>
<script state="off">
<action>maincpu.mb@504e = dd</action>
</script>
</cheat>
<cheat desc="auto fire">
<script state="on">
<action>maincpu.mb@31fe = 00</action>
</script>
<script state="off">
<action>maincpu.mb@31fe = c0</action>
</script>
</cheat>
<cheat desc="bullet speed">
<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>maincpu.mb@340b = param</action> <!-- speed -->
<action>maincpu.mb@3410 = param</action> <!-- range -->
</script>
<script state="off">
<action>maincpu.mb@340b = 04</action>
<action>maincpu.mb@3410 = 04</action>
</script>
</cheat>
Fortunately, sbhoei and sbhoeia have the same code and address.
jman
Posts: 850 Joined: Tue Dec 01, 2020 1:24 pm
Post
by jman » Wed Dec 20, 2023 12:09 pm
sbhoei.xml
Code: Select all
<!-- Space Battle (Hoei, set 1) -->
<mamecheat version="1">
<cheat desc="no hit">
<script state="on">
<action>maincpu.mb@2124 = C9</action>
</script>
<script state="off">
<action>maincpu.mb@2124 = 3E</action>
</script>
</cheat>
<cheat desc="no hit - base">
<script state="on">
<action>maincpu.mb@504E = C9</action>
</script>
<script state="off">
<action>maincpu.mb@504E = DD</action>
</script>
</cheat>
<cheat desc="auto fire">
<script state="on">
<action>maincpu.mb@31FE = 00</action>
</script>
<script state="off">
<action>maincpu.mb@31FE = C0</action>
</script>
</cheat>
<cheat desc="player speed">
<parameter>
<item value="0x01">01 (slow)</item>
<item value="0x02">02 </item>
<item value="0x04">03 </item>
<item value="0x06">04 </item>
<item value="0x08">05 (fast)</item>
</parameter>
<script state="change">
<!-- left -->
<action>maincpu.mb@3060 = -param</action>
<action>maincpu.mb@3066 = -param</action>
<action>maincpu.mb@317A = -param</action>
<action>maincpu.mb@317F = -param</action>
<!-- right -->
<action>maincpu.mb@3073 = param</action>
<action>maincpu.mb@3079 = param</action>
<action>maincpu.mb@3170 = param</action>
<action>maincpu.mb@3175 = param</action>
</script>
<script state="off">
<action>maincpu.mb@3060 = FE</action>
<action>maincpu.mb@3066 = FF</action>
<action>maincpu.mb@317A = FE</action>
<action>maincpu.mb@317F = FF</action>
<action>maincpu.mb@3073 = 02</action>
<action>maincpu.mb@3079 = 01</action>
<action>maincpu.mb@3170 = 02</action>
<action>maincpu.mb@3175 = 01</action>
</script>
</cheat>
<cheat desc="bullet speed">
<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>maincpu.mb@340B = param</action> <!-- speed -->
<action>maincpu.mb@3410 = param</action> <!-- range -->
</script>
<script state="off">
<action>maincpu.mb@340B = 04</action>
<action>maincpu.mb@3410 = 04</action>
</script>
</cheat>
<cheat desc="no rise">
<script state="on">
<action>maincpu.mb@146A = 18</action>
</script>
<script state="off">
<action>maincpu.mb@146A = 38</action>
</script>
</cheat>
</mamecheat>
sbhoeia.xml
Code: Select all
<!-- Space Battle (Hoei, set 2) -->
<mamecheat version="1">
<cheat desc="no hit">
<script state="on">
<action>maincpu.mb@2124 = C9</action>
</script>
<script state="off">
<action>maincpu.mb@2124 = 3E</action>
</script>
</cheat>
<cheat desc="no hit - base">
<script state="on">
<action>maincpu.mb@504E = C9</action>
</script>
<script state="off">
<action>maincpu.mb@504E = DD</action>
</script>
</cheat>
<cheat desc="auto fire">
<script state="on">
<action>maincpu.mb@31FE = 00</action>
</script>
<script state="off">
<action>maincpu.mb@31FE = C0</action>
</script>
</cheat>
<cheat desc="player speed">
<parameter>
<item value="0x01">01 (slow)</item>
<item value="0x02">02 </item>
<item value="0x04">03 </item>
<item value="0x06">04 </item>
<item value="0x08">05 (fast)</item>
</parameter>
<script state="change">
<!-- left -->
<action>maincpu.mb@3060 = -param</action>
<action>maincpu.mb@3066 = -param</action>
<action>maincpu.mb@317A = -param</action>
<action>maincpu.mb@317F = -param</action>
<!-- right -->
<action>maincpu.mb@3073 = param</action>
<action>maincpu.mb@3079 = param</action>
<action>maincpu.mb@3170 = param</action>
<action>maincpu.mb@3175 = param</action>
</script>
<script state="off">
<action>maincpu.mb@3060 = FE</action>
<action>maincpu.mb@3066 = FF</action>
<action>maincpu.mb@317A = FE</action>
<action>maincpu.mb@317F = FF</action>
<action>maincpu.mb@3073 = 02</action>
<action>maincpu.mb@3079 = 01</action>
<action>maincpu.mb@3170 = 02</action>
<action>maincpu.mb@3175 = 01</action>
</script>
</cheat>
<cheat desc="bullet speed">
<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>maincpu.mb@340B = param</action> <!-- speed -->
<action>maincpu.mb@3410 = param</action> <!-- range -->
</script>
<script state="off">
<action>maincpu.mb@340B = 04</action>
<action>maincpu.mb@3410 = 04</action>
</script>
</cheat>
<cheat desc="no rise">
<script state="on">
<action>maincpu.mb@146A = 18</action>
</script>
<script state="off">
<action>maincpu.mb@146A = 38</action>
</script>
</cheat>
</mamecheat>
"player speed", "no rise" : Added new.