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

    Changing where save state files are saved - EmulationStation????

    Scheduled Pinned Locked Moved Help and Support
    11 Posts 3 Posters 6.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.
    • F
      FlynntMaverick
      last edited by

      Just set up retropie a week or so ago. trying to get (snes at the moment) to save state files in mounted share (/home/pi/RetroPie/roms/Saves). Share works at boot and is writable, but the save state files keep saving to the default folder (/home/pi/RetroPie/roms/snes)

      I've added this line to both the all config and the snes config:

      /opt/retropie/configs/all/retroarch.cfg:
      savestate_directory = "/home/pi/RetroPie/roms/Saves"

      /opt/retropie/configs/snes/retroarch.cfg (above the #inlculde...statement):
      savestate_directory = "/home/pi/RetroPie/roms/Saves"
      #include "opt/retropie/configs/all/retroarch.cfg"

      But changing where save state files are saved is not working, they keep saving in the ....roms/snes folder. FYI this is a folder in my windows drop box folder so I can continue games anywhere I go.

      What Am I Missing??

      1 Reply Last reply Reply Quote 0
      • BuZzB
        BuZz administrators
        last edited by

        Have you typed those configs in manually to the forum ? They contain errors eg in the include line.

        Please read https://retropie.org.uk/forum/topic/3/read-this-first

        Please format any configs in code blocks (``` before and after)

        I would need to see your complete /opt/retropie/configs/all/retroarch.cfg and /opt/retropie/configs/snes/retroarch.cfg as well as the output of this command ls -la /home/pi/RetroPie/roms

        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

        1 Reply Last reply Reply Quote 0
        • F
          FlynntMaverick
          last edited by BuZz

          I did type manually in the post. here are direct copies.

          • snes/retroarch.cfg - http://pastebin.com/ABbwDVcw
          • all/retroarch.cfg - http://pastebin.com/J04jBrUb
          • ls - http://pastebin.com/jBMcrGub
          1 Reply Last reply Reply Quote 0
          • F
            FlynntMaverick
            last edited by

            ok links not working, but the pages exist. pasted text. late for work though. sorry, thanks, and i'll try agiain later.

            1 Reply Last reply Reply Quote 0
            • BuZzB
              BuZz administrators
              last edited by

              I fixed your post. Will check.

              To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

              1 Reply Last reply Reply Quote 0
              • BuZzB
                BuZz administrators
                last edited by

                Your "Saves" folder is owned by root. it has write permissions for all users, but you might want to change that to be owned by pi (chown -R pi:pi /home/pi/RetroPie/roms/Saves)

                Your config looks correct at first glance though.

                To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                1 Reply Last reply Reply Quote 0
                • F
                  FlynntMaverick
                  last edited by

                  well the Saves is a mounted share (windows share) and is done at boot. the Saves directory is owned by pi , but at boot it mounts as root. I've tried to forcing it with username=pi in the fstabs but still comes up as root. chown or sudo chown doen't change the owner. The directory is writable when logged in as pi.

                  So to test, i've unmounted, directory shows owned by pi. emulation does save correctly..
                  But mount it, its owned by root, emulation station will not save there (even though its wriatable).

                  so I guess i need to figure out how to get it to mount as pi. Thanks for leading me down the right direction.

                  1 Reply Last reply Reply Quote 0
                  • F
                    FlynntMaverick
                    last edited by

                    Well, got it to mount with uid=pi,gid=pi at boot, but still no joy.

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

                      @FlynntMaverick
                      have a look at https://github.com/RetroPie/RetroPie-Setup/wiki/Running-ROMs-from-a-USB-drive#configure-fstab-to-automatically-mount-usb-drive

                      this is how my fstab looks and it saves to my drive ok.

                      1 Reply Last reply Reply Quote 1
                      • BuZzB
                        BuZz administrators
                        last edited by BuZz

                        Try mounting with uid=1000,gid=1000 instead of the name pi. The uid/gid should be numeric afair

                        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                        1 Reply Last reply Reply Quote 0
                        • F
                          FlynntMaverick
                          last edited by FlynntMaverick

                          no joy.
                          the share doesn't have a uuid to use in the fstab.
                          here's the line in the fstab as it is now:
                          ····//10.0.0.10/Share/Folder /home/pi/RetroPie/roms/Saves cifs username=pi,password=raspberry,uid=1000,gid=100id=1000,file_mode=0777,dir_mode=0777,x-systemd.automount 0 0
                          Inline code
                          if it helps, its a Pi3, rasbian jesse image, then emulation station installed on the side.

                          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.