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

    RPI 4.2 Mame 2003 SF2 button mapping changed?

    Scheduled Pinned Locked Moved Help and Support
    mamesf2mame2003
    20 Posts 5 Posters 6.5k 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.
    • D
      dsstrainer
      last edited by dsstrainer

      I'm going crazy here. Using a Raspberry Pi 3.

      On my Rpi 4.0.2 machine I use lr-mame2003 for all arcade games.
      In my 4.0.2 image, for Street Fighter 2 (TWW), I have the top 3 buttons as LP, MP, HP and bottom 3 buttons as LK, MK, HK. In the mame2003 input menu this maps out as 123 an 456 as expected. This was all automatic.. I didn't have to set anything that I recall.

      I created a new image for 4.2 and using all the same configuration settings.. I have the exact same cfg and the mame2003 input menu shows the buttons are mapped exactly the same... But they do not match the correct punch or kick button.
      Instead it ends of being Top as MK, LP, HP
      and bottom as LK, MP, HK

      I cannot figure out why that would be different for the life of me. I even copied the default.cfg file from my 4.0.2 to no avail. I would not have expected a 2003 emulator base to have changed at all, at least not at that level. But perhaps someone knows of some sort of change?

      • I've made sure there are no override retroarch.cfg files
      • i've blown away the default.cfg and sf2.cfg files in mame2003
      • All other systems work as expected and all other games seem to be fine in arcade. It's just sf2

      My last option is to attempt to remap things just for sf2 but I'm 99% sure I didn't have to do that before because the menu seems so foreign to me.

      Any thoughts?

      RetroPie v4.2 • RPi3 Model B • 5.1V 2.5A PSU • 8GB SanDisk class 10 microSD • 16GB External USB Thumb Drive
      Roms, images and configs stored in USB and symlinked from normal microsd location
      Xarcade Keyboard encoder + Zero Delay Joystick encoder

      1 Reply Last reply Reply Quote 0
      • M
        morpie
        last edited by

        Not sure if same, but my updated build now has an issue with Gunsmoke. The buttons shifted away from the original config it had before updating all my software. I did not change anything.

        They're both Capcom games... Dunno if that means anything. I've not got any others I can check... I think 1942 is A-OK but I can't definitively say for sure... With Gunsmoke it's obvious due to how they work in that game.

        1 Reply Last reply Reply Quote 0
        • dankcushionsD
          dankcushions Global Moderator
          last edited by dankcushions

          yes it was changed a while ago for all CPS1 games. now it as basically as street fighter 2 is on the SNES, which is the received 'correct' gamepad layout:

          Y = Light Punch
          X = Med Punch
          R = Fierce Punch

          B = Light Kick
          A = Med Kick
          L = Fierce Kick

          so, to match it with the arcade layout, if you have a 6 button layout, you'd want the top row to be Y, X, R, and the bottom row to be B, A, L

          S D 2 Replies Last reply Reply Quote 0
          • SanoS
            Sano
            last edited by Sano

            I had to change the mame2003 core layout because of this.

            I configured my controllers as follow through ES :

            Y X
            B A
            

            And in mame2003 the 2 button games used B and Y instead of A and B...
            No problem with FBalpha BTW.

            I suppose the default layout of mame2003 is something like

            B Y
            A X
            
            dankcushionsD 1 Reply Last reply Reply Quote 0
            • dankcushionsD
              dankcushions Global Moderator @Sano
              last edited by

              @Sano said in RPI 4.2 Mame 2003 SF2 button mapping changed?:

              I had to change the mame2003 core layout because of this.

              I configured my controllers as follow through ES :

              Y X
              B A
              

              And in mame2003 the 2 button games used B and Y instead of A and B...
              No problem with FBalpha BTW.

              I suppose the default layout of mame2003 is something like

              B Y
              A X
              

              you must be using an older version of mame2003? it was changed in september 2016 and is now the same as fba in this regard.

              SanoS 1 Reply Last reply Reply Quote 1
              • S
                StuMcBill
                last edited by StuMcBill

                Question kinda related to this.

                I've got a USB Sega Saturn controller (6-button A-B-C / X-Y-Z layout), that I would like to configure in lr-mame2003 as LP-MP-HP / LK-MK-HK.

                I run X-Men Vs Street Fighter (for example), pause the game by pressing P on my keyboard, Tab into MAME menu, but my joypad doesn't respond in this menu, so I can't configure the buttons? Any ideas?

                Edit - actually, it responds in the menu, but when I actually try and change a button, it doesn't do anything?

                Stewart

                dankcushionsD 1 Reply Last reply Reply Quote 0
                • dankcushionsD
                  dankcushions Global Moderator @StuMcBill
                  last edited by

                  @StuMcBill said in RPI 4.2 Mame 2003 SF2 button mapping changed?:

                  Question kinda related to this.

                  I've got a USB Sega Saturn controller (6-button A-B-C / X-Y-Z layout), that I would like to configure in lr-mame2003 as LP-MP-HP / LK-MK-HK.

                  I run X-Men Vs Street Fighter (for example), pause the game by pressing P on my keyboard, Tab into MAME menu, but my joypad doesn't respond in this menu, so I can't configure the buttons? Any ideas?

                  Stewart

                  are you sure you're running lr-mame2003? by default in the menu A and B should be confirm and cancel, respectively. the joypad directions might not be working for another reason, but one step at a time :)

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    StuMcBill @dankcushions
                    last edited by

                    @dankcushions Ah, I have just tried again, it just seems to take a while to respond, but it seems to be working!!

                    I'll report back.

                    Thanks,
                    Stewart

                    1 Reply Last reply Reply Quote 0
                    • S
                      StuMcBill
                      last edited by StuMcBill

                      Seems to be working, now I just need to figure out which buttons in mame correspond to punches and kicks.

                      I'm not looking forward ti doing Mortal Kombat! :)

                      This is doing my head in!! Ha ha. Does anyone have a list of what Buttons 1-6 in MAME correspond to in Punches and Kicks?

                      I'm guessing that this is the same problem now that the OP is seeing?

                      dankcushionsD 1 Reply Last reply Reply Quote 0
                      • dankcushionsD
                        dankcushions Global Moderator @StuMcBill
                        last edited by

                        @StuMcBill for street fighter i explained the layout above.

                        i don't believe there is a problem with the button layouts in mame2003 for sf2, unless you'd configured your controller to last years version (that version definitely had a problem)

                        mortal kombat - i don't know... i'd have to experiment.

                        1 Reply Last reply Reply Quote 0
                        • SanoS
                          Sano @dankcushions
                          last edited by

                          @dankcushions said in RPI 4.2 Mame 2003 SF2 button mapping changed?:

                          you must be using an older version of mame2003? it was changed in september 2016 and is now the same as fba in this regard.

                          I do a full update every week or so, but as I have a core remap file, I certainly would have missed the change anyway.
                          I installed my setup last december, and this mapping was still there though.
                          I'll test to remove the core remap to verify this. :)

                          1 Reply Last reply Reply Quote 0
                          • S
                            StuMcBill @dankcushions
                            last edited by

                            @dankcushions said in RPI 4.2 Mame 2003 SF2 button mapping changed?:

                            yes it was changed a while ago for all CPS1 games. now it as basically as street fighter 2 is on the SNES, which is the received 'correct' gamepad layout:

                            Y = Light Punch
                            X = Med Punch
                            R = Fierce Punch

                            B = Light Kick
                            A = Med Kick
                            L = Fierce Kick

                            so, to match it with the arcade layout, if you have a 6 button layout, you'd want the top row to be Y, X, R, and the bottom row to be B, A, L

                            I guess you mean this? I understand what you mean, but in MAME, does P1 Button 1 correspond to Light Punch/Kick? Medium Punch/Kick or Fierce Punch/Kick? And button 2-6 etc?

                            I'm maybe totally misunderstanding the procedure?

                            dankcushionsD 1 Reply Last reply Reply Quote 0
                            • dankcushionsD
                              dankcushions Global Moderator @StuMcBill
                              last edited by

                              @StuMcBill said in RPI 4.2 Mame 2003 SF2 button mapping changed?:

                              @dankcushions said in RPI 4.2 Mame 2003 SF2 button mapping changed?:

                              yes it was changed a while ago for all CPS1 games. now it as basically as street fighter 2 is on the SNES, which is the received 'correct' gamepad layout:

                              Y = Light Punch
                              X = Med Punch
                              R = Fierce Punch

                              B = Light Kick
                              A = Med Kick
                              L = Fierce Kick

                              so, to match it with the arcade layout, if you have a 6 button layout, you'd want the top row to be Y, X, R, and the bottom row to be B, A, L

                              I guess you mean this? I understand what you mean, but in MAME, does P1 Button 1 correspond to Light Punch/Kick? Medium Punch/Kick or Fierce Punch/Kick? And button 2-6 etc?

                              I'm maybe totally misunderstanding the procedure?

                              when you bind your pad for the first time in emulationstation, you can make sure that the layout corresponds to
                              Y X R
                              B A L

                              however, with your 6 button megadrive controller, that would mean B and A are swapped, which might not be what you want in other systems.

                              if you rebind specifically in mame, i would suggest rather than reconfigure every game in the mame menu, to instead use https://github.com/RetroPie/RetroPie-Setup/wiki/RetroArch-Configuration#core-input-remapping to make it Y X R, B A L for mame2003 only.

                              1 Reply Last reply Reply Quote 0
                              • S
                                StuMcBill
                                last edited by StuMcBill

                                Ok, I think I am totally lost.

                                I have configured my MegaDrive controller as per this picture: alt text which is the recommended config on the RetroPie site. This works fine in Mega Drive games and the controller is configured correctly.

                                Now I have totally changed my MAME config on XMVSF so I have no idea what it was supposed to be before? Can I extract it from a RetroPie img and overwrite mine so it goes back to default?

                                I have had a read of your link, but doesn't that refer to RetroArch emulators, not MAME? Don't you configure MAME in the normal MAME (Tab) menu.

                                Really sorry if I am being thick! :)

                                dankcushionsD D 2 Replies Last reply Reply Quote 0
                                • dankcushionsD
                                  dankcushions Global Moderator @StuMcBill
                                  last edited by

                                  @StuMcBill i think that recommended layout will not work with the layout in mame2003 by default. personally i don't think the layout is that good, but i don't know the reasoning.

                                  Now I have totally changed my MAME config on XMVSF so I have no idea what it was supposed to be before? Can I extract it from a RetroPie img and overwrite mine so it goes back to default?

                                  https://github.com/RetroPie/RetroPie-Setup/wiki/lr-mame2003#mame-menu explains how to delete stuff you've changed in the TAB menu.

                                  I have had a read of your link, but doesn't that refer to RetroArch emulators, not MAME? Don't you configure MAME in the normal MAME (Tab) menu.

                                  lr-mame2003 is a retroarch emulator :) anything with lr- in front of it is retroarch.

                                  S 1 Reply Last reply Reply Quote 0
                                  • S
                                    StuMcBill @dankcushions
                                    last edited by

                                    @dankcushions thanks mate. I'll give it a go when I get a chance on Monday.

                                    Pick up my controlblock tomorrow so I might be wiring actual arcade controls into it soon!!

                                    1 Reply Last reply Reply Quote 0
                                    • D
                                      dsstrainer @StuMcBill
                                      last edited by

                                      @StuMcBill

                                      I have had a read of your link, but doesn't that refer to RetroArch emulators, not MAME? Don't you configure MAME in the normal MAME (Tab) menu.

                                      Really sorry if I am being thick! :)

                                      I think maybe the confusion here is that with lr-mame2003, you have the all encompassing retroarch control at the top of the heap, but you also have the mame2003 tab menu which can override the retroarch settings. So if you change inputs within lr-mame2003, it might be overriding any changes you are trying to make within ES or retroarch.

                                      RetroPie v4.2 • RPi3 Model B • 5.1V 2.5A PSU • 8GB SanDisk class 10 microSD • 16GB External USB Thumb Drive
                                      Roms, images and configs stored in USB and symlinked from normal microsd location
                                      Xarcade Keyboard encoder + Zero Delay Joystick encoder

                                      1 Reply Last reply Reply Quote 0
                                      • D
                                        dsstrainer @dankcushions
                                        last edited by

                                        @dankcushions Ok thank you so much... at least I know now I'm not going crazy. I finally just gave up and left it. Didn't want to try to figure out the remapping for that game in mame2003 tab menu. Retroarch cfg override also wasn't working for me so ill just retrain my fingers.

                                        RetroPie v4.2 • RPi3 Model B • 5.1V 2.5A PSU • 8GB SanDisk class 10 microSD • 16GB External USB Thumb Drive
                                        Roms, images and configs stored in USB and symlinked from normal microsd location
                                        Xarcade Keyboard encoder + Zero Delay Joystick encoder

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          morpie
                                          last edited by

                                          I never changed my config and haven't gone into ES to confirm if there is a difference but when I use FBA my buttons are A-OK in Gunsmoke. Lr-Mame, no... Weird.

                                          Also curious... when others are inputting buttons... do you follow the GitHub diagrams or the labels on your controller? That may flip things if you aren't careful. But you'd notice in other emulators. 360 pad has the buttons labeled so that A and B and X and Y are swapped... I see lots of people mentioning buttons. If I press my A button when it asks and B when it asks, I would have them reversed... Which made console games I am more familiar with just weird. Then again, all my consoles rely on libretto core emulators...

                                          .... And I just came on the forums to find out if the 240p firmware is in the official build... now this lol.

                                          dankcushionsD 1 Reply Last reply Reply Quote 0
                                          • dankcushionsD
                                            dankcushions Global Moderator @morpie
                                            last edited by

                                            @morpie said in RPI 4.2 Mame 2003 SF2 button mapping changed?:

                                            I never changed my config and haven't gone into ES to confirm if there is a difference but when I use FBA my buttons are A-OK in Gunsmoke. Lr-Mame, no... Weird.

                                            Also curious... when others are inputting buttons... do you follow the GitHub diagrams or the labels on your controller? That may flip things if you aren't careful. But you'd notice in other emulators. 360 pad has the buttons labeled so that A and B and X and Y are swapped... I see lots of people mentioning buttons. If I press my A button when it asks and B when it asks, I would have them reversed... Which made console games I am more familiar with just weird.

                                            it's tricky but they had to choose a standard, and the SNES pad was it. i think when you bind through emulationstation/retroarch it says 'B (bottom)', 'A (right)', etc, but even if you go by the positions, the layout might feel better but you'll still have situations where a game will tell you to press the 'A' button, and then you'll have to press your 'B' button, etc.

                                            so i just use a SNES-type pad :)

                                            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.