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

    Digital to analogue changes never save

    Scheduled Pinned Locked Moved Help and Support
    analogueretroarch coreps1config files
    6 Posts 3 Posters 1.6k 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.
    • hawkes_84H
      hawkes_84
      last edited by

      Hi all
      Pi model: 4 b 4g
      Power source: official Pi supply
      Image: Retropie
      Controller: 8bitdo pro 2

      Just having an issue when I play some ps1 and want to use the analogue stick on a certain game (in this case MGS). When I change this option in Retroarch to analogue stick via input, port 1 etc and go back to the game it works fine. I always make sure to save Core Options too as heard this should make the changes for every game that using this core/emulator. Anyway if I return to the game again another day the analogue option always switches back so I have to change it again. There's even a "save controls options" under port 1 which I press but it doesn't seem to help. Are the controls for a game something you can't save? should I be saving the config file to make these changes stick ? thanks!

      S F 2 Replies Last reply Reply Quote 0
      • S
        sleve_mcdichael @hawkes_84
        last edited by

        @hawkes_84 which menu are you using to make and save the changes? You should use quick menu > controls, not settings > input.

        hawkes_84H 1 Reply Last reply Reply Quote 0
        • F
          Folly @hawkes_84
          last edited by Folly

          @hawkes_84

          RetroArch doesn't store joystick settings in the core-options.
          So that solution won't work.

          The joystick settings are stored in a /opt/retropie/configs/all/retroarch.cfg .
          By default RetroArch will not save the settings until you set "save config on exit = on".
          Doing so will still not fix the problem though because then all games will work with the same joystick settings, and that is something you don't want.

          What you can do is to make a game-specific retroarch.cfg file.
          This solution is usually used for adding overlays to games.

          As example you can take a core specific retroarch.cfg file like this :
          /opt/retropie/configs/psx/retroarch.cfg .
          Then copy this file to the directory where the game is and convert it to a game-specific retroarch.cfg and add the joystick settings to that file.
          Then rename the config to the game with .cfg added.
          So if you use MGS.m3u the config should be named MGS.m3u.cfg.
          When the game is loaded this config is then automatically read.

          For finding your game-specific joystick configs you have to somehow save a retroarch.cfg and cut out the needed joystick settings and copy them into your created game-specific retroarch.cfg.
          You have to make backups of your config files before you are doing this because once you have extracted your game-specific settings you will have to restore you config files.

          Perhaps there is an easier way, but I think this is the only way.

          S 1 Reply Last reply Reply Quote 0
          • S
            sleve_mcdichael @Folly
            last edited by sleve_mcdichael

            @folly said in Digital to analogue changes never save:

            @hawkes_84

            Perhaps there is an easier way, but I think this is the only way.

            Easier way:
            RGUI > Quick Menu > Controls > Port n Controls > Analog to Digital Type > Left Analog, then one level back and "save (core|game) remap file."

            1 Reply Last reply Reply Quote 2
            • S
              sleve_mcdichael
              last edited by

              @Folly

              The joystick settings are stored in a /opt/retropie/configs/all/retroarch.cfg .

              Well they can be, but by default these are all commented out. Joystick settings for RetroArch in RetroPie are made by the autoconfig when you first set up your joystick in EmulationStation, and the files are saved as /opt/retropie/configs/all/retroarch/autoconfig/[your_joypad_name].cfg.

              You can override this in your global or system retroarch.cfg or in any config override, however, what's "button 4" on one joystick might not be the same as "button 4" on another joystick. If you make edits this way they will only apply correctly to the one joystick they were coded for and any others will be a scrambled mess.

              Better to use core input remapping which will save a .rmp file that applies consistently "on top of" any controller autoconfig(s) you have already set up.

              1 Reply Last reply Reply Quote 2
              • hawkes_84H
                hawkes_84 @sleve_mcdichael
                last edited by

                @sleve_mcdichael Yeah I was going down the settings and input route. I did see the other controls options too but couldn't see the Analogue option. I'll check again. Many thanks

                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.