Edit: Erm, nevermind I guess, now it works.
![:o](./images/smilies/icon_eek.gif)
kds wrote:It seems that Golden Axe: The Revenge of the Death Adder has a memory parse error and has since January 2015.
Code: Select all
<cheat desc="Invincibility">
<script state="on">
<action>temp0 =maincpu.mb@153A0</action>
<action>temp1 =maincpu.mb@16D01</action>
<action>temp2 =maincpu.mb@16D7D</action>
</script>
<script state="run">
<action>maincpu.mb@153A0=39</action> <!-- Boom-Boom Bird -->
<action>maincpu.mb@16D01=20</action> <!-- Tanks -->
<action>maincpu.mb@16D7D=20</action> <!-- Cyclops -->
</script>
<script state="off">
<action>maincpu.mb@153A0=temp0 </action>
<action>maincpu.mb@16D01=temp1 </action>
<action>maincpu.mb@16D7D=temp2 </action>
</script>
</cheat>
I can confirm this works better.Pugsy wrote:Cant see the problem myself as I've not played it enough to see it bank the ROM out which I guess is what is causing the problem....
Maybe this will work better? :-
Code: Select all
<cheat desc="Invincibility"> <script state="on"> <action>temp0 =maincpu.mb@153A0</action> <action>temp1 =maincpu.mb@16D01</action> <action>temp2 =maincpu.mb@16D7D</action> </script> <script state="run"> <action>maincpu.mb@153A0=39</action> <!-- Boom-Boom Bird --> <action>maincpu.mb@16D01=20</action> <!-- Tanks --> <action>maincpu.mb@16D7D=20</action> <!-- Cyclops --> </script> <script state="off"> <action>maincpu.mb@153A0=temp0 </action> <action>maincpu.mb@16D01=temp1 </action> <action>maincpu.mb@16D7D=temp2 </action> </script> </cheat>
Code: Select all
#
# PLUGINS OPTIONS
#
cheat 1
cheatfind 1
console 0
data 1
dummy 0
hiscore 0
layout 0
timer 0
That did the trick.Pugsy wrote:I answered the other question already, but just in case someone comes across this post in the future...
Just looked at MAMEUI (I use standard MAME commandline here). I can spot the problem, if you run "mameui64.exe -cc" from the commandline it will create the plugin.ini file in the same directory but it only looks for it in the ini dir. You can create the ini file manually, just make a plugin.ini file in the ini folder (eg. C:\MAMEUI64\ini\plugin.ini ) and put this text in it:-
Code: Select all
# # PLUGINS OPTIONS # cheat 1 cheatfind 1 console 0 data 1 dummy 0 hiscore 0 layout 0 timer 0
Thanks for the catch on samsho2, the cheats causing the problem were only recently added. My fault I didn't test them, but the person who posted the cheats is using an old version of MAME on which they work. Just need .m changing to .r in samsho2.xml (will fix on the next release).
The rest of the cheats work fine if you use the plugin cheat engine that you should now be able to see...the problem cheats will just have error next to them in the cheat plugin.
Code: Select all
wp 9070D5,1,w,pc!=33062
Code: Select all
wp 9070D5,1,w,pc!=3305c
Must admit I never noticed that, I haven't used that for a while as I generally just test it with the cheat in XML format or just edit the address in the memory viewer.wp 9070D5,1,w,{maincpu.pb@9070d5=01;g}
;invalid token error - it was working before