Player 2 controller configured in EmulationStation, detected in game, but not mappable in MAME
-
@leitmotiv
Sorry for the shoddy directions, I tried it and it was just as you say. I switched back to the old driver and it was the same. I wasn't able to map directional buttons at all.
But changing advmame.rc:
device_joystick raw
I was able to map the to map the directions and everything else on the controller using the 'Tab' Gui. The tricky part is getting rid of all the game specific mappings; I edited advmame.rc manually for that, CTRL+K cuts a line out; those will override if they are not removed.
I think then with raw maps on the ps3 controller you should also be able to map the exlene without any problems. -
@Efriim Oh no worries about the directions. I was also up late and tired, so had to stop somewhere.
Here's where I'm at right now:
-
I've edited the AdvMame .94 .rc file for device_joystick to raw, but when I restart it keeps setting it back to sdl, even though I've saved. Strangely, the input for the PS3 controller for the right d-pad button is sticking in the .rc file, but in the AdvMAME config menu it still shows defaulted to "J:button13" when it should be "J2:button13" like the other remaps.
-
Home button on PS3 controller is not working in AdvMAME.
-
The Exlene controller now maps in AdvMAME in the config for P2 controls, but it assigns it to just "J:button 13" (as an example), which is the default for P1. P1 controller (PS3) maps as "J2:button 14" (as an example), but is defaulted as "J:button 14". I am guessing the home button probably doesn't work either but I haven't checked.
-
The above issues are with AdvMAME. The original problem of P2 controls not mapping for the Exlene in Mortal Kombat is still present. It is running on MAME2010 and for MKII on MAME2003. I used to be able to at least use P2 controller and insert a quarter, but now it doesn't even do that. I don't know what I did that could have possibly changed anything.
4.b I now discovered I can't use the Tab button in MAME2010 games to open up config. So I'm locked out for some reason.
Any ideas?
-
-
-
advmame.rc. If you were editing side by side when advmame closes it overwrites the cfg. You could compare my working config, buttons mapped as raw look like: (DS3; sixaxis driver)
input_map[start1] keyboard[0,1] or joystick_button[sony_playstationr3_controller,button10]
input_map[coin1] keyboard[0,5] or joystick_button[sony_playstationr3_controller,button9]
https://drive.google.com/open?id=1dIGyAfHdohlTb4VzbVXfIjO9deSmMBYn -
PS3 Home. I don't think this would be specific to AdvMame .94, and right now I don't know if I was able to map home as SDL, got to get raw input somehow.
-
Exlene Controller. Probably either above or below. Also be aware that the general inputs I think will save as game-specific anyway.
-
Mame2010 I think is a libretro core, those are easier to map and automatically set-up. You could need to Configure Input in emulationstation menu. Or there is something up with the config or override located at \configs\all\retroarch.cfg and \configs\all\retroarch\config~mame2010.
Backing up the config, and deleting it (renaming) will enumerate a new config next time you start retroarch, you could see if the controls work then.
4b. To reset options within retroarch, settings/input, pressing the 'start' button on a highlighted option will reset it to default. There are also some options to reset controls to default, however this isn't always what you want, sometimes the player1 device index needs to be changed. You will be able to have both keys and joystick for player 1 though, usually by default, the configuration just needs to be worked out.
Is the exelene controller wired only?
Also if editing the config in windows, be sure to use a notepad+ or better. -
-
-
yeah that might have been what was going on... so far the changes are now sticking to "raw"
-
I was able to go into UI cancel and set it to select+start....
yeah the Exlene controller is wired. And I use notepad++.
So I copy/pasta'd your PS3 controller setup, or at least some of it. Just the P1 controls and the UI cancel. Tried to boot the game, and now the game won't boot. Realized I had two UI cancels (yours and my previous), so I deleted my previous one. Still no boot.
-
-
@Efriim Now I tried just copying your whole .rc file and replaced mine. Still no boot....
-
@leitmotiv wait which PS3 driver are you using now?
-
@Efriim sixaxis
-
@leitmotiv
I'm using the sixaxis too.
if the controls are wrong, then it will refuse to start. I tried downloading and copying it and it worked. Are we editing and using the same advmame, I think I updated mine recently just recently for this Advmame 3.9, config file at \configs\mame-advmame\advmame.rcIt could and probably is anything wrong with the input
I notice mine is
sony_playstationr3 where there is an 'r' and I don't know why. There are numerous PS3 controller revisions however.Could try without the keyboard mapping.
If you sync the controller into emulation. While the emulator is already started, it won't take the input. The controller has to be synced when emulation starts, now I don't know if this applies if it is set to SDL map, which makes me want to use the retroarch emulators more.
-
well I'm using .94 for Exvania... so that could be the discrepancy
-
@leitmotiv
Nevermind about the R, it is there because of the Sony Registered trademark. -
@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.
-
@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. -
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?
-
@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.
-
@leitmotiv
Its super hot here too, especially in my room. Temperate rainforest. -
@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.
-
Am I accessing the correct default.cfg to rename to regain tab key access to Mame2003? Or is this another issue?
-
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.
-
-
@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\ -
@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...
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.