RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Matching Mame2003-plus and FBAlpha controls

    Scheduled Pinned Locked Moved Help and Support
    mame2003-plusfbalphacontroller map
    43 Posts 6 Posters 8.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      grant2258 Banned
      last edited by

      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
      
      1 Reply Last reply Reply Quote 0
      • G
        grant2258 Banned
        last edited by grant2258

        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

        1 Reply Last reply Reply Quote 0
        • G
          grant2258 Banned
          last edited by grant2258

          ive started work on fixing the rows to be

          456
          123

          on 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

          1 Reply Last reply Reply Quote 0
          • markwkiddM
            markwkidd
            last edited by

            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?

            1 Reply Last reply Reply Quote 0
            • G
              grant2258 Banned
              last edited by grant2258

              @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

              ClydeC 1 Reply Last reply Reply Quote 0
              • markwkiddM
                markwkidd
                last edited by

                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.

                1 Reply Last reply Reply Quote 0
                • G
                  grant2258 Banned
                  last edited by

                  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.

                  1 Reply Last reply Reply Quote 0
                  • ClydeC
                    Clyde @grant2258
                    last edited by

                    @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?

                    1 Reply Last reply Reply Quote 0
                    • G
                      grant2258 Banned
                      last edited by

                      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
                      
                      ClydeC 1 Reply Last reply Reply Quote 0
                      • G
                        grant2258 Banned
                        last edited by

                        ill go through the 6 button games and have a lookskie as whats going on

                        1 Reply Last reply Reply Quote 0
                        • G
                          grant2258 Banned
                          last edited by grant2258

                          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

                          https://github.com/libretro/mame2003-plus-libretro/blob/7aec74d3109d8707a933d6178174d2afbd99d35d/src/mame2003/mame2003.c#L1895-L1959

                          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.

                          1 Reply Last reply Reply Quote 0
                          • ClydeC
                            Clyde @grant2258
                            last edited by

                            @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.

                            1 Reply Last reply Reply Quote 0
                            • G
                              grant2258 Banned
                              last edited by grant2258

                              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.

                              should enlighten you a little.

                              The way mame is setup atm we cant change maps without big code changes that i really dont feel like doing tbh

                              ClydeC 1 Reply Last reply Reply Quote 0
                              • ClydeC
                                Clyde @grant2258
                                last edited by

                                @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.

                                1 Reply Last reply Reply Quote 0
                                • G
                                  grant2258 Banned
                                  last edited by grant2258

                                  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:BUTTON10

                                  from 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.

                                  1 Reply Last reply Reply Quote 0
                                  • G
                                    grant2258 Banned
                                    last edited by

                                    @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.

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post

                                    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.