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 @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
                                      • leitmotivL
                                        leitmotiv
                                        last edited by

                                        I see what you are saying. For some reason the blue menu version of Retroarch is accessible in systems like the NES. I pulled a game up there to see what you were talking about, and I see how it lists the PS3 controller for User 1 and USB gamepad for User 2. But in the green border version which is pulled up in Mame2010, it doesn't show this. In other parts of the settings though it recognizes it as USB gamepad.

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

                                          @leitmotiv
                                          Okay, so did you get the tab menu in mame2003 to open? When I scroll through it it has the input automatically mapped through retroarch, so if the control works in retroarch it should work work here too. I'm using the UDEV input and joypad for Retroarch Settings Drivers, I don't think the others worked here.

                                          Configuring the Controller Inputs in EmulationStation, by pressing start could be an important process. This is done for each different controller separately, and many emulators including retroarch are automatically configured through this.

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

                                            @Efriim yeah 2003 tab key now works. 2010 tab opens too, but does not detect P2 remaps. That's the remaining problem.

                                            The P2 controller is detected for the User 2 binding remaps in retroarch... but I can't use it to navigate retroarch. The P2 controller is detected in game, but the controls are all messed up for MK which is why I'm having to resort to MAME remapping, but it's not detected in MAME. Only PS3 for P1 controls is detected.

                                            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.