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.
-
Pugsy
- Posts: 3675
- Joined: Fri Aug 17, 2001 12:59 am
- Location: North Wales, UK.
- Has thanked: 1 time
- Been thanked: 15 times
-
Contact:
Post
by Pugsy »
5clown.xml
Code: Select all
<cheat desc="Select Credits for Coin in x5"> <comment>Normally 5 Credits as Coin in x5 option in dipswitches</comment>
<parameter min="1" max="255" step="1"/>
<script state="run">
<action>maincpu.mb@F341=param</action>
</script>
<script state="off">
<action>maincpu.mb@F341=05 </action>
</script>
</cheat>
<cheat desc="Select Credits for Coin in x10"> <comment>Normally 10 Credits as Coin in x10 option in dipswitches</comment>
<parameter min="1" max="255" step="1"/>
<script state="run">
<action>maincpu.mb@F342=param</action>
</script>
<script state="off">
<action>maincpu.mb@F342=0A </action>
</script>
</cheat>
-
cristiano
- Posts: 11
- Joined: Sun Jul 14, 2019 3:26 pm
Post
by cristiano »
Thanks for the work. But I get an error:
5clown.xml (11): error parsing XML (Junk after document element)
-
Pugsy
- Posts: 3675
- Joined: Fri Aug 17, 2001 12:59 am
- Location: North Wales, UK.
- Has thanked: 1 time
- Been thanked: 15 times
-
Contact:
Post
by Pugsy »
You said you'd been working on it, so I guessed you were just going to paste it into your existing 5clown.xml
If you haven't got a 5clown.xml, you need to add this at the very top of the XML:-
And this at the very bottom:-
-
cristiano
- Posts: 11
- Joined: Sun Jul 14, 2019 3:26 pm
Post
by cristiano »
Sorry for not explaining correctly, in fact the edits I make are directly in roms, so I have no experience with xml cheats. Thanks for helping.