Navigation

    RetroPie forum home
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    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

    2-joystick games (config)

    Help and Support
    arcade controls mame controller retroarch setup
    6
    21
    176
    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.
    • Drdave79
      Drdave79 last edited by

      Arcade games like Crazy Climber, Smash TV, Robotron 2064 use both joysticks for 1-player games. I'm trying to copy that config for other 2-joystick games like Karate Champ and Battlezone. I've tried looking at the Retroarch controller settings for the previously named games, then looking at the following games and I see no difference.

      What am I missing here? Thank you.

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

        Which emulator are you using ? Did you configure the games's input in RetroArch's Controls menu ?

        Drdave79 1 Reply Last reply Reply Quote 0
        • Drdave79
          Drdave79 @mitu last edited by Drdave79

          @mitu Mame 2003 & Mame 2010. I've looked at the RetroArch Controls, but don't see any difference between the games. There's got to be a setting that tells the system to use both joysticks for player 1. I just don't see it.

          I was hoping someone else could look at their settings for the games I listed above to see if they notice anything different.

          IanDaemon 1 Reply Last reply Reply Quote 0
          • IanDaemon
            IanDaemon @Drdave79 last edited by

            @drdave79 I play Robotron 2084 and Cloak & Dagger often. There's a setting in Retroarch for "Map second joystick to buttons" or something similar.

            Thorr69 1 Reply Last reply Reply Quote 0
            • Thorr69
              Thorr69 @IanDaemon last edited by

              @iandaemon There's also Dual Stick mode which uses the player two stick as a second stick for player 1. I use that for krull and robotron.

              Drdave79 1 Reply Last reply Reply Quote 0
              • Drdave79
                Drdave79 @Thorr69 last edited by

                @thorr69 I must be blind because I just don't see this option. Could I trouble you to please tell me where it is?

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

                  @drdave79
                  for mame2003, it's set here:
                  https://retropie.org.uk/docs/lr-mame2003/#dual-stick-games - but's on by default and clearly on for you as robotron works.

                  see https://github.com/libretro/mame2003-libretro/commit/3c2bcc8fc3c53c53a8130e6f7c4ccdba42fb79ec

                  not sure about your games, but looking at their drivers i don't see what's different about smashtv and robotron (which works)...

                  https://github.com/libretro/mame2003-libretro/blob/60bdaf5650b73a55553130b5e896ea1c0f1c6714/src/drivers/midyunit.c#L249-L252

                  vs

                  https://github.com/libretro/mame2003-libretro/blob/60bdaf5650b73a55553130b5e896ea1c0f1c6714/src/drivers/williams.c#L831-L836

                  something for the maintainers of this core to look into, perhaps? FAO @mahoneyt944

                  0 dankcushions committed to libretro/mame2003-libretro
                  Added 'Right Stick to Buttons' core option, to allow the right stick to function as a digital input in dual-stick games (e.g. Robotron).
                  Refactored input code to better cope with this.
                  Drdave79 1 Reply Last reply Reply Quote 0
                  • Drdave79
                    Drdave79 @dankcushions last edited by

                    @dankcushions Thank you so much for this information. Very helpful. Only one problem.

                    Using Mame 2003, "Map right analog stick as buttons" is turned on, but that doesn't do anything. Turning Dual joystick mode (!netplay)" to on DOES fix the problem. However, it saves this as a default setting for all Mame 2003 games and the joystick no longer works for other games.

                    So, best I can tell is that turning this on for games like Karate Champ work. But you have to turn it off when you're done.

                    Unless you have another solution to save this setting for JUST this one game?

                    mitu 1 Reply Last reply Reply Quote 0
                    • mitu
                      mitu Global Moderator @Drdave79 last edited by

                      @drdave79 said in 2-joystick games (config):

                      Unless you have another solution to save this setting for JUST this one game?

                      Use the 'Save Game Options' menu to save the settings just for that particular game.

                      Drdave79 1 Reply Last reply Reply Quote 2
                      • Drdave79
                        Drdave79 @mitu last edited by

                        @mitu I'm sorry for being difficult (and I really appreciate your help), but I'm just not seeing a menu called "Save Game Options." Plus, "Save Configuration on Exit" is turned off, yet when I exit the game it's still saving the configuration globally because it's affecting other games. Auto Save State is also turned off.

                        mitu 1 Reply Last reply Reply Quote 0
                        • mitu
                          mitu Global Moderator @Drdave79 last edited by

                          @drdave79 At the top of the Options list, there's a Create Game Options file menu, which will save the current options for the current game. After saving the options for the current game, set back the Dual Joystick setting so it doesn't affect all games.

                          Drdave79 1 Reply Last reply Reply Quote 0
                          • Drdave79
                            Drdave79 @mitu last edited by

                            @mitu Doesn't work. When I do that, it says "Core options file created successfully." It's changing the core of the emulator, not just that one game.

                            dankcushions IanDaemon 2 Replies Last reply Reply Quote 0
                            • dankcushions
                              dankcushions Global Moderator @Drdave79 last edited by

                              @drdave79 it's explained here: https://retropie.org.uk/docs/RetroArch-Core-Options/#setting-core-options-per-rom

                              if you've already saved the option globally, you'll have to revert that first, exit so it saves normally, and THEN save the per-game way as detailed in my link.

                              if it still doesn't work somehow, then the info above shows you were the files are stored and how they are named, so you could manually create it, I suppose.

                              Drdave79 1 Reply Last reply Reply Quote 0
                              • IanDaemon
                                IanDaemon @Drdave79 last edited by IanDaemon

                                @drdave79 There should be two options:

                                • Save core preset
                                • Save game preset
                                1 Reply Last reply Reply Quote 0
                                • Drdave79
                                  Drdave79 @dankcushions last edited by

                                  @dankcushions It's just not working. Maybe I'm missing some small detail. Here's my process:

                                  1. Launch Karate Champ

                                  2. Bring up Retroarch menu and select Options

                                  3. Select Dual Stick Mode to On

                                  4. Click Save Game Options File

                                  5. Return to Game. (both controllers work)

                                  6. Reopen Retroarch menu

                                  7. Select Dual Stick Mode to Off

                                  8. Exit Karate Champ

                                  9. Launch Joust

                                  10. Joystick 2 doesn't work. If I go back into Karate Champ and turn Dual Stick Mode to off and exit, Joust works.

                                  I'm having zero success in making changes to Karate Champ that doesn't affect everything else.

                                  p.s. @IanDaemon there are no options. Hitting Save Game Options File just saves without a choice.

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

                                    @drdave79 please upload your global and core opts, and a verbose log

                                    dankcushions 1 Reply Last reply Reply Quote 0
                                    • IanDaemon
                                      IanDaemon last edited by

                                      Hmm, does https://retropie.org.uk/docs/RetroArch-Core-Options/ give you any direction?

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

                                        actually, i don't think this is right

                                        Click Save Game Options File

                                        Return to Game. (both controllers work)

                                        Reopen Retroarch menu

                                        Select Dual Stick Mode to Off

                                        if you change the option AFTER you have saved a game options file, it will treat that game options file as the current options and file, and save to it again. you need to exit the emulator entirely, reopen it with joust, and then set your desired global option.

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

                                          @dankcushions @Drdave79

                                          This is why the mame menu exists, I would use the default core options then you can simply map under input general to your specific layout:

                                          Player 1 right side dual stick
                                          P1 right/up
                                          P1 right/down
                                          P1 right/left
                                          P1 right/right

                                          Player 1 left side dual stick
                                          P1 left/up
                                          P1 left/down
                                          P1 left/left
                                          P1 left right

                                          Then if you need to specifically change a per game config, use input this game.

                                          Joust doesn't use the dual stick inputs. It uses:

                                          P1 left
                                          P1 right

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

                                            @mahoneyt944 said in 2-joystick games (config):

                                            @dankcushions @Drdave79

                                            This is why the mame menu exists, you can simply map under input general to your specific layout:

                                            true but the core option was designed to avoid using the MAME menus. my original goal with the libretro core was to get as much into the libretro system as possible. it does work in with regard to dual sticks, just an issue with the users configuration approach I believe (see my previous post). it would be even more elegant if it simply bound to the retropad sticks by default - not sure why i didn't do it that way in the first place but maybe there was a reason...

                                            mind you, at this point just do it via the mame menus lol :P

                                            Joust doesn't use the dual stick inputs. It uses:

                                            P1 left
                                            P1 right

                                            yes, we know - this is the game OP is using to test the global setting (ie, NOT dual stick) is still working correctly.

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