• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login

A Better Way to Scrape?

Scheduled Pinned Locked Moved General Discussion and Gaming
scraper fixretropie 4.5
22 Posts 12 Posters 2.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.
  • Q
    quicksilver @Brigane
    last edited by 2 Apr 2020, 16:03

    @Brigane what's the advantage for appending the gameslist.xml vs overwriting?

    M B 2 Replies Last reply 2 Apr 2020, 16:10 Reply Quote 1
    • M
      mitu Global Moderator @quicksilver
      last edited by 2 Apr 2020, 16:10

      @quicksilver The idea is that the scraper would add artwork/metadata only for the entries that don't have it. It's kind of equivalent of Skyscraper's cache, only that it used the gamelist.xml as a cache to decide to scrape the entry or not.

      @Brigane you can add credentials when scraping using the command line parameters (-ss_user/-ss_password).

      1 Reply Last reply Reply Quote 1
      • B
        Brigane @quicksilver
        last edited by Brigane 4 Feb 2020, 17:12 2 Apr 2020, 16:11

        @quicksilver I had some issues and I don't think I'm the only one. The scraper downloaded the video snaps in small sizes so they somehow became corrupted for some of the games, so the video snap didn't show up in Emulationstation. I have manually added new videos to the games I had problems with, and I don't want the scraper to overwrite them again.

        Systems: Raspberry Pi 0/2/3 Model B+
        Os: RetroPie 4.5
        Frontend: Emulationstation & Attract Mode

        N Q 2 Replies Last reply 2 Apr 2020, 16:17 Reply Quote 0
        • N
          nexusone13 @Brigane
          last edited by nexusone13 4 Feb 2020, 17:28 2 Apr 2020, 16:17

          @Brigane Sometimes you have to recompress video that didn't show up in emulationstation (you can use handbrake or ffmpeg or you can use ARRM to do this by selecting roms you want to convert http://jujuvincebros.fr/wiki/arrm/doku.php?id=compress_video_en ).

          ARRM (Roms Manager, Scraper for Recalbox, Batocera, Retropie, ES...) : http://jujuvincebros.fr/telechargements2/file/10-arrm-another-recalbox-roms-manager
          Wiki : http://jujuvincebros.fr/wiki/arrm/doku.php?id=start-en
          Discord: https://discord.gg/p7QsBTS

          1 Reply Last reply Reply Quote 1
          • Q
            quicksilver @Brigane
            last edited by 2 Apr 2020, 16:19

            @Brigane I believe there is a way for skyscraper to scrape your current gameslist. That way you wouldn't lose any custom work you have done. @muldjord is this possible?

            M 1 Reply Last reply 2 Apr 2020, 19:25 Reply Quote 0
            • M
              muldjord @quicksilver
              last edited by 2 Apr 2020, 19:25

              @quicksilver Yes, Skyscraper can cache the current gamelist.xml data using the -s esgamelist scraping module. It will grab the data from the gamelist and save it in Skyscraper cache, in turn allowing users to re-generating the gamelist with that same data in case they want to avoid Skyscraper overwriting it. But I always advice to make backups of the current gamelist.xml's, simply because people often misunderstand what it does. For instance, if you have composited screenshots in the current gamelist.xml, Skyscraper will import that as a screenshot. But because it is already composited of different artwork, users get confused when they re-generate the gamelist, since Skyscraper also composites from different artwork. So you get sortof a composite inside a composite.

              So -s esgamelistworks best for gamelists containing only raw artwork.

              Q 1 Reply Last reply 2 Apr 2020, 19:29 Reply Quote 0
              • Q
                quicksilver @muldjord
                last edited by 2 Apr 2020, 19:29

                @muldjord said in A Better Way to Scrape?:

                But I always advice to make backups of the current gamelist.xml's, simply because people often misunderstand what it does. For instance, if you have composited screenshots in the current gamelist.xml, Skyscraper will import that as a screenshot. But because it is already composited of different artwork, users get confused when they re-generate the gamelist, since Skyscraper also composites from different artwork. So you get sortof a composite inside a composite.

                Thanks for the warning that makes perfect sense though I probably wouldnt have thought of that.

                1 Reply Last reply Reply Quote 0
                • G
                  George Spiggott
                  last edited by George Spiggott 4 Mar 2020, 19:03 3 Apr 2020, 17:54

                  I think Skyscraper will allow you to import images from a local folder. As a suggestion would it make sense to make the images that are downloaded from Skyscraper's server available as a torrent file? That would allow many more people to access the scraper while taking images from a local PC.

                  Currently running:
                  Retropie 4.8.9 on a Pi Zero 2W (Overclock Settings: CPU 1400Mhz)
                  ES-DE on a GMKtec K6 (Windows 11, 32GB RAM)

                  M 1 Reply Last reply 3 Apr 2020, 19:21 Reply Quote 0
                  • M
                    muldjord @George Spiggott
                    last edited by 3 Apr 2020, 19:21

                    @George-Spiggott Skyscraper doesn't have a server. Skyscraper is the scraping software. Maybe you mean ScreenScraper? Which is one of the sources supported inside Skyscraper.

                    Skyscraper: Scraping software
                    ScreenScraper: Online game data source

                    G 1 Reply Last reply 3 Apr 2020, 19:27 Reply Quote 0
                    • G
                      George Spiggott @muldjord
                      last edited by 3 Apr 2020, 19:27

                      @muldjord Ok thanks. So the same suggestion but using images from Screenscraper or similar then.

                      Currently running:
                      Retropie 4.8.9 on a Pi Zero 2W (Overclock Settings: CPU 1400Mhz)
                      ES-DE on a GMKtec K6 (Windows 11, 32GB RAM)

                      M 1 Reply Last reply 3 Apr 2020, 19:41 Reply Quote 0
                      • M
                        muldjord @George Spiggott
                        last edited by 3 Apr 2020, 19:41

                        @George-Spiggott It's not that simple I'm afraid. To upload such a pack would require the license / permission of the sources to be sorted out and that's just not something I have any interest in looking into.

                        And I'm not really sure it's a great idea either. If a pack was created, you would go from downloading just the data you need per user (as it is now), to downloading all data for all games in a pack even though you don't need all of it. So... It sounds good on paper. But it's a huge waste of bandwidth as I see it.

                        G 1 Reply Last reply 3 Apr 2020, 20:32 Reply Quote 0
                        • G
                          George Spiggott @muldjord
                          last edited by 3 Apr 2020, 20:32

                          @muldjord Yes there would be bandwidth wastage but it would be the users rather than the content providers and as I understand the situation
                          it is currently their bandwidth that is at a premium.

                          That said I'm certainly not trying to force my ideas on the creators. Thanks both for your work and your valued input.

                          Currently running:
                          Retropie 4.8.9 on a Pi Zero 2W (Overclock Settings: CPU 1400Mhz)
                          ES-DE on a GMKtec K6 (Windows 11, 32GB RAM)

                          1 Reply Last reply Reply Quote 0
                          • O
                            OldSchoolGuy @Brigane
                            last edited by 23 Jun 2020, 03:26

                            @Brigane There is, indeed, a way to use log-in info for Sky Scraper when using Selph Scraper.
                            https://github.com/sselph/scraper/wiki

                            In Command Line Flags under the sub-heading "Full List", and about 3/4 of the way down the commands, you will find the options to insert your log-in info. You have to run the scraper from the console and use the command line. You can also use the -console_src ss to force it to prioritize Sky Scraper.

                            As a side note, If you have some stubborn roms that won't scrape, you can edit a copy of the "Hash.csv" file to include the new hashes and then point the scraper at the updated file with -hash_file command. I use this technique all the time to scrape ps1 games that I made into .PBP files since their hashes are not in the original file.

                            If you have lots of roms that you need to get hashes for and add to the hash file, I wrote a nice little Powershell script that does a great job of spitting out hashes for files in lowercase. You can download it from this link:

                            https://drive.google.com/file/d/1saYP91JHvkgK8By60BRChSMakSxj3Sno/view?usp=sharing

                            The script runs on Windows 10 and is safe to use and distribute if you like it or feel it could help someone. The best part is being able to get the hashes output in lowercase, which is a pain in the butt if you are a Windows user.

                            B 1 Reply Last reply 5 Oct 2022, 08:44 Reply Quote 0
                            • B
                              beppi @OldSchoolGuy
                              last edited by beppi 10 May 2022, 09:46 5 Oct 2022, 08:44

                              @OldSchoolGuy This topic appeared to me because I was searching solutions, I'm using Skyscraper on Retropie and it seems like every single rom and every single site that I scrape returns "no roms found", even when a manual check confirms that the roms are actually present on their respective sites. I was wandering if there is a different solution to get those information (info, jpgs and mp4s), for example a torrent.
                              I don't care if this requires a ton of hand work.
                              I thought that there could even be a torrent containing directly the Skyscraper cached information.
                              Any news?
                              thank you very much

                              kiroK 1 Reply Last reply 5 Oct 2022, 09:48 Reply Quote 0
                              • kiroK
                                kiro @beppi
                                last edited by 5 Oct 2022, 09:48

                                @beppi give this a try https://github.com/zayamatias/retroscraper

                                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.

                                  This community forum collects and processes your personal information.
                                  consent.not_received