• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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

(SOLVED) MAME "standalone" Cheats for systems like Coleco, Arcade and more

Scheduled Pinned Locked Moved Help and Support
cheatslr-messmamemame rommame.ini
29 Posts 3 Posters 6.7k 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.
  • D
    DTEAM
    last edited by DTEAM 2 Apr 2021, 13:39 3 Feb 2021, 14:51

    Hi,
    I am starting to use MAME "standalone" as a replacement for lr-Mess for some systems like ColecoVision or Super Vision. I'm trying to run cheat codes with the package of Pugsy's Cheats

    I'm not able to activate those Cheats in MAME. All tutorials I found are for Windows, MAC or Linux on PC.

    Does anyone know how to do this?

    Regards

    D 1 Reply Last reply 3 Feb 2021, 14:59 Reply Quote 0
    • D
      dankcushions Global Moderator @DTEAM
      last edited by 3 Feb 2021, 14:59

      @dteam i believe it should work much the same way on retropie as anywhere.

      mame.ini and mame folder structure is in /opt/retropie/configs/mame/

      i believe you need to enable cheats in the .ini, and then unzip the cheat archive to the above directory.

      D 1 Reply Last reply 3 Feb 2021, 15:06 Reply Quote 0
      • D
        DTEAM @dankcushions
        last edited by DTEAM 2 Mar 2021, 18:27 3 Feb 2021, 15:06

        @dankcushions
        What I did for now is adding cheat 1 and cheatpath /home/pi/RetroPie/roms/mame/cheat in mame.ini and paste cheat.7z and unzipped jagar cheat folder in /home/pi/RetroPie/roms/mame/cheat and It doesn't work. I'll try what you are suggesting.
        Note: MAME naming match for this test.

        rompath /home/pi/RetroPie/roms/mame;/home/pi/RetroPie/roms/arcade;/home/pi/RetroPie/BIOS/mame;/home/pi/RetroPie/BIOS;/home/pi/RetroPie/roms/tigerh;/home/pi/RetroPie/roms/gameandwatch;/home/pi/RetroPie/roms/tigerrz;/home/pi/RetroPie/roms/pong;/home/pi/RetroPie/roms/konamih;/home/pi/RetroPie/roms/classich;/home/pi/RetroPie/roms/atomiswave;/home/pi/RetroPie/roms/naomi;/home/pi/RetroPie/roms/all_in1;/home/pi/RetroPie/roms/jakks;/home/pi/RetroPie/roms/all_in1;/home/pi/RetroPie/roms/gp32;/home/pi/RetroPie/roms/nes
        hashpath /opt/retropie/emulators/mame/hash
        samplepath /home/pi/RetroPie/roms/mame/samples;/home/pi/RetroPie/roms/arcade/samples
        artpath /home/pi/RetroPie/roms/mame/artwork;/home/pi/RetroPie/roms/arcade/artwork;/home/pi/RetroPie/BIOS/mame/artwork
        ctrlrpath /opt/retropie/emulators/mame/ctrlr
        pluginspath /opt/retropie/emulators/mame/plugins
        languagepath /opt/retropie/emulators/mame/language
        cfg_directory /home/pi/RetroPie/roms/mame/cfg
        nvram_directory /home/pi/RetroPie/roms/mame/nvram
        input_directory /home/pi/RetroPie/roms/mame/inp
        state_directory /home/pi/RetroPie/roms/mame/sta
        snapshot_directory /home/pi/RetroPie/roms/mame/snap
        diff_directory /home/pi/RetroPie/roms/mame/diff
        comment_directory /home/pi/RetroPie/roms/mame/comments
        skip_gameinfo 1
        plugin hiscore
        samplerate 44100
        video accel
        cheatpath /home/pi/RetroPie/roms/mame/cheat
        cheat 1

        New edit
        Now, I think It sees the cheat codes, but this message appear:
        see also: Mess cheats
        1.jpg

        New edit 2
        however, this setup works with Arcade system (MAME standalone). I kept cheat.7z zipped
        2.jpg

        I'm reading posts on this forum to found a solution... will see : http://www.mamecheat.co.uk/forums/viewforum.php?f=2

        D 1 Reply Last reply 3 Feb 2021, 19:32 Reply Quote 1
        • D
          DTEAM @DTEAM
          last edited by DTEAM 2 Mar 2021, 20:43 3 Feb 2021, 19:32

          @Folly
          See above, any idea? It works with MAME (Arcade) but not MAME (MESS). On http://www.mamecheat.co.uk/forums/viewforum.php?f=2, they are able to run those systems.

          New edit:
          I also found this: https://docs.mamedev.org/advanced/paths.html

          F 1 Reply Last reply 3 Feb 2021, 20:43 Reply Quote 0
          • F
            Folly @DTEAM
            last edited by Folly 2 Mar 2021, 20:53 3 Feb 2021, 20:43

            @dteam said in MAME "standalone" Cheats for systems like Coleco and more:

            @Folly
            See above, any idea? It works with MAME (Arcade) but not MAME (MESS). On http://www.mamecheat.co.uk/forums/viewforum.php?f=2, they are able to run those systems.

            Nice work, getting cheats to work.
            I have never used cheats.

            Reading the posts I got a bit confused about what you mean by:

            It works with MAME (Arcade) but not MAME (MESS)

            Now I think I know what you mean.
            You mean :

            • systems that were in MESS and which are now merged/added into MAME, don't work.
            • systems that were already in MAME (Arcade) before the merge with MESS, do work.

            But with both systems (your edit1 and edit2) your cheats are in the same way added, right ?
            So I think I understand it correctly now.

            Looks like the picture from edit1 asks for a softwarelist with games.
            Seems like you run the system and game with a command-line just like we did earlier.
            Did you add the (-c) or (-cheat) option in the commandline ?

            Looks like the picture from edit2 uses a softwarelist with games.
            So it looks like it get's information from the softwarelist in order to run the cheat.
            Then I think the (-c) option doesn't have to be used.

            I don't know If I am correct in this thinking though ;-) .

            Did you check your runcommand.logs and generated commandlines both times ?

            1 Reply Last reply Reply Quote 0
            • D
              DTEAM
              last edited by DTEAM 2 Mar 2021, 20:55 3 Feb 2021, 20:53

              @folly said in MAME "standalone" Cheats for systems like Coleco and more:

              Now I think I know what you mean.
              You mean :

              systems that were in MESS and which are now merged/added into MAME, don't work. - YES
              systems that were already in MAME (Arcade) before the merge with MESS, do work. - YES

              But with both systems (your edit1 and edit2) your cheats are in the same way added, right ? YES

              Looks like the picture from edit1 asks for a softwarelist with games.
              Seems like you run the system and game with a command-line just like we did earlier.
              Did you add the (-c) or (-cheat) option in the commandline ?
              Yes , I tried It with Jaguar and nothing happened

              emulators.cfg

              mame-jaguar= "/opt/retropie/emulators/mame/mame -c -autoframeskip -cheat jaguar -cart %ROM%"
              

              Note: roms with MAME naming for the test

              F 1 Reply Last reply 3 Feb 2021, 20:55 Reply Quote 0
              • F
                Folly @DTEAM
                last edited by Folly 2 Mar 2021, 21:05 3 Feb 2021, 20:55

                @dteam

                What is the other emulators.cfg ?

                D 1 Reply Last reply 3 Feb 2021, 20:56 Reply Quote 0
                • D
                  DTEAM @Folly
                  last edited by DTEAM 2 Mar 2021, 20:58 3 Feb 2021, 20:56

                  @folly
                  mame-jaguar= "/opt/retropie/emulators/mame/mame -c -autoframeskip jaguar -cart %ROM%"
                  With or without -cheat, It runs the same way with the mame.ini above.

                  F 1 Reply Last reply 3 Feb 2021, 20:59 Reply Quote 0
                  • F
                    Folly @DTEAM
                    last edited by Folly 2 Mar 2021, 21:02 3 Feb 2021, 20:59

                    @dteam said in MAME "standalone" Cheats for systems like Coleco and more:

                    @folly
                    mame-jaguar= "/opt/retropie/emulators/mame/mame -c -autoframeskip jaguar -cart %ROM%"

                    Now I am confused.

                    Do you use jaguar both times, one that works and one that doesn't work ?

                    Or which Arcade system did you used then ?

                    D 1 Reply Last reply 3 Feb 2021, 21:02 Reply Quote 0
                    • D
                      DTEAM @Folly
                      last edited by DTEAM 2 Mar 2021, 21:05 3 Feb 2021, 21:02

                      @folly
                      No sorry, for Arcade and jaguar, I did nothing excepted what you see above with mame.ini and cheat.7z file location.

                      for -cheat in emulators.cfg , I did a test with jaguar and nothing happens. mame.ini seems to do the same thing.

                      For some reason, we can load cheats for arcade games (MAME) and not for systems from the old MESS

                      F 1 Reply Last reply 3 Feb 2021, 21:04 Reply Quote 0
                      • F
                        Folly @DTEAM
                        last edited by Folly 2 Mar 2021, 21:05 3 Feb 2021, 21:04

                        @dteam said in MAME "standalone" Cheats for systems like Coleco and more:

                        @folly
                        No sorry, for Arcade and jaguar, I did nothing excepted what you see above with mame.ini and cheat.7z file location.

                        for -cheat in emulators.cfg , I did a test with jaguar and nothing happens. mame.ini seems to do the same thing.

                        Ok I understand it correctly.

                        What is your emulators.cfg of Arcade then ?

                        D 1 Reply Last reply 3 Feb 2021, 21:06 Reply Quote 0
                        • D
                          DTEAM @Folly
                          last edited by 3 Feb 2021, 21:06

                          @folly
                          those 2

                          mame_autoframeskip = "/opt/retropie/emulators/mame/mame -c -autoframeskip %BASENAME%"
                          mame = "/opt/retropie/emulators/mame/mame %BASENAME%"
                          
                          F 1 Reply Last reply 3 Feb 2021, 21:14 Reply Quote 0
                          • F
                            Folly @DTEAM
                            last edited by Folly 2 Mar 2021, 21:30 3 Feb 2021, 21:14

                            @dteam said in MAME "standalone" Cheats for systems like Coleco and more:

                            @folly
                            those 2

                            mame_autoframeskip = "/opt/retropie/emulators/mame/mame -c -autoframeskip %BASENAME%"
                            mame = "/opt/retropie/emulators/mame/mame %BASENAME%"
                            

                            Yes, just what I was thinking/explaining in my earlier post.
                            Your edit1 doesn't run through the softwarelist and your edit2 does.
                            In both (Arcade and jaguar) you use MAME naming, as you said,
                            but with jaguar you added the system in the commandline so the MAME naming for the softwarelist is not used/rejected.
                            So the question is, do cheats only work when a game is loaded the softwarelist way.

                            Pfff... do you follow it ?

                            Can you try your jaguar game (with MAME naming) from the Arcade rom directory, to see what will happen ?
                            Perhaps you also have to add a hash table for jaguar too in you mame directory.
                            Here are hash tables :
                            https://github.com/mamedev/mame/tree/master/hash

                            D 1 Reply Last reply 3 Feb 2021, 21:31 Reply Quote 0
                            • D
                              DTEAM @Folly
                              last edited by DTEAM 2 Mar 2021, 21:33 3 Feb 2021, 21:31

                              @folly
                              Not working. In mame.ini , It already pointed in the hash folder with xml. The xml. are already there.

                              F 1 Reply Last reply 3 Feb 2021, 21:32 Reply Quote 0
                              • F
                                Folly @DTEAM
                                last edited by Folly 2 Mar 2021, 21:33 3 Feb 2021, 21:32

                                @dteam said in MAME "standalone" Cheats for systems like Coleco and more:

                                @folly
                                Not working.

                                Do you have hash tables ?
                                I think the have to be in :
                                /home/pi/RetroPie/BIOS/mame/hash

                                D 1 Reply Last reply 3 Feb 2021, 21:34 Reply Quote 0
                                • D
                                  DTEAM @Folly
                                  last edited by DTEAM 2 Mar 2021, 21:47 3 Feb 2021, 21:34

                                  @folly

                                  Yes, and in 2 places (lr-Mess and MAME) . For mame, It's in the mame.ini and Its full by default, unlike Lr-Mess

                                  My hashpath
                                  /opt/retropie/emulators/mame/hash;
                                  /home/pi/RetroPie/BIOS/mame/hash;

                                  F D 2 Replies Last reply 3 Feb 2021, 21:40 Reply Quote 0
                                  • F
                                    Folly @DTEAM
                                    last edited by Folly 2 Mar 2021, 21:40 3 Feb 2021, 21:40

                                    @dteam
                                    And you have the jaguar.xml in there ?

                                    D 1 Reply Last reply 3 Feb 2021, 21:43 Reply Quote 0
                                    • D
                                      DTEAM @DTEAM
                                      last edited by 3 Feb 2021, 21:40

                                      @dteam

                                      What %BASENAME% doing
                                      Can we use it in

                                      mame-jaguar= "/opt/retropie/emulators/mame/mame -c -autoframeskip -cheat jaguar -cart %ROM%"
                                      

                                      with jaguar

                                      F 1 Reply Last reply 3 Feb 2021, 21:42 Reply Quote 0
                                      • F
                                        Folly @DTEAM
                                        last edited by Folly 2 Mar 2021, 21:43 3 Feb 2021, 21:42

                                        @dteam

                                        I am quite certain basename is the romname without the extension.
                                        So the basename is looked up in the hash tables then it knows the :

                                        • game
                                        • system
                                        • etc.
                                        1 Reply Last reply Reply Quote 0
                                        • D
                                          DTEAM @Folly
                                          last edited by DTEAM 2 Mar 2021, 21:44 3 Feb 2021, 21:43

                                          @folly
                                          yes, jaguar.xml is there
                                          Before I use your script, I installed Lr-Mess systems manually with .xml files.
                                          I'm running both. I'm familiar with It.

                                          F 1 Reply Last reply 3 Feb 2021, 21:44 Reply Quote 0
                                          20 out of 29
                                          • First post
                                            20/29
                                            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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received