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

    Saving Fast Forward/Achievements in retroarch.cfg

    Scheduled Pinned Locked Moved Help and Support
    control mappingconfig savingretroarch.cfg
    45 Posts 3 Posters 14.3k 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.
    • Used2BeRXU
      Used2BeRX
      last edited by

      I've set up Achievements to ON and also mapped my right bumper and right trigger to FF/Hold and FF/Toggle.

      Then I go to Configurations and press "Save Current Configuration".

      I get a message in yellow on the bottom of the screen that says "Failed saving config to "/opt/retropie/configs/nes/retroarch.cfg".

      I've figured out how to remap buttons to the current core and/or game, but I can't seem to figure out how to save the overall configuration for these fast-forward functions and doing other things like turning on the Achievements.

      Does anybody have anything I can try to do this?

      Also, when I do it I only have to do it once per system, right? I'm assuming I won't have to do it once per core like with the control pad mapping?

      Used2BeRXU 1 Reply Last reply Reply Quote 0
      • Used2BeRXU
        Used2BeRX @Used2BeRX
        last edited by

        @Used2BeRX Anybody else have this problem? Anything I try to save outside of the "Quick Menu" in retroarch reverts back to the defaults when I exit a game.

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

          Can you get to the command line and type this:

          ls -l /opt/retropie/configs/nes/retroarch.cfg
          

          What is the output?

          I just wondering if you still have the correct privileges to access that file.

          Used2BeRXU 1 Reply Last reply Reply Quote 0
          • Used2BeRXU
            Used2BeRX @backstander
            last edited by

            @backstander I actually can't read the output. I've got an old 720p resolution projection screen TV and anything in the Linux console basically unreadable.

            Is there a command(s) I can do to change the permissions on the file?

            This doesn't just happen in NES. It happens in every emulator in retroarch, and it has ever since the first time I tried it.

            B meleuM 2 Replies Last reply Reply Quote 0
            • B
              backstander @Used2BeRX
              last edited by backstander

              @Used2BeRX
              Sorry for the late replay. Been really sick lately.

              I actually can't read the output. I've got an old 720p resolution projection screen TV and anything in the Linux console basically unreadable.

              I will usually SSH in using PuTTY with my desktop/laptop computer(s).
              note: SSH is disabled by default

              Is there a command(s) I can do to change the permissions on the file?

              You can type this in to change the permissions/owner back to the pi user on that file:

              sudo chown pi:pi /opt/retropie/configs/nes/retroarch.cfg
              

              This doesn't just happen in NES. It happens in every emulator in retroarch, and it has ever since the first time I tried it.

              Well the above won't help you with other retroarch emulators but there is a global config files located here:

              /opt/retropie/configs/all/retroarch.cfg
              

              Maybe do the sudo chown pi:pi in front of that one as well?
              BTW: chown mean "Change Owner"

              Used2BeRXU 2 Replies Last reply Reply Quote 1
              • Used2BeRXU
                Used2BeRX @backstander
                last edited by

                @backstander Thanks man. I'll give it a shot and let you know how it worked out. :)

                1 Reply Last reply Reply Quote 1
                • Used2BeRXU
                  Used2BeRX @backstander
                  last edited by

                  @backstander I tried that, but it didn't work.

                  I think I might know what happened, but until I can get back to my notes I don't know what file I messed with before I really knew what I was doing at all here. I was trying to give myself access to ftp and I altered a file with the "nano" command. That was weeks ago though and without my notes I have no idea what file tinkered with.

                  Sadly, my laptop with the notes died. I won't be able to pull off that data for a while.

                  You wouldn't happen to have any idea what file that would have been, would you?

                  B 1 Reply Last reply Reply Quote 0
                  • B
                    backstander @Used2BeRX
                    last edited by

                    @Used2BeRX

                    You wouldn't happen to have any idea what file that would have been, would you?

                    Not really sure. Do you remember what you were hoping to accomplish by editing this file? Maybe that could give me an idea of what files would need to be edited for that situation.

                    Used2BeRXU 1 Reply Last reply Reply Quote 0
                    • Used2BeRXU
                      Used2BeRX @backstander
                      last edited by

                      @backstander I think I was trying to get permissions to enter the root folder through FTP, but I can't be sure without those notes. I might have to spend some time this weekend researching it if I can't get to those notes.

                      B 1 Reply Last reply Reply Quote 0
                      • B
                        backstander @Used2BeRX
                        last edited by backstander

                        @Used2BeRX

                        I think I was trying to get permissions to enter the root folder through FTP

                        Sometimes when you edit a file as the root user, when you save that file will take on the root ownership so depending on the file's attributes, the pi user might not be able to read, write and/or execute that file anymore.

                        So you probably only want to login as root when you're going to be working in directories that the pi user can't read or write in.

                        Here's the directions to enable the root account over SSH:

                        Enable root account/password for SSH (USE AT YOUR OWN RISK!!!)

                        sudo nano /etc/ssh/sshd_config

                        PermitRootLogin yes
                        

                        sudo passwd root

                        Used2BeRXU 1 Reply Last reply Reply Quote 0
                        • meleuM
                          meleu @Used2BeRX
                          last edited by meleu

                          @Used2BeRX said in Saving Fast Forward/Achievements in retroarch.cfg:

                          I've got an old 720p resolution projection screen TV and anything in the Linux console basically unreadable.

                          Try this (yes, in the first time you'll type it blindly):

                          setfont /usr/share/consolefonts/Lat15-TerminusBold20x10.psf.gz
                          

                          To see a list of available fonts:

                          ls /usr/share/consolefonts/
                          

                          I usually put that setfont command line on ~/.bashrc.

                          For cheevos, I recommend a reading on the RetroPie docs:
                          https://retropie.org.uk/docs/RetroAchievements/

                          • Useful topics
                          • joystick-selection tool
                          • rpie-art tool
                          • achievements I made
                          B 1 Reply Last reply Reply Quote 1
                          • B
                            backstander @meleu
                            last edited by backstander

                            @meleu
                            Is there any way to make the RetroPie-Setup Script, raspi-config and even your Nice MAME2003 overlays repository script look better/bigger on a large (50 inch+) 1080p or 720p TVs?

                            This is what it looks like at 1080p and it's hard to read that small little box from the couch:
                            Image

                            meleuM 1 Reply Last reply Reply Quote 0
                            • meleuM
                              meleu @backstander
                              last edited by

                              @backstander same setfont trick I said above. Try it and see! ;-)

                              • Useful topics
                              • joystick-selection tool
                              • rpie-art tool
                              • achievements I made
                              B 1 Reply Last reply Reply Quote 1
                              • B
                                backstander @meleu
                                last edited by

                                @meleu
                                I had to put sudo before setfont before it would work but it is forgotten on each reboot. Can this be put in /etc/rc.localor something so it is set on each boot?

                                Used2BeRXU meleuM 3 Replies Last reply Reply Quote 0
                                • Used2BeRXU
                                  Used2BeRX @backstander
                                  last edited by

                                  @backstander I was able to get to my notes. I don't think anything I did before had anything to do with this. All I had done was edit a few lines in /etc/ssh/sshd_config and I don't think that is related at all.

                                  Strangely, if I enter the retroarch through the emulationstation menu, I can make changes and save them there. They don't effect any of the individual system retroarch.cfg files though. I still can't save any information to any of them.

                                  I'll try re-sizing the font tonight or tomorrow and see if I can figure out any more about this.

                                  1 Reply Last reply Reply Quote 0
                                  • Used2BeRXU
                                    Used2BeRX @backstander
                                    last edited by Used2BeRX

                                    @backstander Font resize works. Thanks for that, meleu!

                                    Still can't do anything about saving bindings for fast forward.

                                    I found this video. I understand this video. I think it's very old information. Please tell me that we don't have to do all of that and remember what we've changed to get retroarch to save settings.

                                    Used2BeRXU 1 Reply Last reply Reply Quote 0
                                    • Used2BeRXU
                                      Used2BeRX @Used2BeRX
                                      last edited by Used2BeRX

                                      @Used2BeRX Well.... that seems to be the only fix that works for me.

                                      In Retroarch I have to go to "Configurations" then "Save New Configuration".

                                      Then I have to edit /opt/retropie/configs/nes/emulators.cfg as follows:

                                      lr-quicknes = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-quicknes/quicknes_libretro.so --config /opt/retropie/configs/nes/retroarch.cfg %ROM%"

                                      TO:

                                      lr-quicknes = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-quicknes/quicknes_libretro.so --config /opt/retropie/configs/all/retroarch/config/quicknes_libretro.cfg %ROM%"

                                      This ensures the changes I made launch every time. Unfortunately, if I make any further changes I am still unable to save them directly to that file either. I have to save a new configuration that gets named "quicknes_libretro-1.cfg". I can then FTP to the folder, delete the original one and remove the "-1" at the end of the new one for those changes.

                                      What a pain.

                                      I'm sure there has to be a better way.

                                      EDIT: Nice.... I just borked the sudoers file and gave permission to pi.

                                      Looks like I get to start everything over from scratch. Wonder how much work I'm going to lose by having to do this.

                                      meleuM 1 Reply Last reply Reply Quote 0
                                      • meleuM
                                        meleu @Used2BeRX
                                        last edited by

                                        @Used2BeRX man, I'm used to add those configs in the joystick config file directly. Manually editing the file. It's pretty simple.

                                        The file is /opt/retropie/configs/all/retroarch-joypads/YOUR_JOYSTICK_NAME.cfg.

                                        • Useful topics
                                        • joystick-selection tool
                                        • rpie-art tool
                                        • achievements I made
                                        Used2BeRXU 1 Reply Last reply Reply Quote 0
                                        • meleuM
                                          meleu @backstander
                                          last edited by

                                          @backstander said in Saving Fast Forward/Achievements in retroarch.cfg:

                                          @meleu
                                          Can this be put in /etc/rc.localor something so it is set on each boot?

                                          I added the command to my ~/.bashrc, but I'm sure there's a more elegant way to set it. I was used to set it on my slackware when I was a teenager :-) but I can't remember. And I'm on a trip now (away from my computers)...

                                          • Useful topics
                                          • joystick-selection tool
                                          • rpie-art tool
                                          • achievements I made
                                          Used2BeRXU 1 Reply Last reply Reply Quote 1
                                          • Used2BeRXU
                                            Used2BeRX @meleu
                                            last edited by

                                            @meleu Thanks again for the text size fix. I was able to read it after doing that.

                                            I'll try editing that file when I get a new Pi image set up. I was trying to change the user for everything to "Pi" last night because I'm unable to save 5200 games either. Don't mess with sudoers is the lesson here. I probably screwed up a lot more than that too.

                                            I'm going to use a different SD card just in case I didn't back up everything that I needed to.

                                            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.