Versatile C++ game scraper: Skyscraper
-
@muldjord for the (recent)
lr-scummvm
core things work a bit different:- Games do not need to be added to the
scummvm.ini
file, which is located in$biosdir/scummvm
. Users can add them manually but for "plug-and-play" operation it is not necessary so games might not appear there. - The gameid (that is in
scummvm.ini
file) is instead always in the.svm
files inside the game folders. For example you can haveatlantis.svm
with the stringatlantis
inside. That is where you should be looking for the game ids.
So I would scrape the svm files indeed by reading their content for the game ids. See more information on how the games are setup in this topic. I plan to write official documentation about the core as soon as I have more time. Cheers!
- Games do not need to be added to the
-
if thats the case, i think it fails sometimes, for me it only writes correct names when i write them in aliasMap.csv.
i also think there is something funky going on with the brackets removal ... its a bit hit and miss for each console, but seems to work well with most nintendo and sega games or fba and mame with arcadeitalia only.is there a way to use aliasMap.csv for only one/each platform?
thanks, i think i missed that option ... :)
-
@Halvhjearne said in Versatile C++ game scraper: Skyscraper:
is there a way to use aliasMap.csv for only one/each platform?
No, it's global
-
@Halvhjearne said in Versatile C++ game scraper: Skyscraper:
i also think there is something funky going on with the brackets removal ... its a bit hit and miss for each console, but seems to work well with most nintendo and sega games or fba and mame with arcadeitalia only.
I'd need a better description than that to look into it. :D "Funky" can be pretty much anything. Are they missing where you expect them to be? Are they there where you expect them not to be. My guess is that it is because of how some sources return their titles and how other don't. So if that is the case, it's not a Skyscraper issues but rather what the sources return. I can't change that.
The one important thing I'd like to know is if brackets show up in some cases where you have them disabled. If that's the case, then it's a Skyscraper issue and I'd like to know about away to reproduce it so I can fix it.
-
i only noticed times where i wanted the brackets and didnt get them, as an example i have in aliasmap.csv "loom-fm;Loom (FM-TOWNS/English)", but it still insists on removing the brackets no mater if its set to true or false in config.ini.
if i scrape fba with arcadeitalia i get brackets, if set to true.
scraping fba with screenscraper will have no brackets, but i guess thats cause of what is returned to skyscraper? -
@Halvhjearne said in Versatile C++ game scraper: Skyscraper:
if i scrape fba with arcadeitalia i get brackets, if set to true.
scraping fba with screenscraper will have no brackets, but i guess thats cause of what is returned to skyscraper?Yes, exactly. arcadedb has a lot of brackets in their titles. screenscraper doesn't.
I'll consider the rest, I can see the issue with aliasMap ignoring the brackets. It's working as intended, but it's confusing, I can see that.
-
i still dont understand how there are so little matches for scummvm games?
it seems to me that it is searching for the filename, which will obviusly not give many matches cause of the wierd filenames and if it does its most likely the wrong game.i tried a few times with the query option, but i cant seem to get a hit with that either.
i think i managed to scrape 3 of 60 and atleast 1 is the wrong game.
-
@Halvhjearne No, it scrapes scummvm games by looking them up in scummvm.ini. But if that isn't used by the lr-scummvm core, then that's why that stopped working for you. I will of course look into updating that implementation once it solidifies.
-
@muldjord said in Versatile C++ game scraper: Skyscraper:
I will of course look into updating that implementation once it solidifies.
You mean the
lr-scummvm
scriptmodule? I would say it is pretty much stable now. Let me know if you have questions, but I think there is not much to add to what I already explained some posts ago. -
@Halvhjearne said in Versatile C++ game scraper: Skyscraper:
i still dont understand how there are so little matches for scummvm games?
it seems to me that it is searching for the filename, which will obviusly not give many matches cause of the wierd filenames and if it does its most likely the wrong game.i tried a few times with the query option, but i cant seem to get a hit with that either.
i think i managed to scrape 3 of 60 and atleast 1 is the wrong game.
The integrated ES scraper, that used TheGamesDB worked pretty well with ScummVM games as long as the
.svm
file is named properly or in the case oflr-scummvm
the folder itself is named properly. I understand Skyscraper also supports TheGamesDB, so maybe you should prefer that source for your ScummVM games? -
yes, but unfortunately i already used up my requests for thegamesdb.
however i looked up the games manually on screenscraper and most of them are actually there, they are just not found correctly for some reason. -
@Halvhjearne can you confirm if you are using the standalone or the libretro version of scummvm?
If you are using the libretro version, I can recommend you to name the
.svm
files with the full name of the game too. For the libretro core it doesn't actually matter as long as the content of the.svm
file remains with the proper gameid. For example You can have:/home/RetroPie/roms/scummvm/Indiana Jones and The Fate of Atlantis.svm/ <- note the "extension" in the name of the folder ATLANTIS.001 ATLANTIS.002 Indiana Jones and The Fate of Atlantis.svm <- with "atlantis" inside :
If skyscrapper not only looks on the
scummvm.ini
that should help it get the correct name for scraping from the.svm
files. On the other hand if skyscraper only looks in the config file for the names, then it won't work I guess in the current version. @muldjord should advise better. -
@hhromic Skyscraper look up the filename in the scummvm.ini file and uses the long name in the corresponding section for lookups for modules that are search based. Screenscraper is not, so it won't work with that either way.
-
@muldjord so just to confirm I understand:
For the scummvm platform, Skyscraper only tries to get the game title (long name) from the
scummvm.ini
file and always ignores the actual.svm
file name? -
@hhromic For the search based scraping modules, yes. For screenscraper it uses the filename directly as that's what they support for scummvm games. Checksumming the svm files clearly wouldn't make much sense.
-
i just tried searching manually on screenscraper for some of the filenames and then after with skyscraper using the query option, but it dosnt seem to get any hits even tho there is only one game returned from the search on the website.
a god example would be atlantis, as the only game that shows up on a screenscraper search is " Indiana Jones and the Fate of Atlantis" but skyscraper returns nothing for this game.
another would be gob1, which only returns "Gobliiins" on screenscraper, but skyscraper returns nothing.
iirc the lr-scummvm is still in experimental, so i am probably using the regular version, but i will check it out.
-
@Halvhjearne Some examples command lines would be helpful. I know it works, so I can't really help you without specific command that won't work for you. Then I can tell you what's going wrong.
-
/opt/retropie/supplementary/skyscraper/Skyscraper --unattend -g /home/pi/RetroPie/roms/scummvm -o /home/pi/RetroPie/roms/scummvm/media --relative -p scummvm -s screenscraper --refresh --query "atlantis" /home/pi/RetroPie/roms/scummvm/atlantis.svm
i also tried:
/opt/retropie/supplementary/skyscraper/Skyscraper --unattend -g /home/pi/RetroPie/roms/scummvm -o /home/pi/RetroPie/roms/scummvm/media --relative -p scummvm -s screenscraper --refresh --query "Indiana+Jones+Atlantis" /home/pi/RetroPie/roms/scummvm/atlantis.svm
or
/opt/retropie/supplementary/skyscraper/Skyscraper --unattend -g /home/pi/RetroPie/roms/scummvm -o /home/pi/RetroPie/roms/scummvm/media --relative -p scummvm -s screenscraper --refresh --query "gob1" /home/pi/RetroPie/roms/scummvm/gob1cd-us.svm
if i go to the screenscraper website and search for atlantis under scummvm games, the only one that comes up is the correct one (Indiana Jones And The Fate Of Atlantis) if i search for gob1, the only one that comes up is Gobliiins.
im pretty sure if you search for the shortname of any of the scummvm games on screenscraper, it will find the correct one every time.
-
@Halvhjearne It's because your query isn't complete. As per the documentation, screenscraper is not search name based in the same way as some of the other modules. You'd instead need
--query "romnom=atlantis.svm"
if that's one of the files that's on screenscraper (I haven't checked). But it's in the documentation. -
that worked ... but without the .svm part
edit:
for Gobliiins, but not for atlantisits a bit hit and miss, but it does finds a lot of the games this way
edit:
if i add .scummvm to the shortname, i belive it will find all my games ... except when the svm filename differs from "the real shortname", as an example Gobliiins shortname is "gob1" but the svm file is for some reason called gob1cd-us (probably cause its a later cd release).
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.