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.4k 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.
    • J
      janderclander14
      last edited by janderclander14

      Thanks a lot for your replies. It makes more sense now.
      This was the conclusion I reached: FBAlpha adapts the layout according to the type of game/number of buttons/system (and does it right).

      After some tests, this is what I got:

      Regardless the control setting (either modern or classic), 4 button games (at least the ones I tested) are mapped in FBalpha as follows:
      3 4
      1 2

      In Mame2003-plus, the same 4 button game with "classic" setting results in the same:
      3 4
      1 2

      However, the Mame2003-plus "6 button" setting results in:
      1 2 3
      4

      And the Gamepad setting results in:
      1 2
      x x 3

      Moving to 6-button games, only the "classic" setting in FBAlpha makes sense for a 6-button arcade panel, which results in the correct mapping:
      4 5 6
      1 2 3

      Whereas in Mame2003-plus, the "classic" setting results in the weird layout
      3 4 5
      1 2 6

      Only selecting the "6-button" setting, we get the correct:
      4 5 6
      1 2 3

      So, for 4 or less button games, "classic" FBAlpha matches "classic" Mame2003-plus, whereas for 6 button games, "classic" FBAlpha matches "6-button" Mame2003-plus. (with Retropie's 6 button 2 rows arcade layout).

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

        i disagree slightly here that below is correct for arcade panel

        12
        34
        

        this is vaild for gamepads classic is a gamepad layout

        try play double dragon or double dragon 2 on this layout it wont work well

        we seperate gamepads and arcade controllers

        for gampads (gamepad and 6button(snes) are for sf2) and classic is for the rest

        for arcade panel
        6button is what you want

        (8 button panel) gamepad is fba modern suitable for fightsticks or modern controller
        8 panel is is alternative mapping for when you use other cores i use this one.

        now that all being said im quite happy to make gamepads switch layouts there is no way in hell i want my arcade panel acting like a gamepad I might as well throw it out. Im still open to ideas.

        what i would like to say is neogeo is laid out like this.

        1 2 3 4 
        
        1 2
        3 4
        

        and

        123
        4
        

        are just as avails as each other,

        i do agree on the row switch and i will do this at some point

        B 1 Reply Last reply Reply Quote 0
        • B
          barbudreadmon @grant2258
          last edited by barbudreadmon

          @grant2258 said in Matching Mame2003-plus and FBAlpha controls:

          i disagree slightly here that below is correct for arcade panel
          12
          34

          this is vaild for gamepads classic is a gamepad layout

          Actually, i looked at dozens of original cabinets while working on controls in fba :

          • 3-buttons arcade machine generally didn't have their buttons placed on a "straight line", one of the button was more or less offseted from the line formed by the 2 other, sometimes (i would say half of the ones i looked at) clearly forming a triangle
          • most 4-buttons arcade machine i looked at had their button placed as a quad.

          So, while having a mapping friendly for most case was my concern, it happened to match original cabinet layout in a lot of case.

          FBNeo developer - github - forum

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

              2 
            1   3
            

            is the usual setup for an arcade is would agree

            fba would traslate to

            3 4 x
            1 2 x
            

            plus would be

             1 2 3 
             x x x
            

            the more arcade friendly arcade mapping would be

            x 2 x
            1 x 3
            
            12
            34
            

            there is no issue thet the 1234 patter used in fba is good for gamepads

            anyway all people have different preferences

            i think

            1 2 3 
            

            or

            x 2 x
            1 x 3
            

            is more realistic for me for arcade panels for 3 buttons

            the 4 button setup varies in quads or in a row

            I am leaving this as is in mame2003 + the user can remap buttons that dont fit there preference. Mame2003 ended up a mess when you tried to force controls on people. The defaults should work for most games as it does in mame mainline.

            the use can remap there keys on games if needed im not going to enforce my preferences on them.

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

              @grant2258 said in Matching Mame2003-plus and FBAlpha controls:

              anyway all people have different preferences

              x 2 x
              1 x 3
              

              Indeed. I tend to map such games to

              1 2 3
              1 2 3
              

              or in case of Mortal Kombat, which has a single Block button in the middle,

              HP BL HK  (High Punch, BLock, High Kick)
              LP BL LK  (Low Punch, BLock, Low Kick)
              

              so it won't matter much if I hit the wrong key as long as I hit its correct horizontal position. As a bonus, guests tend to search less often for working keys. ;)

              But that's just me, I don't know if I would recommend that as default.

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

                @Clyde the problem with mk is it has 5 button as far as i can remember i could be wrong.

                i think it was like this in the arcade

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

                  i personally map my 8 button setup like this.

                  1 2 3 4
                  4 5 6
                  

                  this handles neogeo and 6 buttons out of the wrapper.

                  however it really shoud be

                  456
                  1234
                  

                  it the other way round so sf2 maps right. Ill make some change so it maps

                  456
                  123
                  

                  without changing drivers else it will end up in tears like it did for mame2003

                  1 Reply Last reply Reply Quote 0
                  • A
                    Amplifuzz
                    last edited by

                    I'm having similar issues. I have a 6 button setup, set SNES style. 6 button fighters are mapped correctly, but 3 button games in the upward triangle shape like Altered Beast and Double Dragon are not as I remember them. I checked the manuals and indeed they have punch and kick on the bottom and jump on the top, unlike the Retropie cores. Is there a catch-all setting for that?

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

                      @Amplifuzz nope there isint a catch all. teh 6 button should is 3 in a row for mame+ I personlly think

                      123
                      

                      or

                       2
                      1x3
                      

                      is acceptable

                      34
                      12
                      

                      is not acceptable on an arcade panel though for 3 button games

                      if you want the triangle youll need to map it that way. I would like to update mame at some point so we can change this unfortunately updates would be needed for this and everyone has a different idea of what is best. but i want to add code to swap the rows at some point. Problem is the controls are in a define that makes a structure instead of a structure thats editable. I might change this one day for more felxablity

                      The standard mame2003+ is set in the 8 button or 6 button for arcades so you know where every button is

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

                        @grant2258 Maybe a "6 button triangle" preset would be feasable next to "6 button"?

                        Happy new year to all of you!

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

                          @Clyde said in Matching Mame2003-plus and FBAlpha controls:

                          @grant2258 Maybe a "6 button triangle" preset would be feasable next to "6 button"?

                          Happy new year to all of you!

                          you would think so the code would need updated uses static defined maps. I do agree more flexibility is needed but the original option should remain you map the button the way they are superposed to be.

                          ie

                          123
                          XYL
                          BAR
                          456
                          

                          works for most games if you want to map a game manually for now or swap the buttons you can do it per game not like its impossible at the moment. Some people may prefare this way it is now fair. Forcing auto swaps on people isint a good thing should be optional or you end up with an arcade panel that mapped like a gamepad or the user has no idea where button 3 is when it changes from game to game.

                          Its easy enough to swap the 123 456 rows for now with ra remaps for now.
                          The code would need changed to swap this automatically because of teh way its done right now

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

                            @grant2258 I just thought that a "triangle" option next to "gamepad", "gamepad classic" etc. would be a nice addition to set 3-button games quickly to the triangle mapping. It shouldn't anger people if it's not set as default.

                            Another way would be to add an additional option that works in accord with the "6 button" preset, setting it either to "normal"

                            123
                            456
                            

                            or "triangle"

                            426
                            153
                            

                            Again, that is only an idea to speed up the setup of 3-button games to a triangle. It's not really important.

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

                              I do agree with what you are saying its just not do easy to implement in the code atm.

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

                                @grant2258 Ah, good. I wasn't sure if I did understand you correctly. :)

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

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

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

                                    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

                                    1 Reply Last reply Reply Quote 0
                                    • A
                                      Amplifuzz
                                      last edited by Amplifuzz

                                      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 3

                                      The 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__3

                                      or this:

                                      __2__2__1
                                      1__3__3

                                      In fact this setup with the aligned rows

                                      x 2 x
                                      1 x 3

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

                                      1 Reply Last reply Reply Quote 0
                                      • 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
                                            • 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.