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 button mapping to SNES

    Scheduled Pinned Locked Moved Help and Support
    retropiemamesnesbutton mapping
    9 Posts 3 Posters 5.6k 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.
    • A
      aaaccc1
      last edited by aaaccc1

      hi all,

      with the great help from this forum i have manage to build a bartop arcade machine with 2 players. Mame game work awesome!
      now i have a few snes games that i woud like to try, they load ok, but button mapping is not correct.

      is there a guide i can follow to copy the mame button mapping to snes configuration?

      thanks

      mediamogulM 1 Reply Last reply Reply Quote 0
      • mediamogulM
        mediamogul Global Moderator @aaaccc1
        last edited by mediamogul

        @aaaccc1

        While there might be a couple of ways to handle this, it might make the most sense to use core specific mapping within the Rgui so that no other systems are affected by your desired changes. When you launch a SNES title, pres the "select" and "X" buttons at the same time to invoke RetroArch's Rgui. Navigate to "quick menu" and then to "controls". Here you can safely remap the SNES core to your liking without affecting anything else. Just remember to use the "save core map" option from within the same menu and it will auto-launch that mapping each time a game is played.

        RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

        A 2 Replies Last reply Reply Quote 0
        • A
          aaaccc1 @mediamogul
          last edited by

          @mediamogul great thanks i will try it, this is for each game right? if yes, any other way to do it for all snes games?

          mediamogulM 1 Reply Last reply Reply Quote 0
          • M
            movisman
            last edited by

            Hi,

            Yes there are multiple ways to remap controls per emulator, as per the wiki:
            https://github.com/RetroPie/RetroPie-Setup/wiki/RetroArch-Configuration

            To perform core input remapping as per the above suggestion, in the retroarch menu, go to quick menu => core input options and remap the controls there. If you then select 'save core remap file' the mapping will apply to all games which use that emulator. This is what I do. For specific games, if required you can use 'save game remap file', which will override the core map for that particular game.

            This method only works for emulators which support core input remapping though, I think I am using lr-snes9x-next and this is ok.

            1 Reply Last reply Reply Quote 0
            • mediamogulM
              mediamogul Global Moderator @aaaccc1
              last edited by mediamogul

              @aaaccc1
              To my knowledge no. I mean, there are other ways to edit the RetroArch core control options outside of the Rgui, but it's only doing the exact same thing from an arguably more difficult location.

              Edit: Ah yes, if you are using an emulator outside of RetroArch, the mapping process would indeed be different.

              Edit 2: I'm sorry, I misread your last post... the method described will work on all SNES games inside of RetroArch provided you save a "core" remapping rather than a "game" remapping.

              RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

              1 Reply Last reply Reply Quote 0
              • A
                aaaccc1 @mediamogul
                last edited by

                @mediamogul the problem now is how to map x and select so i can push them and map the rest :P
                can i find the mame mappings and then from command line use 2 buttons to map as X and select?

                mediamogulM 1 Reply Last reply Reply Quote 0
                • mediamogulM
                  mediamogul Global Moderator @aaaccc1
                  last edited by mediamogul

                  @aaaccc1
                  Maybe I'm not understanding the issue, but remapping the core controls shouldn't have affected the hot keys. Are you saying that you can no longer raise the Rgui options menu with "start" and "x"?

                  RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    aaaccc1 @mediamogul
                    last edited by

                    @mediamogul no i will raise it with no problem, thing is that by changing the core options will not affect the mapping of mame controls?
                    Can i backup the configuration of mame/retropie first just to make sure? where does mame stores it's control mapping?

                    mediamogulM 1 Reply Last reply Reply Quote 0
                    • mediamogulM
                      mediamogul Global Moderator @aaaccc1
                      last edited by mediamogul

                      @aaaccc1

                      Remapping the core controls will not affect the the main control configs at all. Rather, it will create a new .rmp file that will be automatically loaded everytime the core is loaded. Should you ever decide to switch back, you could just return the core remapping to it's original state by changing the controls back and saving the core remapping again, or if you don't happen to remember what they, you can always just delete the remapping file altogether. At that point, RetroArch would have no remapping file to load, leaving the original control scheme in tact.

                      RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                      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.