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

Skyscraper - preload hashes?

Scheduled Pinned Locked Moved Ideas and Development
skyscraperchd
3 Posts 2 Posters 255 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.
  • M
    mudhed
    last edited by 23 Feb 2020, 20:28

    Re: Versatile C++ game scraper: Skyscraper

    @muldjord Is it possible to preload the hashes before running the scraping?

    My situation: PSX games packaged up as CHD don't match to anything on screenscraper, so I've got some bad data in my scrapes. I've got a script to convert cue/bin to chd, and it'd be cool if I could dump the hash of the cue file somewhere as part of the script to preload the scraper. I'm doing that on my file server which is way faster at hashing than the pi, so it'll also speed things up.
    I tried manually adding some hashes to the quickid.xml, but it doesn't seem to pick it up before it scrapes into the cache.

    Perhaps I'm thinking about this the wrong way and there's a better solution?

    1 Reply Last reply Reply Quote 0
    • M
      muldjord
      last edited by muldjord 23 Feb 2020, 21:52

      EDIT: You should probably post questions about Skyscraper in the support forum instead.

      No need to mess with the quickid.xml. That won't work. You can try using the --query option. That allows you to overwrite the hashing it sends to ScreenScraper. But you'd need to do it per individual file like so:

      Skyscraper -p psx -s screenscraper --query "md5=HASH" FILENAME
      

      That will scrape the game as you request. And the data will be saved under the file you have, so it will work when generating the gamelist just as it is.

      Just look up the game on ScreenScraper and find a valid MD5 checksum for the game and use that.

      EDIT: Also consider using the thegamesdb module instead. It doesn't rely on checksums but instead uses the filename as search query. So as long as you have good filename conventions (eg "Game Name II (Europe).chd" or similar) it will give you good results.

      M 1 Reply Last reply 24 Feb 2020, 01:57 Reply Quote 0
      • M
        mudhed @muldjord
        last edited by 24 Feb 2020, 01:57

        @muldjord Thanks - that works well. I've modified my script output a one-liner to execute Skyscraper as you suggest. It'd be nice if there was a way to pipe a bunch of those "--query "md5=HASH" FILENAME" pairs into the cmd, so it could minimize the startup/rampdown stuff and provide better progress tracking.

        But, it moves me forward. Thanks a ton!

        1 Reply Last reply Reply Quote 1
        3 out of 3
        • First post
          3/3
          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