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

    Moving Default Skyscraper to shared drive.

    Scheduled Pinned Locked Moved Help and Support
    skyscraperconfigs
    13 Posts 2 Posters 778 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.
    • mituM
      mitu Global Moderator @raulitob
      last edited by mitu

      @raulitob

      So for cacheFolder="/home/pi/.skyscraper/cache"
      Do I remake that path on my shared drive? so for example
      cacheFolder="//192.xxx.x.xxx/RetroPie/roms "

      No, the path should be a normal path - Linux doesn't understand UNC paths. If you mounted your file share under the /path/to/drive folder, move the cache folder there and then set in the .ini file

      cacheFolder=/path/to/drive/cache
      

      Remove the #, since it's a comment sign - meaning anything after it (till the end of line) is not active.

      1 Reply Last reply Reply Quote 0
      • R
        raulitob
        last edited by raulitob

        Ok got you.

        So on the shared drive I need to move the contents of

        "/home/pi/.skyscraper/cache"
        

        to the shared drive

        make a new folder called "/cache"

        so the shared drive path should be

        "/RetroPie/cache"
        

        or should it be

        "/RetroPie/pi/cache"
        

        Or should it be

        "d:/Retropie/pi/cache"
        

        or

        "xxx.xxx.x.xxx/RetroPie/pi/cache"
        

        thanks!

        1 Reply Last reply Reply Quote 0
        • R
          raulitob
          last edited by

          Hmm the /cache file is GIGANTIC

          maybe it might be easier to delete it and then adjust the path in the config and rescrape?

          Thanks!

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

            @raulitob said in Moving Default Skyscraper to shared drive.:

            maybe it might be easier to delete it and then adjust the path in the config and rescrape?

            That's not what the cache is for - you should try and keep it. Please re-read my previous post the about how to move the cache. Which folder did you use to mount your file share ?

            1 Reply Last reply Reply Quote 0
            • R
              raulitob
              last edited by

              My file share is on the d drive on my windows 8 pc.

              Right now my roms folder is shared on that drive so my autostart.sh looks like

              sudo mount -t cifs -o username=username,password=password //1xx.xxx.x.xxx/RetroPie/roms /home/pi/RetroPie/roms
              

              So obviously i want skyscraper to save scrape information on that shared folder.

              So your suggestion was

              "move the cache folder there and then set in the .ini file"

              So thats what I want to do

              uncomment the "#" in front of

              #cacheFolder="/home/pi/.skyscraper/cache"
              

              Then should I just make an empty "/cache" folder on the share? so say

              "/RetroPie/cache"
              

              then change the path in the config.ini too

              cacheFolder=d:/RetroPie/cache
              

              Would that be the right path to put in the ini or should it be different?
              Do I even need the d: in the path or how would the config.ini know its going to that
              path on the shared drive? i think the naming of path to the shared drive is what i'm really
              asking about .

              Thank for your help.

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

                You have to read more carefully:

                If you mounted your file share under the /path/to/drive folder, move the cache folder there and then set in the .ini file

                cacheFolder=/path/to/drive/cache
                

                So, you mounted your file share as /home/pi/RetroPie/roms, in this case move the cache folder in /home/pi/RetroPie/roms and add the corresponding line in config.ini.

                cacheFolder=/home/pi/RetroPie/roms/cache
                

                I told you, Linux doesn't understand UNC paths (//xx.yyyzz../) and the d:/blah doesn't make sense on Linux, it's a Windows path.

                1 Reply Last reply Reply Quote 0
                • R
                  raulitob
                  last edited by raulitob

                  Ok so I made the cache folder in the shared drive

                  /RetroPie/roms/cache

                  I then edited the config.ini too

                  cacheFolder="/RetroPie/roms/cache"
                  

                  I ran the scraper to scrape for atari2600

                  The scraper ran for a second then went back to the menu.

                  I then checked the folder on cache drive and nothing was populated.

                  So obviously I have the path wrong

                  Thanks!

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

                    @raulitob I'm sorry, but you're not even trying to read what I said. Can you run, from the command line

                    ls -l  /RetroPie/roms/cache
                    

                    and post the output ?

                    1 Reply Last reply Reply Quote 0
                    • R
                      raulitob
                      last edited by raulitob

                      @mitu said in Moving Default Skyscraper to shared drive.:

                      ls -l /RetroPie/roms/cache

                      pi@retropie:~/RetroPie $ ls -l  /RetroPie/roms/cache
                      ls: cannot access '/RetroPie/roms/cache': No such file or directory
                      
                      pi@retropie:~/RetroPie/roms $ ls -al
                      total 8
                      drwxr-xr-x 2 root root 4096 Jan 25 20:13 .
                      drwxr-xr-x 6 pi   pi   4096 Apr 14  2018 ..
                      drwxr-xr-x 2 root root    0 Jan 25 15:53 atari2600
                      drwxr-xr-x 2 root root    0 Jan 25 16:04 atari5200
                      drwxr-xr-x 2 root root    0 Jan 25 16:08 Atari800
                      drwxr-xr-x 2 root root    0 Jan 25 16:09 atarijaguar
                      drwxr-xr-x 2 root root    0 Jan 25 16:09 atarilynx
                      drwxr-xr-x 2 root root    0 Jan 25 20:13 cache
                      drwxr-xr-x 2 root root    0 Jan 25 16:06 nes
                      drwxr-xr-x 2 root root    0 Jan 25 16:06 snes
                      
                      mituM 1 Reply Last reply Reply Quote 0
                      • mituM
                        mitu Global Moderator @raulitob
                        last edited by mitu

                        @raulitob You need to learn how folders and paths work in Linux. And also read carefully forum posts.
                        In Linux, ~ has a special meaning - it's the home folder of the logged on user and its path is /home/<username>. So you're 2nd listing shows the contents of the ~/RetroPie/roms folder (=/home/pi/RetroPie/roms) and NOT the /RetroPie/roms folder.
                        Please re-read by previous post on configuring the cache folder in Skyscraper's config.ini - which path did I specify ?

                        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.