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

    Mame emulation speed faster on Retropie than on my PC

    Scheduled Pinned Locked Moved Help and Support
    mamerefresh speedgame speedspeed
    30 Posts 6 Posters 17.1k 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.
    • W
      windale
      last edited by windale

      According to the reply on the mame2003 Github issues, this fixes it :-

      The solution is to go to settings > frame throttle and set 'maximum run speed' to 1.0. This means you can't fast-forward anymore but it will run at the the proper fps.

      I haven't had time to check it yet (not at home) but if it does work hopefully @BuZz or someone else can apply it as the default setting. (I don't see the need for fast-forward in MAME).

      F 1 Reply Last reply Reply Quote 1
      • F
        Floyd @windale
        last edited by

        @windale. Nice, will check tonight.. Let's hope this fixes it.

        1 Reply Last reply Reply Quote 1
        • W
          windale
          last edited by

          I just tested the 'Maximum Run Speed to 1.0x', it fixes the correct refresh rate but unfortunately makes the audio crackle.

          F 2 Replies Last reply Reply Quote 0
          • F
            Floyd @windale
            last edited by

            @windale said in Mame emulation speed faster on Retropie than on my PC:

            I just tested the 'Maximum Run Speed to 1.0x', it fixes the correct refresh rate but unfortunately makes the audio crackle.

            Does this happen on every rom?

            1 Reply Last reply Reply Quote 0
            • F
              Floyd @windale
              last edited by Floyd

              @windale
              I tried setting Maximum Run Speed and still getting bad refresh rates :/ bummer . Try the game "Super Pang" and see for your self.

              W 1 Reply Last reply Reply Quote 0
              • W
                windale @Floyd
                last edited by

                @Floyd said in Mame emulation speed faster on Retropie than on my PC:

                @windale
                I tried setting Maximum Run Speed and still getting bad refresh rates :/ bummer . Try the game "Super Pang" and see for your self.

                Super Pang in MAME 0.78 is 60Hz. It was corrected to 57.42Hz in MAME 0.133.

                F 1 Reply Last reply Reply Quote 0
                • F
                  Floyd @windale
                  last edited by Floyd

                  @windale said in Mame emulation speed faster on Retropie than on my PC:

                  @Floyd said in Mame emulation speed faster on Retropie than on my PC:

                  @windale
                  I tried setting Maximum Run Speed and still getting bad refresh rates :/ bummer . Try the game "Super Pang" and see for your self.

                  Super Pang in MAME 0.78 is 60Hz. It was corrected to 57.42Hz in MAME 0.133.

                  Yes that's right. I'm using the latest spang rom from romset 0.181. Hmm what core are you using for mame? I'm using the default core that came witj mame folder lr-mame2003. Maybe It will work with different core/version?

                  W 1 Reply Last reply Reply Quote 0
                  • W
                    windale @Floyd
                    last edited by

                    @Floyd I'm not sure I understood you. You said that Super Pang in lr-mame2003 is playing at the wrong speed. In MAME 0.78 (lr-mame2003) it's supposed to be playing at 60 fps (Hz), which is correct. The MAME team didn't fix this until MAME version 0.133 (which is 57.42Hz). So in lr-mame2003 it's correct,

                    F dankcushionsD 2 Replies Last reply Reply Quote 0
                    • F
                      Floyd @windale
                      last edited by Floyd

                      @windale Oh well that makes sense.. The lr-mame2003 uses an old 0.78 core no matter if I use 0.181 roms.
                      Anyways, I'trying to apply frame throttle and was looking through /opt/retroarch/config/all/retroarch.cfg but wasn't able to find a parameter which is responsible for frame throttle.. Can you point me where that max.run speed parameter resides?

                      1 Reply Last reply Reply Quote 0
                      • dankcushionsD
                        dankcushions Global Moderator @windale
                        last edited by

                        @windale said in Mame emulation speed faster on Retropie than on my PC:

                        @Floyd I'm not sure I understood you. You said that Super Pang in lr-mame2003 is playing at the wrong speed. In MAME 0.78 (lr-mame2003) it's supposed to be playing at 60 fps (Hz), which is correct. The MAME team didn't fix this until MAME version 0.133 (which is 57.42Hz). So in lr-mame2003 it's correct,

                        hey, sorry for taking ages but Hz is something that can be fixed pretty easily in the mame2003 code i think. is it just super pang that has should be 57.42hz? currently the following mitchell games are set to 60hz in the same driver (i think i can easily create a new driver for super pang if it's the only that should be changed):

                        "Dokaben (Japan)"
                        "Pang (World)"
                        "Pang (bootleg)"
                        "Buster Bros. (US)"
                        "Pomping World (Japan)"
                        "Capcom World (Japan)"
                        "Adventure Quiz 2 Hatena Hatena no Dai-Bouken (Japan)"
                        "Super Pang (World)"
                        "Super Buster Bros. (US)"
                        "Quiz Tonosama no Yabou (Japan)"
                        "Quiz Sangokushi (Japan)"
                        "Block Block (World 911106 Joystick)"
                        "Block Block (World 910910)"
                        "Block Block (Japan 910910)"
                        "Block Block (bootleg)"

                        ref: https://github.com/libretro/mame2003-libretro/blob/7b55725e744ac9702db092f996e2fca2276146b2/src/drivers/mitchell.c#L1660

                        maybe there's a good resource for current mame game frequencies that I could refer to?

                        W 1 Reply Last reply Reply Quote 3
                        • W
                          windale @dankcushions
                          last edited by windale

                          @dankcushions There are several games that play at the wrong Hz, some of them I reported on the lr-mame2003 GitHub. These all play at 60 Hz (which is wrong) :-

                          Robocop (57.4 Hz)
                          Bad Dudes vs Dragon Ninja (57.4 Hz)
                          Midnight Resistance (57.4 Hz)
                          Burger Time (57.4 Hz)
                          Caveman Ninja (58 Hz)

                          There are probably a lot more. I got my references from the latest PC version of MAME 0.182 Arcade Only (which has a folder list of all game refresh rates in the left side bar) http://www.progettosnaps.net/arcade/ (you need to put the Arcade.exe in the offical MAME download folder http://www.mame.net/ before running !) and MAME32 0.78 which can be downloaded here http://www.progettosnaps.net/mameui/packs/MAME32_0.078_25-12-2003.7z

                          1 Reply Last reply Reply Quote 0
                          • M
                            mahcneto
                            last edited by

                            I've been Reading about this, and well, I don't have problems with my favourite games speed but yes I do have one single thing that bugs me and it's about Double Dragon 1. The game speed seems ok but the sound pitch is a Little higher than the original and sometimes sfx's sound really way too different from they actually are. Would this Hz thing fix that too?

                            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.