[bosco] Pass RAM/ROM Checks

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.
Post Reply
User avatar
megaman_exe
Posts: 36
Joined: Mon Nov 05, 2007 2:12 am

[bosco] Pass RAM/ROM Checks

Post by megaman_exe » Tue Sep 19, 2017 9:07 pm

Code: Select all

  <cheat desc="Pass RAM/ROM Checks">
    <script state="on">
      <action>temp0 =maincpu.mb@3F31</action>
      <action>temp1 =maincpu.mw@3822</action>
      <action>temp2 =maincpu.mb@3819</action>
      <action>temp3 =maincpu.mw@37F8</action>
    </script>
    <script state="run">
      <action>maincpu.mb@3F31=C9</action>
      <action>maincpu.mw@3822=0118</action>
      <action>maincpu.mb@3819=C9</action>
      <action>maincpu.mw@37F8=C9C9</action>
    </script>
    <script state="off">
      <action>maincpu.mb@3F31=temp0 </action>
      <action>maincpu.mw@3822=temp1 </action>
      <action>maincpu.mb@3819=temp2</action>
      <action>maincpu.mw@37F8=temp3</action>
    </script>
  </cheat>
As always, you must actually enable it, reset and you'll see it working. (Unless a "preenable" attribute on the cheat tag is implemented in the near future)
Please let me know if anything is wrong.

User avatar
Pugsy
Posts: 3258
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Contact:

Re: [bosco] Pass RAM/ROM Checks

Post by Pugsy » Sun Jan 27, 2019 11:06 pm

I feel like I'm picking on you now, sorry it's really not personnal.

Two observations here:
maincpu.mw@3822=0118 is not needed as maincpu.mb@3819=C9 ensures it doesn't ever get run
maincpu.mw@37F8=C9C9 should be maincpu.mb@37F8=C9, as the ret added at 37f8 ensures 37f9 doesn't get run

Just put BPs at 3822 & 37f9 and enable your code and hit reset and the breakpoints wont get hit.

Seems to do what it says on the tin, but to be honest as it takes so long to boot I don't see any value in this apart from modifying the game and running it on real hardware without worrying about checksum fails.


I'm not going to look at the other similar cheats you posted around the same time, as it really does look like I'm just finding fault for the sake of it - but I'm really not.
Pugsy

Servicing your cheating needs since 1985 ;-)

Grab the latest cheat collection:
MAME 0.206 XML cheat collection 08 FEBRUARY 2018) from http://www.mamecheat.co.uk or direct from:-
http://www.mediafire.com/file/ybw7c4xyd ... at0206.zip (ZIP Archive 1931 KB)

Post Reply