Player 2 controller configured in EmulationStation, detected in game, but not mappable in MAME
-
@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.
-
@leitmotiv
Alright, the option within retroarch for mame2003 and mame2003plus; open the retroarch menu
quickmenu > options >>
|-...
|-Frameskip
|-Sample Rate 48000
|-Input Interface
retropad
|-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.
-
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...
-
@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. -
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.
-
@leitmotiv What does retroarch say for player 2 under
quick menu > Controls >
|-...
|-Save Game Remap File
|-Auto: User #1: Controller Register
|-***
User #2:***
'-... -
@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.
-
@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.
-
@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 -
@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.
-
@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!
-
@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 -
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.
-
@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.
-
@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.
-
Oh I see, Mame2010 is much different in the way it maps input.
additionally lr-mame2003plus and advmame do not have similar compatibility, so this is the only emulator for that romset. -
@Efriim So you're saying, it's probably not doable?
-
@leitmotiv
Well, what happens when the exlene controller is player 1. Are you able to map any of the buttons?
Maybe you could make an inference to the remaining maps in the roms\arcade\mame2010\default.cfg (default.cfg/rom.cfg)However if the inputs aren't read in the GUI mapper then it is maybe improbable that I will have a solution.
There is the advanced controller mappings which is a section from the wiki of this website. This about creating a virtual input and mapping a controller through it, it could be difficult or even problematic with your current setup. -
@Efriim When I put the Exlene controller in P1 port, it detects it just fine. When I put it back in P2 port, not at all.
It seems like the only way I'm going to get it hard mapped, is by opening up the MK.cfg file in /mame2010/cfg/ But when looking at it, I see it doesn't have much mapped for P1 controller either.
-
@leitmotiv
I think it borrows from the default.cfg and then from a core layer config, if they were done manually then it would be saved in the contents of the mk.cfg.It is strange about the controller for player two, you don't by chance have the "xboxdrv" driver installed and enabled? This will create virtual controllers and that could be the source of the player 2 discrepancies.
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.