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

    Player 2 controller configured in EmulationStation, detected in game, but not mappable in MAME

    Scheduled Pinned Locked Moved Help and Support
    mamep2 controlsremapconfigurecontroller
    45 Posts 2 Posters 7.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.
    • EfriimE
      Efriim @leitmotiv
      last edited by

      @leitmotiv
      Nevermind about the R, it is there because of the Sony Registered trademark.

      leitmotivL 1 Reply Last reply Reply Quote 0
      • leitmotivL
        leitmotiv @Efriim
        last edited by

        @Efriim It seems that Crackdown, a game using just AdvMAME (as opposed to AdvMame .94), is running fairly smoothly. I have no problems getting the right d-pad working. Though in the past with AdvMAME it was an issue with the Up D-pad.

        .94 just seems problematic.

        EfriimE 1 Reply Last reply Reply Quote 0
        • EfriimE
          Efriim @leitmotiv
          last edited by

          @leitmotiv
          Yeah I know I hadthe same issue with just the dpad-up, it was either the playstation3 controller driver or the SDL mapping. I mapped cancel to both home and R3 buttons. I didn't map button 4 or the other for some reason.

          EfriimE 1 Reply Last reply Reply Quote 0
          • EfriimE
            Efriim @Efriim
            last edited by

            The exlene controller might use axis for the dpad, but it should still be able to be mapped. Or were you able to map everything in Advmame 3.9?

            leitmotivL 1 Reply Last reply Reply Quote 0
            • leitmotivL
              leitmotiv @Efriim
              last edited by leitmotiv

              @Efriim I was able to map everything, except a couple problem games that probably have nothing to do with AdvMAME. Metal Hawk's controls were messed up. There was one other, but not much of a loss.

              It's so hot here right now, I can't tackle any more problems at the moment! I will have to tackle the 2003 not recognizing the tab button later. Thanks for your help! Much appreciated!

              Oh and yeah, I think the Exlene does use -y +y, -x +x.

              EfriimE 1 Reply Last reply Reply Quote 0
              • EfriimE
                Efriim @leitmotiv
                last edited by

                @leitmotiv
                Its super hot here too, especially in my room. Temperate rainforest.

                leitmotivL 1 Reply Last reply Reply Quote 0
                • leitmotivL
                  leitmotiv @Efriim
                  last edited by leitmotiv

                  @Efriim Okay trying to tackle the Mame2003/2010 tab key thing.

                  I've been trying to regain access to the Mame2003 tab key by renaming the default.cfg. I used to be able to do this in /home/pi/retropie/roms/mame-libretro/mame2003/cfg but since I've consolidated everything to the Arcade folder like it should have originally been done a long time ago, going into /roms/arcade/mame2003/cfg and renaming the default.cfg there doesn't work like it used to.

                  1. Am I accessing the correct default.cfg to rename to regain tab key access to Mame2003? Or is this another issue?

                  2. How am I able to get Mame2010 to detect input on P2 controller? And will this be an issue with Mame2003 too?

                  The files at /opt/retropie/configs/arcade/Mame2003/ show only .rmp files. No .cfgs.

                  EfriimE 2 Replies Last reply Reply Quote 0
                  • EfriimE
                    Efriim @leitmotiv
                    last edited by Efriim

                    @leitmotiv
                    The configuration is shared for retroarch, the default config can readily be accessed by launching Retroarch(default) from the RP tab in Emulationstation or accessing the file at /opt/retropie/configs/all/retroarch.cfg.
                    The overrides for mame-libretro could be saved a few places, maybe it depends on if the arcade folder is being used the folders for override config that I know of would be:
                    configs\all\retroarch\~mame2010
                    configs\arcade
                    configs\mame-libretro\

                    It is possible that the menu is not accessible in the lr-mame2003 but available in the lr-mame2010, I'll try to find this too. I guess it does save some internal settings
                    roms\arcade\mame2003\cfg\

                    leitmotivL 1 Reply Last reply Reply Quote 0
                    • leitmotivL
                      leitmotiv @Efriim
                      last edited by

                      @Efriim Your first path there, mine doesn't have /opt/configs/all... it has opt/retropie/configs/all/retroarch.cfg. Is that the one you are talking about? The retroarch.cfg file there doesn't have a default.cfg within for me to alter. What would I alter to gain access to the tab key? Before I would backup my default.cfg in the mame2003 folder, rename it to default.old, immediately gain access to the tab key, remap some games, and then restore the default.old to default.cfg.

                      1 Reply Last reply Reply Quote 0
                      • EfriimE
                        Efriim @leitmotiv
                        last edited by Efriim

                        @leitmotiv
                        Alright, the option within retroarch for mame2003 and mame2003plus; open the retroarch menu
                        quickmenu > options >>
                        |-...
                        |-Frameskip
                        |-Sample Rate 48000
                        |-Input Interfaceretropad
                        |-Legacy Remapping
                        '-...

                        Change the Input interface to simultaneous

                        mame2000 doesn't have this option but the keyboard seems to work nonetheless. I think it uses the F1 key instead, the rom settings are F5 or F6 but this seemed to freeze the cabinet on me; being lr-mame2000.

                        lr-mame2010 was similar in the keyboard is always simultaneous. Though the cabinet setting (F2) don't freeze; and uses the Tab key again like mame2003.

                        1 Reply Last reply Reply Quote 0
                        • leitmotivL
                          leitmotiv
                          last edited by leitmotiv

                          I see that my settings are already set to simultaneous.

                          This is so bizarre. I've been trying to tab key access the controls for MKII using 2003 by changing the default.cfg to default.old. It wouldn't work on several occasions. Then I restarted, and now it decides to work... Currently 2003 detects the P2 controller, so that's good.

                          But 2010 does not detect P2 controller...

                          EfriimE 2 Replies Last reply Reply Quote 0
                          • EfriimE
                            Efriim @leitmotiv
                            last edited by

                            @leitmotiv
                            Yes, I think if the Tab key was mis-mapped then there are no other ways to open the menu, deleting the default.cfg at roms\arcade\mame20**\cfg\ would reset it. The first time the game is opened it would reenumerate the settings, and then maybe the second time it would load them and work.

                            leitmotivL 1 Reply Last reply Reply Quote 0
                            • leitmotivL
                              leitmotiv
                              last edited by leitmotiv

                              I don't know... I reloaded several different games in 2003 and hit tab, no dice. So far 2003 is working since the restart.

                              lemme check 2010 now.

                              1 Reply Last reply Reply Quote 0
                              • EfriimE
                                Efriim @leitmotiv
                                last edited by

                                @leitmotiv What does retroarch say for player 2 under
                                quick menu > Controls >
                                |-...
                                |-Save Game Remap File
                                |-Auto: User #1: Controller Register
                                |- *** User #2: ***
                                '-...

                                leitmotivL 1 Reply Last reply Reply Quote 0
                                • leitmotivL
                                  leitmotiv @Efriim
                                  last edited by

                                  @Efriim okay, so the Tab key was never a problem with 2010. But it recognizing P2 inputs with the Exlene is. It can detect mapping with P1 though.

                                  1 Reply Last reply Reply Quote 0
                                  • leitmotivL
                                    leitmotiv @Efriim
                                    last edited by leitmotiv

                                    @Efriim Okay, so my version of Retroarch isn't the blue motif one (the newest one), it's what I presume is the previous version with a green border. Not sure about the version number. And I'm very reluctant to update since that tends to break things.

                                    I don't see an input for Controller Register for User 2 just below Save Game Remap File.

                                    EfriimE 1 Reply Last reply Reply Quote 0
                                    • EfriimE
                                      Efriim @leitmotiv
                                      last edited by

                                      @leitmotiv
                                      The blue motif is an asset and menu driver, included since at least a year ago. To change it in retroarch go to settings >> Drivers >> Menu >> xmb; or keep the original rgui look.

                                      So the User2 was N/A?

                                      Sorry if I don't remember, have you configured the input with this controller in emulationstation?

                                      And then back to retroarch
                                      Settings >> Input > Max Users :: 2-5
                                      Settings >> Input > User 2 Binds > User 2 Device Index :: Enabled

                                      leitmotivL 2 Replies Last reply Reply Quote 0
                                      • leitmotivL
                                        leitmotiv @Efriim
                                        last edited by leitmotiv

                                        @Efriim There was no field input as you described. So it wasn't N/A or anything because it wasn't listed as an entry. There wasn't a User 1 Controller Register either.

                                        yeah Exlene is configured with Emulationstation. I can get it to work in everything now (AdvMAME, Snes, NegoGeo, mame2003) but not Mame2010.

                                        I see that Max Users is set to 5. User 2 Binds for Device Index is listed as USB Gamepad already, but not disabled.

                                        Retroarch can detect mappings in the User 2 settings for P2. I've mapped Coin and Start.

                                        EfriimE 1 Reply Last reply Reply Quote 0
                                        • leitmotivL
                                          leitmotiv @Efriim
                                          last edited by

                                          @Efriim Let me clarify. The controller works in 2010 games. But it won't map in the MAME interface. It's just not detected there. Which is a problem for games like MK where the control bindings are all messed up in retroarch and are missing half of the moves!

                                          1 Reply Last reply Reply Quote 0
                                          • EfriimE
                                            Efriim @leitmotiv
                                            last edited by

                                            @leitmotiv
                                            Oh controller register was taken lighter the subscript that lists the Controller input name register handler thing: Should just use an example. Sony Playstation (R) 3 Controller

                                            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.