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

    Scraper not saving information

    Scheduled Pinned Locked Moved Help and Support
    19 Posts 6 Posters 13.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.
    • J
      johnnypanic @mediamogul
      last edited by

      @mediamogul Ok, using WinSCP and looking in home/pi/RetroPie/BIOS/Databases (Is that the correct place to look?), I only have gameslists .xml files for some systems, none of which are the ones I have installed. However I have a brand new version of RP/ES and haven't moved anything. I don't have a backup - is there anyway to generate these, or am I looking in the wrong place before I begin?

      mediamogulM RiverstormR 2 Replies Last reply Reply Quote 0
      • mediamogulM
        mediamogul Global Moderator @johnnypanic
        last edited by mediamogul

        @johnnypanic said in Scraper not saving information:

        However I have a brand new version of RP/ES and haven't moved anything.

        Seeing as how it's practically a fresh install now, you really have nothing to lose by starting over to solve this problem. However, you want to try to make sure it doesn't happen again. When you first launched your setup, did you go into the "Retro Pie" settings, update your setup script and then run a full update? If you didn't, try doing it next time. If you did, try not doing it.

        RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

        J 1 Reply Last reply Reply Quote 1
        • RiverstormR
          Riverstorm @johnnypanic
          last edited by Riverstorm

          @johnnypanic said in Scraper not saving information:

          @mediamogul Ok, using WinSCP and looking in home/pi/RetroPie/BIOS/Databases (Is that the correct place to look?)

          I don't think that is correct. Try looking under /opt/retropie/configs/all/emulationstation/gamelists/

          Try exiting ES to a prompt and you should see the path of the missing files if that's not correct. Check one of those files. If it is a zero byte file then you have a problem that Media pointed out above. All the files should have something in them. You can also check your RetroPie emulator menu and verify it has long/full names vs the short command line names.

          It's completely a preference but I store my gamelist.xml (once it's created) right with my ROMs in the same folder and also locate the images in the same directory named ./images/. ES seems to check the ROMs folder for the presence of a gamelist.xml file first. The image path is really optional in the gamelist.xml but it sure makes it easy to backup one folder that has all my ROMs, gamelist.xml and images all in one directory. In fact I backup the whole roms folder with the emulators I am using and restore ALL emulator ROMs, images and gamelist.xml's with one drag and drop with WinSCP.

          J 1 Reply Last reply Reply Quote 0
          • J
            johnnypanic @Riverstorm
            last edited by

            @Riverstorm

            Ok, looking in the path you described: /opt/retropie/configs/all/emulationstation/gamelists/ there are gameslist.xml files in each of the folders I have systems for, all of which seem to be populated correctly, save for the Atari 7800 folder which simply reads:

            <?xml version="1.0"?>
            <gamelist />

            Although I'm not too bothered about that one as there are only a few titles in there. If the files are there, how come they're classed as missing when the ES is shut down? (it gives the pathways on the error message as not being in the roms folder itself - should I copy them over to the roms folders also?).

            And if the data on these files are there, why is it not storing information when I scrape, is it because they're not in that file?

            1 Reply Last reply Reply Quote 0
            • J
              johnnypanic @mediamogul
              last edited by

              @mediamogul If I can't get it sorted, would you not recommend a full update to attempt to solve the issue? If a new install isn't helping, would an update remove my roms, but still give the chance that it would not save information?

              mediamogulM 1 Reply Last reply Reply Quote 0
              • mediamogulM
                mediamogul Global Moderator @johnnypanic
                last edited by mediamogul

                @johnnypanic

                Yeah, as a first step, I would update the setup script & do a full system update to what you have now, but if that doesn't do it, I would start over fresh. I normally like to work through a problem rather than nuking from orbit in most cases, but since you have little to no time invested in this installation, I would consider starting over if all else fails.

                RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                1 Reply Last reply Reply Quote 0
                • RiverstormR
                  Riverstorm
                  last edited by Riverstorm

                  @johnnypanic

                  I agree with Media if you don't have a lot of time invested maybe start over as something still seems wrong with the continued errors. I don't scrape from the menu so I don't have much experience with it.

                  I usually exit ES (this is important even if using Putty, etc. or it will fail to work properly) and work from the prompt. It creates gamelist.xml right in with the ROMs and it also creates an image folder for images. I usually use WinSCP to backup my gamelist.xml right away as once you run ES it reorganizes the file and changes things around and also removes some items like the mamedb tags, etc. I keep the original to add or modify ROMs as needed. Here's the steps I usually do:

                  Check https://github.com/sselph/scraper/releases for the latest release version/name
                  wget https://github.com/sselph/scraper/releases/download/<release_name>/scraper_rpi2.zip
                  sudo unzip scraper_rpi2.zip scraper -d /usr/local/bin/ to unpack the files
                  sudo rm scraper_rpi2.zip optionally remove the zip
                  cd ~/RetroPie/roms/nes or whatever emulator you want to scrape
                  scraper with any optional parameters you prefer

                  J 1 Reply Last reply Reply Quote 1
                  • J
                    johnnypanic @Riverstorm
                    last edited by

                    @Riverstorm Ok, I seem to have cracked it for the most part on a new setup. The only one I'm having issues with now is the fba folder. Any idea what parameters you use for that one, as 'scraper -fba' doesn't seem to work, like it did when scraping mame roms.

                    RiverstormR L 2 Replies Last reply Reply Quote 0
                    • RiverstormR
                      Riverstorm @johnnypanic
                      last edited by Riverstorm

                      @johnnypanic said in Scraper not saving information:

                      @Riverstorm Ok, I seem to have cracked it for the most part on a new setup. The only one I'm having issues with now is the fba folder. Any idea what parameters you use for that one, as 'scraper -fba' doesn't seem to work, like it did when scraping mame roms.

                      Take a look at this thread all the parameters for scraper are there about half way down.

                      https://retropie.org.uk/forum/topic/217/scraping-scummvm-games/6

                      EDIT: Try the -mame switch as FBA would fall under that category I think.

                      J 1 Reply Last reply Reply Quote 0
                      • J
                        johnnypanic @Riverstorm
                        last edited by

                        @Riverstorm @mediamogul Awesome, it's now sorted. Every rom on there now has the info - things are a lot clearer. No more errors for missing .xml files on shutdown either. Thanks a lot for the help guys!

                        RiverstormR 1 Reply Last reply Reply Quote 0
                        • RiverstormR
                          Riverstorm @johnnypanic
                          last edited by

                          @johnnypanic said in Scraper not saving information:

                          @Riverstorm @mediamogul Awesome, it's now sorted. Every rom on there now has the info - things are a lot clearer. No more errors for missing .xml files on shutdown either. Thanks a lot for the help guys!

                          That's great. It's a nice feeling once you get all up and running that way you like. :)

                          1 Reply Last reply Reply Quote 1
                          • L
                            lphillimore @johnnypanic
                            last edited by

                            @johnnypanic Hey, any specifics on the build or fresh install steps that worked for you? Im going mad here trying to get this scraper to work. Originally tired on my original build but no joy. Just re-imaged to the latest release, updated the startup script, setup the scraper via f4 command line (and updated it) yet when i go back into emulisation, no info or images on any of the roms.

                            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.