Matching Mame2003-plus and FBAlpha controls
-
@grant2258 I like the current presets very much, by the way. The "gamepad classic" works for me for my upright cabinet's six buttons in most 1-3 button games perfectly, because I like to have button 1+2 on the lower left, whereas the "6 button" preset makes setting up Street Fighter type games very quick and easy.
-
to be honest mame would be so much easier to setup it we used it natively instead of trying to interface it into RA. FBA doesnt have this issue because is has no internal remapping at all like mame does.
It feels to me at times we are limiting mame due to the way RA controls work and to integrate them into RA. Marks done a good job of meeting half way but RA has no where near the flexibility that mame tab menu has. The problem is if we remap in mame it will mess with the ra side of controls so what do you do just limit it thats all you can do atm
-
Here's my proposal for the "6 button triangle" layout: 3 button games on snes layouts should auto-snap to something like this:
2 2 1
1 3 3The rationale is that on a lot of arcade cabinets the top and bottom rows are offset from each other, sometimes to the left, other times to the right and this layout accomodates all setups regardless of the slant.
like this:
2__2__1
__1__3__3or this:
__2__2__1
1__3__3In fact this setup with the aligned rows
x 2 x
1 x 3is indeed suboptimal and way different from the arcade experience, because the triangle is way too spaced. Having offset rows with this layout allows for a truer "arcade triangle" vibe. It would also work great on modern ergonomic curved layouts.
What do you guys think?
-
well this is my take on it
123
aligns close enough to play a game
as far as i know fba is doing a below i could be wrong for 1 - 4 buttons
34 12
-
the problem with the triangle is everyone sets there buttons up differently with spacing ect that why 3 in a row works
personally my buttons are shaped like your fingers for comfort like here
https://github.com/grant2258/mame2003-plus-libretro/blob/master/metadata/wipcontrols/10PANEL.png
-
ive started work on fixing the rows to be
456
123on the mappings this is something that need to be done for a while and it comes up in every conversation.
Ive updated the diagrams and the actual maps. I just need to fix the sf2 to map like it should to the jamma standard so punches and kicks are in the right rows.
Once this is done ill put a pull request in. I wont be mapping arcade panels like gamepad for 1 to 4 buttons the maps we will have will be like this.
https://github.com/grant2258/mame2003-plus-libretro/tree/input_fix/metadata/wipcontrols
ill give you a shout when this is complete should get it done today hopefully
-
It seems like my dream of synchronized control layouts between MAME 2003-Plus and FB Alpha was never going to be possible. It was a beautiful dream.
Now that I know it is impossible to have 1:1 symmetry with FB Alpha, I find myself revisiting which of the MAME 2003-Plus layouts should be set as the default. (Grant has been mentioning this in the past but I have been holding onto the impossible dream.)
The RetroPad is an abstraction modeled on the SNES layout and the DualShock layout. Is the current MAME 2003-Plus default layout of "Gamepad" an appropriate choice for a DualShock-style gamepad?
-
@markwkidd nothing major is changing for us in all honesty basically an arcade panel should be like this.
456 123
we mapped
123 456
to get the correct mapping for sf2 all ive done is change the mapping to what it should be and ill update the sf2 to map right to the jamma standard.
This is all transparent to the user the physical mapping is still the same. Its just the rows will match up right when im done.
The good news is out physical mappings are the same as fba.
An arcade panel shouldnt be changing shape like a controller if you want that familiar 4 quad shape pick the the gamepad classic profile for 1 - 4 player games .
if you want an arcade panel use which ever one of the 3 that suits your setup
-
Thanks, that's helpful and I greatly appreciate the diagrams you've made.
It does seem like "Classic" is a little more suitable to the PSX/SNES type gamepad (ie the RetroPad abstraction), so maybe that should be the default for the core and then folks with arcade controls can use the diagrams to pick their layout.
-
agree classic should be the default have said that for a while. I need to test these layouts and do the sf2 updates not pushing any of this without testing.
basically as far as gamepads go.
gamepad (modern on alpha) is a sf2 fight stick layout that works on a modern controller is ok for sf2 on a gamepad pretty much useless for anything else
classic is what you want for games in general for a modern controller.
again 6 button is the snes pad layout for sf2 pretty much only useful for you guessed it sf2.
-
@grant2258 said in Matching Mame2003-plus and FBAlpha controls:
to get the correct mapping for sf2 all ive done is change the mapping to what it should be and ill update the sf2 to map right to the jamma standard.
Please excuse the question if I misunderstand something: What about the other SF-type games other than SF2? Wouldn't that break their button layout?
That said, I appreciate the change, because if I do understand it correctly, it will put button 1-3 on the lower row of the typical 6-button grid, which I prefer in general.
May I ask if there are plans to include a diagram for Gamepad Classic in your repo?
-
what other 6 button games are you referring too? This is only cps 6 button games that are mapped wrong against jamma specs afaik. Classic is not an arcade diagram there is no need to include a diagram for it would cause confusion. Ill need to finish these updates tomorrow hopefully.
ill give you a list here for it though.
JOYPAD_B: BUTTON1 JOYPAD_Y: BUTTON3 JOYPAD_X: BUTTON4 JOYPAD_A: BUTTON2 JOYPAD_L: BUTTON5 JOYPAD_R: BUTTON6 JOYPAD_L2:BUTTON7 JOYPAD_R2:BUTTON8 JOYPAD_L3:BUTTON9 JOYPAD_R3:BUTTON10
-
ill go through the 6 button games and have a lookskie as whats going on
-
Well The thing is jamma officially only supports 2 players and 3 buttons. This is the standard. The extra buttons are handled through a kick panel.
If you plug double dragon into a sf2 can the buttons will be at the top because that is the way the jamma buttons are mapped in the on the control panel.
technically speaking the fix is pretty easy for this is easy as far as mame is concerned.
if a game is 1 - 3 buttons use the bottom row
when a game is more than 3 buttons you need to apply a kick harness type emulation to the arcade panel to set it to your button layout.
lets say for argument sake you setup to a standard physical setup for the panel so all your 1 - 3 button games use .
456 123
all 1 - 3 buttons would need no processing.
But for sf2 you would need to say look the rows are wrong compared to your physical setup on the sf2 arcade machine. On our panel the 123 buttons are at bottom (jamma standard) and on the sf2 machine they are at the top. so you would need to swap the rows for sf2.
This is perfectly acceptable to change on an arcade panel and is doable the problem mame can handle this with controller files based on your layout or cusomizing inputs on gamename.
The problem is if you do this it wont map nice with RA function of what this button does mark added. We can add rules for arcade panels in ra itself per game when needed but the input code would need re written because its in a define instead of a structure that we cant change I never undserstood why it was done this way.
@markwkidd here is an example of what we could do
but since you want ra to handle the input instead of the mame internal system we cant use this because the information would be wrong in the input needles.
-
@grant2258 said in Matching Mame2003-plus and FBAlpha controls:
what other 6 button games are you referring too?
Mainly all the other SF games, I'll have to check how non-SF fighting games with six button do behave with the different button presets.
The thing that confuses me is that you keep mentioning only SF2 and no other SF or other 6-button games. Is it really only an issue with this part of the SF series?
Classic is not an arcade diagram there is no need to include a diagram for it would cause confusion.
At the moment, I am confused. :) In what way is Gamepad Classic different from the other diagrams that makes it not a diagram?
ill give you a list here for it though.
Thanks, I'll look into it when I'm back home.
And also thanks for your detailed Jamma explanations.
-
classic is a controller only ie xbox360 psx orsome other modern controller.
the other layouts are for 6 button games/ arcade panels.
Also as far as sf2 goes its because modern is xbox fight stick layout for sf2 . Once you understand what jamma is and how you add extra buttons its easy to understand.
The way mame is setup atm we cant change maps without big code changes that i really dont feel like doing tbh
-
@grant2258 I watched that video, but it doesn't explain why Classic doesn't have a mapping diagram in
https://github.com/grant2258/mame2003-plus-libretro/blob/input_fix/metadata/wipcontrols/
.Classic might represent a handheld controller, but if you use it with an 8-button layout like the one on your
controller.png
it still maps to those 8 buttons in a specifiy way like all the other diagrams. So, why not make a png that shows that mapping?And why do you mention only SF2 and never the other SF titles?
By the way, can it be that the addition of a new "Flightstick" layout shifted the other layouts after Classic one place backwards? Because I updated mame2003-plus today and now all my Street Fighter games are set to 8-button instead of 6-button like I remember setting them before. If so, it would be better if future additions won't change existing layout choices.
-
I havent done any updates mark made the classic the default choice. As far as i know he didnt change any mapping you would need to ask him the specifics. If he did change the mapping offsets im sure it wasnt intentional.
There is no new mappings fighstick was just called gamepad before
all cps sf2+ have the same mapping no need to mention them all.
Classic is not an arcade panel ive said this many times. you can map it yourself you have the info above for it. how it maps out depends how you map your arcade buttons.
JOYPAD_B: BUTTON1
JOYPAD_Y: BUTTON3
JOYPAD_X: BUTTON4
JOYPAD_A: BUTTON2
JOYPAD_L: BUTTON5
JOYPAD_R: BUTTON6
JOYPAD_L2:BUTTON7
JOYPAD_R2:BUTTON8
JOYPAD_L3:BUTTON9
JOYPAD_R3:BUTTON10from the info i have gave you for classic above
345 yxl bar 126
for this to work as an arcade panel you would need to map it as
bay xlr or xlr bay
which would make using other ra cores unusable thats why there is no map for it in arcade panels. It also why I said earlier we wont be mapping out arcade panels to a gamepad just pick classic if you want to do this.
-
@clyde i just tested marks update it does appear the offsets are wrong now for what you choose im sure mar will fix it soon enough.
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.