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

    SNES Retroarch config confusion

    Scheduled Pinned Locked Moved Help and Support
    retroarchsnes
    18 Posts 3 Posters 2.2k 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.
    • B
      BaviaanNL
      last edited by BaviaanNL

      I've been struggling with getting my keyboard (IPAC 2) working with the SNES, the retroarch config doesn't give me a retropad option for either player 1 or 2. I was browsing the config files and came across the following options

      input_player1_analog_dpad_mode = ""

      input_player2_analog_dpad_mode = ""

      #include "/opt/retropie/configs/all/retroarch.cfg"

      I understand the hash symbol cancels these items out and I guess they need to be enabled in order for me to gain control although I'm not sure what comments needs to be entered within the speech marks.

      Could anyone help?

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

        @baviaannl Delete both lines then start RetroArch again (you don't need to restart) and see if you have the DPAD options back.

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

          @mitu said in SNES Retroarch config confusion:

          @baviaannl Delete both lines then start RetroArch again (you don't need to restart) and see if you have the DPAD options back.

          Would it make any difference that both lines are already hashed out? For some reason my paste didn't include the hash?

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

            @baviaannl said in SNES Retroarch config confusion:

            Would it make any difference that both lines are already hashed out?

            Well, yes, the # is a comment in this case, so those configuration lines would not be applied.

            B 2 Replies Last reply Reply Quote 0
            • B
              BaviaanNL @mitu
              last edited by

              @mitu said in SNES Retroarch config confusion:

              @baviaannl said in SNES Retroarch config confusion:

              Would it make any difference that both lines are already hashed out?

              Well, yes, the # is a comment in this case, so those configuration lines would not be applied.

              I deleted them, still the only options for players 1 & 2 are SNES Joystick & SNES Mouse. I notice that player 3 & 4 have Retropad options available.

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

                @mitu said in SNES Retroarch config confusion:

                @baviaannl said in SNES Retroarch config confusion:

                Would it make any difference that both lines are already hashed out?

                Well, yes, the # is a comment in this case, so those configuration lines would not be applied.

                I've just realized that despite the fact I removed those entries and rebooted, I can't make any changes to that config file, it restores back to the original. Not realy sure how to fix this one :(

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

                  @baviaannl Sometimes sd-cards turn into read-only mode when they're damaged. Make sure you have a backup.

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

                    @mitu said in SNES Retroarch config confusion:

                    @baviaannl Sometimes sd-cards turn into read-only mode when they're damaged. Make sure you have a backup.

                    Am I right in thinking that if I delete retroarch.cfg within SNES, a new file will be created automaticallly? Wondering if it would be better if I started afresh?

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

                      @baviaannl No, the file will not be created automatically. It's only created if you reinstall the SNES emulator.

                      1 Reply Last reply Reply Quote 0
                      • B
                        BaviaanNL
                        last edited by

                        If somebody could look over my config for anything obvious I'd be very greatful.

                        https://pastebin.com/wAwtcZPq

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

                          a normal retropie snes retroarch.cfg will be about 4 lines long :)

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

                            @dankcushions said in SNES Retroarch config confusion:

                            a normal retropie snes retroarch.cfg will be about 4 lines long :)

                            I'm really new to this, learning every day though. What would a typical config file look like, could you show me yours Might be easier to keep it simple. I have no idea why mine is so long!

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

                              @baviaannl The default one I think it's

                              # Settings made here will only override settings in the global retroarch.cfg if placed above the #include line
                              
                              input_remapping_directory = /opt/retropie/configs/snes/
                              
                              
                              #include "/opt/retropie/configs/all/retroarch.cfg"
                              

                              See https://retropie.org.uk/docs/RetroArch-Configuration/#example-default-per-system-retroarchcfg

                              B 1 Reply Last reply Reply Quote 1
                              • B
                                BaviaanNL @mitu
                                last edited by

                                @mitu said in SNES Retroarch config confusion:

                                @baviaannl The default one I think it's

                                # Settings made here will only override settings in the global retroarch.cfg if placed above the #include line
                                
                                input_remapping_directory = /opt/retropie/configs/snes/
                                
                                
                                #include "/opt/retropie/configs/all/retroarch.cfg"
                                

                                See https://retropie.org.uk/docs/RetroArch-Configuration/#example-default-per-system-retroarchcfg

                                I wrote a new config with basic info for 2 players, went from 1200 lines to about 10 and it works perfectly, many thanks :)

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

                                  @baviaannl whilst it's great it's fixed, your controller bindings shouldn't really be in an individual system cfg. it should be in /opt/retropie/configs/all/retroarch.cfg, that way your configs will work with all systems :)

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

                                    @dankcushions said in SNES Retroarch config confusion:

                                    @baviaannl whilst it's great it's fixed, your controller bindings shouldn't really be in an individual system cfg. it should be in /opt/retropie/configs/all/retroarch.cfg, that way your configs will work with all systems :)

                                    So am I right in thinking the config should look like this? (Obviously with the correct information regarding system)?

                                    Settings made here will only override settings in the global retroarch.cfg if placed above the #include line

                                    input_remapping_directory = /opt/retropie/configs/snes/
                                    include /opt/retropie/configs/all/retroarch.cfg

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

                                      @baviaannl no, it should still look like the example @mitu posted above.

                                      /all/retroarch.cfg is always loaded - it is the 'global retroarch.cfg' file referred to in the example.

                                      B 1 Reply Last reply Reply Quote 1
                                      • B
                                        BaviaanNL @dankcushions
                                        last edited by

                                        @dankcushions said in SNES Retroarch config confusion:

                                        @baviaannl no, it should still look like the example @mitu posted above.

                                        /all/retroarch.cfg is always loaded - it is the 'global retroarch.cfg' file referred to in the example.

                                        This is beginning to make a lot of sense, thanks for your help.

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