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

    problem with saving Retropie

    Scheduled Pinned Locked Moved Help and Support
    savesretro pie
    28 Posts 3 Posters 5.8k 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
      Siwobrody
      last edited by

      I will check.
      So this Save file should be always on USB drive in this location when i have roms? I think i dont remember this Type of flies in roms directory.

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

        @siwobrody According to the log you posted, this is where the state file is saved.

        [INFO] Saving state: "/home/pi/RetroPie/roms/arcade/alcon.state3".
        [INFO] State size: 29337 bytes.
        [INFO] State size: 29337 bytes.
        
        S 1 Reply Last reply Reply Quote 0
        • S
          Siwobrody @mitu
          last edited by Siwobrody

          @mitu https://pastebin.com/raw/sXGzSrak
          this is whole new log file retroarch__2020_11_23__14_18_49
          i also checked and i cant find this save states files in Roms directory. But i found my old records there and they work.
          For example for Alladin state10 from February and still i can load.
          But still i cant make new save games.
          everytime when i try to save its like here:
          126866101_192203042396352_7834122995097028438_n.jpg

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

            @siwobrody said in problem with saving Retropie:

            this is whole new log file retroarch__2020_11_23__14_18_49

            the log is still truncated. I can only see the exit messages from the emulator, but it looks like it tries to write the save state. Looks like a permission issue.

            Can you exit EmulationStation and run

            ls -ld /home/pi/RetroPie/roms/arcade
            

            and post the output ?

            1 Reply Last reply Reply Quote 0
            • S
              Siwobrody
              last edited by

              121.jpg
              did you mean that?

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

                @siwobrody Yes, that's correct. The permissions seem fine - the pi user has write access, so it's not that.

                Can you try and reset the RetroArch configuration for one of the systems that has issues with saving (arcade for instance).
                Look in \\retropie\configs\arcade and see if you have a retroarch.cfg.rp-dist file. If yes:

                • rename retroarch.cfg(same folder) to retroarch.cfg.bak
                • rename retroarch.cfg.rp-dist to retroarch.cfg

                Run again an arcade game and see if saving/loading a save state works.

                1 Reply Last reply Reply Quote 0
                • S
                  Siwobrody
                  last edited by

                  i have only retroarch.cfg
                  121.jpg

                  so i changed to .bak and i have different menu but still same problem 'saving state 0%'

                  where can I find this retroarch.cfg.rp-dist

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

                    @siwobrody said in problem with saving Retropie:

                    where can I find this retroarch.cfg.rp-dist

                    Re-install the arcade emulator - lr-fbneo for instance - and therp-dist file will be created automatically.

                    1 Reply Last reply Reply Quote 0
                    • S
                      Siwobrody
                      last edited by Siwobrody

                      Reinstalled. Now i have this file. Changed. And still same problem.
                      Maybe should I delete all my old saves and reinstall all emulators and should work ?

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

                        It doesn't look like an emulator issue and you've already re-installed the emulators, since you upgraded to 4.7.1. Can you still try to post the entire log file from RetroArch, instead of the last lines, like you did so far ?
                        You can copy the file with

                        cp /dev/shm/runcommand.log /home/pi/RetroPie/roms
                        

                        and then get the log file from your PC, at \\retropie\roms\runcommand.log.

                        1 Reply Last reply Reply Quote 0
                        • S
                          Siwobrody
                          last edited by

                          https://pastebin.com/raw/GDfhmCDg

                          ok, now i see more things inside.

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

                            Nothing new in the logs, it looks like RetroArch tries to save the state, but there's no explicit error. You don't see the save state file - 1942.state5 - on disc ? Can you still copy ROMs on the disc, without any errors ?

                            Try to run a disc check on your hard disc from your PC, just to make sure that the disc is ok and there's no filesystem corruption on it.

                            1 Reply Last reply Reply Quote 0
                            • S
                              Siwobrody
                              last edited by

                              I tried to copy roms and there were no problems. But maybe because of my traveling and taking PI with me maybe something 'broke' and I will have to do everything all over again ... it just hurts the whole library full of everything and hours spent waiting;)

                              1 Reply Last reply Reply Quote 0
                              • S
                                Siwobrody
                                last edited by

                                ifound also sth like that:
                                https://www.reddit.com/r/RetroPie/comments/6asyif/permanent_0_saving_state_whenever_saving_states/

                                it could work ? but how to change ?

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

                                  @siwobrody said in problem with saving Retropie:

                                  it could work ? but how to change ?

                                  I think it's referring to set

                                  savestate_auto_index = true
                                  

                                  in the retroarch.cfg file.

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    Siwobrody
                                    last edited by

                                    eh, still nothing :(
                                    i have no more ideas. It looks like retroarch have a problem to save on usb drv. Maybe i have something wrong inside, should i change something? Maybe retroarch try to save on sd card i dont know...how it works.

                                    saccublendaS 1 Reply Last reply Reply Quote 0
                                    • saccublendaS
                                      saccublenda @Siwobrody
                                      last edited by

                                      @siwobrody Try moving your old save states to a different directory

                                      S 1 Reply Last reply Reply Quote 0
                                      • S
                                        Siwobrody @saccublenda
                                        last edited by

                                        @saccublenda i deleted all old save states and still same. I have no ideas..

                                        saccublendaS 1 Reply Last reply Reply Quote 0
                                        • saccublendaS
                                          saccublenda @Siwobrody
                                          last edited by saccublenda

                                          @siwobrody Me neither. As a last check you can try setting the savestate_directory key in /opt/retropie/configs/all/retroarch.cfg to something else, for example savestate_directory = "/home/pi".

                                          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.