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

    Mapping for MAME buttons

    Scheduled Pinned Locked Moved Help and Support
    mame configmame-libretromappingretroarch 1.7.1
    11 Posts 3 Posters 5.0k 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.
    • B
      beezerhale
      last edited by

      Pi Model or other hardware: 3B+
      RetroPie Version Used - 4.4
      Retroarch 1.7.1
      ES v2.7.5rp
      Built From: Retropie from the retropie site
      Power Supply used: https://www.amazon.com/gp/product/B00L88M8TE/ref=ppx_yo_dt_b_asin_title_o06_s00?ie=UTF8&psc=1
      USB Devices connected: joystick and 6 button (Gamelec 2 player setup)
      Controller used: see above, plus keyboard
      I have the buttons set up like this: https://imgur.com/T6mMAJS

      Through the guidance of several here I have a fully functional setup and ALMOST everything is working perfectly. Both gamepads (Gamelec joystick and buttons, 2 player) are working fine and mapped the same for Atari 2600, 7800, FDS, NES, SNES, and MAME. That is where the problem comes in - MAME. For some games it appears fine. Donkey, Kong, Dig Dug, Frogger, etc --- the main button used is the first button on the bottom row - button B. But for game needing more than 1 button (like any TMNT game) the second button needed appears to be the Y button (first button top row). That is an awkward reach. I know I can remap the buttons for just MAME using Retroarch from within a game. I know how to get there. Then I am lost. I am not sure what to rename or set to get these games to use B/A as button 1/2. Guidance is appreciated. Thank you!

      mituM dankcushionsD 2 Replies Last reply Reply Quote 0
      • mituM
        mitu Global Moderator @beezerhale
        last edited by

        @beezerhale If you can reach the RGUI, then you can create an input remap using it - https://retropie.org.uk/docs/RetroArch-Configuration/#core-input-remapping. Arrange your buttons as you like and then save a game (or core) remap - this will re-arrange the input without actually needing to change the global mappings.

        B 1 Reply Last reply Reply Quote 0
        • B
          beezerhale @mitu
          last edited by

          @mitu said in Mapping for MAME buttons:

          RGUI,

          Ok, I can definitely get into RGUI and I know how to save changes. My problem is that even after looking at the link you sent, I'm nit sure which controller/setting applies to my joystick and 6 button set up for player 1 and then player 2.

          1 Reply Last reply Reply Quote 0
          • B
            beezerhale
            last edited by

            I guess my question is If the game uses B and Y and I want them next to each other are those then mapped as 1 and 2?

            1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator
              last edited by

              You can just experiment in-game with changing the mapping until you find the right combination - the settings are not saved automatically and once you find the right combination, you can save an override.

              B 2 Replies Last reply Reply Quote 0
              • dankcushionsD
                dankcushions Global Moderator @beezerhale
                last edited by

                @beezerhale which MAME are you using?

                B 1 Reply Last reply Reply Quote 0
                • B
                  beezerhale @dankcushions
                  last edited by

                  @dankcushions libretro folder. Is that the question? Sorry - I know a thing or three, but only what I've learned reading here and watching ETAPrime videos. :)

                  dankcushionsD 1 Reply Last reply Reply Quote 0
                  • B
                    beezerhale @mitu
                    last edited by

                    @mitu I can do that. Thanks. I'll report back.

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

                      @beezerhale i'll assume lr-mame2003. to be honest i don't really know what the default layout is in 2003 anymore. i just tried to work it out via git and the files were moved rather than renamed so i can't see the full history :(

                      i recommend fbalpha at this point. it definitely has good defaults.

                      B 1 Reply Last reply Reply Quote 0
                      • B
                        beezerhale @dankcushions
                        last edited by beezerhale

                        @dankcushions I believe you are correct. I'll tinker with it tonight. I think I can make changes like Mitu suggested, I just wanted to see if there was a pattern to follow or if I should explore a bit. I am always cautious before I go changing anything because I have a great ability to screw things up that were previously working just fine. :)

                        1 Reply Last reply Reply Quote 0
                        • B
                          beezerhale @mitu
                          last edited by

                          @mitu @dankcushions Thanks again for the guidance. I just needed a nudge. I started 1942, got into Retrarch from there, remapped the buttons for MAME to be what essentially is A/X/L on top and B/Y/R on the bottom. This gave me the B/Y buttons the main use for the games I play most - 1942, TMNT, etc. while keeping the standard mapping for all the other systems.

                          Thanks again!

                          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.