Skyscraper - preload hashes?
-
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?
-
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. -
@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!
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.