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

    Retroarch Input Bind Config

    Scheduled Pinned Locked Moved Help and Support
    controller
    4 Posts 2 Posters 1.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.
    • S
      stevedee78
      last edited by

      Raspberry Pi B+, Xin Mo Dual controller

      I'm new to retropie, and trying to work out how the various configuration files and options are layered between retropie and retroarch etc.

      When I launch a SNES game currently, a few of the buttons are not configured as I'd like, so I jump into the Retroarch menu, go to Main Menu>Settings>Input>Input User 1 Binds update the missing buttons, then the same for Input User 2 Binds. If I then go to Main Menu>Configurations>Save Current Configuration I get 'failed saving config to "opt/retropie/configs/snes/retroarch.cfg"'

      I have tried playing with permissions and setting the whole of the configs file structure to pi:pi or root with no change. I've tried deleting the retroarch.cfg that is already in that directory and still no joy.

      Am I misunderstanding how to reconfigure the controls in the first place? Is this a permissions problem, or do I need to manually update the config file, or another config file?

      Any help gratefully recieved thanks

      Steve

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

        @stevedee78 said in Retroarch Input Bind Config:

        Am I misunderstanding how to reconfigure the controls in the first place? Is this a permissions problem, or do I need to manually update the config file, or another config file?

        You should use the Core input remapping in RetroArch to change the input bindings and not use 'Save Configuration' from RetroArch.

        For the config file saving - could be a permission problem, check the permissions on the folder and file. The files in /opt/retropie/configs should be writable by the pi user, unless you've mis-used sudo and changed them.

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

          @mitu thanks for the reply, just after posting it worked actually. So what I did was:

          1. Deleted the tetrarch.cfg file that was in /opt/retropie/configs/snes (when I looked in there it was very light, couple of lines, mostly comments)
          2. Launched Street Fighter II, then launched RetroArch within the game and configured the buttons in Main Menu > Settings > Input (both Input.1 and Input 2
          3. Exit Retro Arch menu (think I clicked save Current Configuration too, but it still errors)

          Then I noticed that it had generated a new tetrarch.cfg in that snes directory, much bigger than the previous one and full of config goodness. Exited the game, and now when I go back in the button configs are retained.

          Think that the tetrarch.cfg that was in the snes directory was maybe corrupt, so it was ignoring that and deferring to a higher config somewhere else...works now though. Thanks for the reply

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

            @stevedee78 said in Retroarch Input Bind Config:

            when I looked in there it was very light, couple of lines, mostly comments

            Yes, this is the default configuration - it's normal.

            Then I noticed that it had generated a new tetrarch.cfg in that snes directory, much bigger than the previous one and full of config goodness

            We don't recommend using 'Save Configuration', core remapping is the preferred method.

            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.