Main > Raspberry Pi & Dev Board

Mapping two buttons to the same function?

<< < (3/3)

javeryh:

--- Quote from: mahuti on January 04, 2021, 05:58:37 pm ---Using Emulation Station you can't do what you want. You can't map 2 buttons to the same thing. Can't even hard code it in a config file and make it work. I have a love/hate relationship with Retropie/Retroarch because of this... I think its a terrible design decision that I've never understood. Retroarch and Retropie are targeted towards off the shelf gamepads, not cabinets. Its a very rigid, system compared to the mappability of MAME, and just doesn't allow mixing and duplicating controls.

If using MAME you can remap like you normally would As long as you have RA set to allow the use of the MAME config tab. This only works for specific versions of Libretro MAME by the way.

If using other emulators you are likely out of luck going the software route. Hardware would be a better way to go.

That said, I'd tend to go the hardware route for flipper buttons anyway.

--- End quote ---

This annoys me to death too.  So what do people do when they are playing something like Punch-Out! for NES?  The Start button is the Star Punch and the admin buttons are usually on the front of the cabinet or wherever - not easily accessible during a game where timing matters... I guess they just suffer through it? 

It's so stupid that if you have a 6 button layout you can't remap Start and Select to any one of the FOUR unused buttons.

mahuti:

--- Quote ---So what do people do when they are playing something like Punch-Out! for NES?
--- End quote ---

For me... I just gave up on having console systems on an arcade machine. I figure I'll just have to suffer through only having 300 arcade games to play on the cabinet.

I ended up making a console system on the TV as well, and RA works fine for the gamepad. Since TVs are freaking enormous these days anyway, I can just wrap the console output in a TV overlay with a warped tv screen shader and get the full retro console experience.

javeryh:

--- Quote from: mahuti on February 05, 2021, 06:17:15 pm ---
--- Quote ---So what do people do when they are playing something like Punch-Out! for NES?
--- End quote ---

For me... I just gave up on having console systems on an arcade machine. I figure I'll just have to suffer through only having 300 arcade games to play on the cabinet.

I ended up making a console system on the TV as well, and RA works fine for the gamepad. Since TVs are freaking enormous these days anyway, I can just wrap the console output in a TV overlay with a warped tv screen shader and get the full retro console experience.

--- End quote ---
You and me both.  Console games just don’t work in an arcade cabinet for the most part.


Sent from my iPad using Tapatalk

javeryh:
So I was able to easily solve my issue of mapping same function to two different buttons...  I don't know why I didn't figure this out earlier.  I'll use my Punch-Out!! (NES) example.  My bartop has a joystick and 6 buttons in curved SF layout with 4 admin buttons on the front of the CP and not easily accessed during gameplay. 

My initial setup was this ("*" is a button that is not used):

* * *
B A *

And on the front panel it was this:

* --- Select - Start --- *

So to play Punch-Out!! properly, I'd have to hit the Start button on the front if the CP for a Star Punch.  Not ideal.  To fix this, whil the ROM is running hit your hotkey (Select in my case) and whatever button is mapped to "X" (this is the middle button on my top row).  This opens Retroarch in the game.  Scroll down to "Controls" and then scroll down to where the buttons are assigned and moving left or right I changed button "2" (third button on my bottom row) to "Start"  so now there were two buttons that are assigned to "Start".  Once that is done, go up and select "Save Game Remap File" (or "Save Core Remap File" is you want to apply this change to ALL games in the emulator).  Exit back out to the game and you will see your new control layout works.

I tested the Star Punch with the original Start button on the front of the CP and the remapped Start button that is now the third button on the bottom row and BOTH performed as expected.  So now for Punch-Out!! the controls are:

* * *
B A Start

And on the front panel it remains this:

* --- Select - Start --- *

Easy!  Now I can go through and make this change to other NES games that utilized the Start button like Zelda, etc.  I should note that I could not figure this out with an iPAC2 as my encoder but I switched to a Zero Delay (gamepad) encoder and it works great. 

Navigation

[0] Message Index

[*] Previous page

Go to full version