RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Converting a mame XML cheat to lr-mame2003 DAT

    Scheduled Pinned Locked Moved Help and Support
    lr-mame2003cheats help
    1 Posts 1 Posters 293 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      RetroGamer_Dirk
      last edited by

      I am trying to manually convert a newer MAME cheat for TMNT, which does not exist in the lr-mame2003 DAT file to play on RetroPie, but is included in the newer versions of MAME (installed on my regular Mac). The XML cheat is:

       <cheat desc="Hit Anywhere">
          <script state="on">
            <action>temp0 =maincpu.mw@4725C</action>
            <action>temp1 =maincpu.mw@47292</action>
            <action>temp2 =maincpu.mw@472BC</action>
          </script>
          <script state="run">
            <action>maincpu.mw@4725C=6002</action> <!-- This ROM cheat was made by nolberto82 -->
            <action>maincpu.mw@47292=6002</action>
            <action>maincpu.mw@472BC=6002</action>
          </script>
          <script state="off">
            <action>maincpu.mw@4725C=temp0 </action>
            <action>maincpu.mw@47292=temp1 </action>
            <action>maincpu.mw@472BC=temp2 </action>
          </script>
        </cheat>
      
      

      I know it probably begins like :tmnt: but mostly I can't figure out how to decipher the second part, the "how to poke" part of the cheat. Any advice?

      1 Reply Last reply Reply Quote 0
      • First post
        Last post

      Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

      Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.