Mapping for MAME buttons
Pi Model or other hardware: 3B+
RetroPie Version Used - 4.4
Built From: Retropie from the retropie site
Power Supply used: https://www.amazon.com/gp/product/B00L88M8TE/ref=ppx_yo_dt_b_asin_title_o06_s00?ie=UTF8&psc=1
USB Devices connected: joystick and 6 button (Gamelec 2 player setup)
Controller used: see above, plus keyboard
I have the buttons set up like this: https://imgur.com/T6mMAJS
Through the guidance of several here I have a fully functional setup and ALMOST everything is working perfectly. Both gamepads (Gamelec joystick and buttons, 2 player) are working fine and mapped the same for Atari 2600, 7800, FDS, NES, SNES, and MAME. That is where the problem comes in - MAME. For some games it appears fine. Donkey, Kong, Dig Dug, Frogger, etc --- the main button used is the first button on the bottom row - button B. But for game needing more than 1 button (like any TMNT game) the second button needed appears to be the Y button (first button top row). That is an awkward reach. I know I can remap the buttons for just MAME using Retroarch from within a game. I know how to get there. Then I am lost. I am not sure what to rename or set to get these games to use B/A as button 1/2. Guidance is appreciated. Thank you!
@beezerhale If you can reach the RGUI, then you can create an input remap using it - https://retropie.org.uk/docs/RetroArch-Configuration/#core-input-remapping. Arrange your buttons as you like and then save a game (or core) remap - this will re-arrange the input without actually needing to change the global mappings.
Ok, I can definitely get into RGUI and I know how to save changes. My problem is that even after looking at the link you sent, I'm nit sure which controller/setting applies to my joystick and 6 button set up for player 1 and then player 2.
I guess my question is If the game uses B and Y and I want them next to each other are those then mapped as 1 and 2?
You can just experiment in-game with changing the mapping until you find the right combination - the settings are not saved automatically and once you find the right combination, you can save an override.
@beezerhale which MAME are you using?
@dankcushions libretro folder. Is that the question? Sorry - I know a thing or three, but only what I've learned reading here and watching ETAPrime videos. :)
@mitu I can do that. Thanks. I'll report back.
@beezerhale i'll assume lr-mame2003. to be honest i don't really know what the default layout is in 2003 anymore. i just tried to work it out via git and the files were moved rather than renamed so i can't see the full history :(
i recommend fbalpha at this point. it definitely has good defaults.
beezerhale last edited by beezerhale
@dankcushions I believe you are correct. I'll tinker with it tonight. I think I can make changes like Mitu suggested, I just wanted to see if there was a pattern to follow or if I should explore a bit. I am always cautious before I go changing anything because I have a great ability to screw things up that were previously working just fine. :)
@mitu @dankcushions Thanks again for the guidance. I just needed a nudge. I started 1942, got into Retrarch from there, remapped the buttons for MAME to be what essentially is A/X/L on top and B/Y/R on the bottom. This gave me the B/Y buttons the main use for the games I play most - 1942, TMNT, etc. while keeping the standard mapping for all the other systems.