-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Looking to download whole database for libretro project #79
Comments
Please don't run a HTML scraper at least :) If you can code in python, you can quite easily extract the information from the local copies of the database that FS-UAE Launcher downloads (i.e. Amiga.sqlite). That's the entire database. It consists of a table with uuid and a binary blob of the json data for that entry. See GameDatabase.py from FS-UAE Launcher for more code, but some relevant snippets:
and to get a JSON document from the compressed data:
|
I might create a whdload_archivename field in the database to register what the archive name is, compatible with Retroplay's naming... |
I write a small scripts with dumps the entire local database (e.g.
|
I'm uploading a |
Ok that's super cool. Do you happen to have a link to wget the Amiga.sqlite database? |
The Amiga.sqlite database isn't available anywhere, it is created locally by FS-UAE Launcher. It is possible to download the entries from openretro.org via the same way that the Launcher does when it updates Amiga.sqlite, but the API isn't currently documented (apart from by the source code in FS-UAE Launcher). |
Basically i want a competitor to have images.
Retroplay whdload set provides a set of dats; which on their whdload subset (not hd or beta whdloads unfortunately), often have a variant entry in your database.
Getting the 'x_name' and 'variant_name' derived from the filenames of these sets with their dats is straightforward, just a question of replacing '_' by ', ', replacing the first token (name) by 'WHDLoad' and there you have the 'variant_name' etc.
Now i'm looking for a way that doesn't hit your database to get your info and maybe images, to get the 'real' name of the game based on that property to get the parent_uuid and get it that way, and maybe associate a image to it (either from your downloable pack or trying to tie in the 'standard' name to the amiga images libretro-db already has).
Can one download your db for this? And do you have any advice, ie, is x_name or variant_name enough for this?
Maybe i should just scrape in python?
The text was updated successfully, but these errors were encountered: