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

    "in game" quick menu coming up with button pushes on Picade build

    Scheduled Pinned Locked Moved Help and Support
    pimoroni
    12 Posts 3 Posters 2.2k 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.
    • J
      Jabberwocky
      last edited by Jabberwocky

      A week or so ago I built a Picade kit with the latest available retropie image and loaded the Pimoroni driver package.

      At some point my kids were trying to play a game with two controllers, and were pushing buttons on the cabinet to try to figure out how to get player 2 to join the game. They were doing this in a game running on MAME 2003 emulator.

      A black and white in-game menu popped up and as one of the kids was still hammering away at buttons on the main console a key bind was performed that bound one of the gamepad buttons to always display this in game menu every time the "A" key was pressed.

      I rolled back retroarch.cfg and it seemed to clear the problem but then it comes up every time the right trigger is pressed in MAME ROMs. No idea why.

      Trying to re-bind this command using this menu is frustrating as it seems to keep adding "+" and allowing many numerous keypresses to activate the menu.

      I don't even understand what this menu is, as it is not the regular retroarch menu, which I have bound to a hot key with a game pad.

      I've reviewed all of the retroarch.cfg and controller config files and can't find out where this binding is. It cannot be set in the regular retroarch menu, only in the "quick" menu that comes up which is talking about dipswitches and other things (what is even the point of this menu??).

      It's all rather frustrating and has me honestly tempted to wipe the entire build and start again which would be very time consuming but I'd like to try to fix it instead.

      Does anyone know the SPECIFIC file that has this key binding? It's not in a core file I can find. It seems to be somewhere else.

      I thought it was in a supplemental xpad.c file but the last time that file was touched was several days ago and I last rebound this key yesterday.

      I suspect this is some Pimoroni pixie dust specific to their driver installation and could really use some help figuring this out.

      Thanks.

      IMG_E2FA4172A636-1.jpeg

      S 1 Reply Last reply Reply Quote 0
      • S
        sleve_mcdichael @Jabberwocky
        last edited by

        @Jabberwocky that's the MAME menu and it's accessed with either R-Trig or R-Thumb on a controller, depending on which version of MAME you are using (or TAB on a keyboard, in all versions). I think maybe you can remap this button in the RetroArch quick menu, but I'm not at my box to check right now.

        J 1 Reply Last reply Reply Quote 0
        • J
          Jabberwocky @sleve_mcdichael
          last edited by

          @sleve_mcdichael thanks for the info!

          If anyone can tell me what file the key map is in that would be very helpful as remapping it in that menu to something with multiple button presses is very problematic.

          1 Reply Last reply Reply Quote 0
          • S
            sleve_mcdichael
            last edited by sleve_mcdichael

            @Jabberwocky I can confirm, this can be remapped or disabled with core input remapping in MAME2010; I don't have any that use 2003 to test with but I'd wager it's the same.

            https://retropie.org.uk/docs/RetroArch-Configuration/#core-input-remapping

            If anyone can tell me what file the key map is in that would be very helpful as remapping it in that menu to something with multiple button presses is very problematic.

            That's (from your post on Reddit) not the right menu though. You should be in quick menu > controls > port 1 controls:

            20230416_113511.png

            This will save a remap file in the configs/<system>/<emulator> folder, such as:

            '/opt/retropie/configs/arcade/MAME 2010/MAME 2010.rmp'

            J 2 Replies Last reply Reply Quote 0
            • J
              Jabberwocky @sleve_mcdichael
              last edited by

              @sleve_mcdichael

              Thanks,

              Let me look into this a bit further and see if I can figure this out based on what you just provided.

              I did temporarily remap this to SELECT + START but I'd prefer to map it to something harder to inadvertently select such as SELECT + a trigger button or similar.

              1 Reply Last reply Reply Quote 0
              • J
                Jabberwocky @sleve_mcdichael
                last edited by

                @sleve_mcdichael

                Okay, I've looked into this a bit further and still not coming up with a way to properly configure this.

                I don't have an option in the retroarch config you show to bind a key to Toggle MAME UI, but if you toggle MAME UI with the hot key currently programmed you can see that it is set to SELECT + START.

                Weirder, if you try to re-bind the key, by doing it in the MAME UI menu it will typically just add whatever new key you press to the other ones, so for example, if I try to do RT + SELECT it will show something like RT + SELECT + RT and just keep stringing the key inputs together.

                I don't have any core maps set for mame-libretro and I don't have any specific mame2003 folder in /opt/retropie/configs/![alt text](![image url](IMG_9768.jpg image url))

                J 1 Reply Last reply Reply Quote 0
                • J
                  Jabberwocky @Jabberwocky
                  last edited by

                  @Jabberwocky IMG_19BF47A5E4F1-1.jpeg

                  IMG_9C74126C5A84-1.jpeg

                  J 1 Reply Last reply Reply Quote 0
                  • J
                    Jabberwocky @Jabberwocky
                    last edited by

                    @Jabberwocky

                    Okay, It seems from some research into where this MAME menu gets set the likely answer is that it is set in the default.cfg file located in ~/Retropie/roms/mame-libretro/mame2003/cfg

                    However these files aren't human readable or editable so it appears this is a really crummy way that MAME is configured... essentially the "MAME menu" at least on this Retropie image that I am running, the only way to set the key map is by opening the menu and trying to set it to something new.

                    Can't find any other way to do it, so end of the road on this one it seems.

                    Thanks to @sleve_mcdichael for trying to help out here, but I don't think there's any real way to fix this.

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

                      You fix it by unmapping the menu to none so the menu can't be toggled on by accident. I'm using mame2003+ in this example but under input general you select the line config menu then very quickly double tap any button and none will be displayed. Then back out of the menu and exit the game properly to save the change for the next time.

                      Screenshot_20230418-085320_1.png

                      J 1 Reply Last reply Reply Quote 0
                      • J
                        Jabberwocky @mahoneyt944
                        last edited by

                        @mahoneyt944

                        Great tip and I wasn't aware this was even doable.

                        I was finally able to successfully bind the MAME menu to something less likely to be inadvertently activated... I mapped it to LT + SELECT which should hopefully minimize the chance it gets accidentally activated.

                        I'm not even sure what this menu is good for as I don't use cheats and use retroarch for game button mappings, but I won't completely deactivate it.

                        M 1 Reply Last reply Reply Quote 0
                        • M
                          mahoneyt944 @Jabberwocky
                          last edited by mahoneyt944

                          @Jabberwocky the mame menu allows you to operate dip switches, use cheats, adjust analog sensitivity, as well as configure inputs more precisely per game and per core. It also allows you to generate XML DAT files which are used to build romsets for the core.

                          One example would be if you decide to play a game using a spinner, such as Arkanoid, you may need to adjust the sensitivity of the dial in the mame menu to get the correct feel/ speed of the control otherwise the dial may move too quickly or too slowly etc.

                          You should also note that you can access the mame menu via core options in RetroArch as well, so if you want to bind None as explained before you'll still have the ability to open the menu through RetroArch.

                          Core options-> system-> display mame menu->on then close the RetroArch menu and the mame menu will be up.

                          J 1 Reply Last reply Reply Quote 0
                          • J
                            Jabberwocky @mahoneyt944
                            last edited by

                            @mahoneyt944

                            Great info, thank you sir!

                            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.