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

    Versatile C++ game scraper: Skyscraper

    Scheduled Pinned Locked Moved Ideas and Development
    skyscraperscrapergamelist.xmlscrapinggithub
    1.6k Posts 113 Posters 1.5m 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.
    • HalvhjearneH
      Halvhjearne @muldjord
      last edited by

      @muldjord

      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?

      muldjordM 1 Reply Last reply Reply Quote 0
      • muldjordM
        muldjord @Halvhjearne
        last edited by muldjord

        @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.

        HalvhjearneH 1 Reply Last reply Reply Quote 1
        • HalvhjearneH
          Halvhjearne @muldjord
          last edited by

          @muldjord

          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.

          muldjordM H 2 Replies Last reply Reply Quote 0
          • muldjordM
            muldjord @Halvhjearne
            last edited by

            @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.

            H HalvhjearneH 2 Replies Last reply Reply Quote 0
            • H
              hhromic @muldjord
              last edited by

              @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.

              1 Reply Last reply Reply Quote 0
              • H
                hhromic @Halvhjearne
                last edited by hhromic

                @Halvhjearne said in Versatile C++ game scraper: Skyscraper:

                @muldjord

                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 of lr-scummvm the folder itself is named properly. I understand Skyscraper also supports TheGamesDB, so maybe you should prefer that source for your ScummVM games?

                HalvhjearneH 1 Reply Last reply Reply Quote 0
                • HalvhjearneH
                  Halvhjearne @hhromic
                  last edited by

                  @hhromic

                  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.

                  H 1 Reply Last reply Reply Quote 0
                  • H
                    hhromic @Halvhjearne
                    last edited by

                    @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.

                    muldjordM 1 Reply Last reply Reply Quote 0
                    • muldjordM
                      muldjord @hhromic
                      last edited by

                      @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.

                      H 1 Reply Last reply Reply Quote 0
                      • H
                        hhromic @muldjord
                        last edited by hhromic

                        @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?

                        muldjordM 1 Reply Last reply Reply Quote 0
                        • muldjordM
                          muldjord @hhromic
                          last edited by

                          @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.

                          1 Reply Last reply Reply Quote 0
                          • HalvhjearneH
                            Halvhjearne @muldjord
                            last edited by

                            @muldjord

                            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.

                            @hhromic

                            iirc the lr-scummvm is still in experimental, so i am probably using the regular version, but i will check it out.

                            muldjordM 1 Reply Last reply Reply Quote 0
                            • muldjordM
                              muldjord @Halvhjearne
                              last edited by

                              @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.

                              HalvhjearneH 1 Reply Last reply Reply Quote 0
                              • HalvhjearneH
                                Halvhjearne @muldjord
                                last edited by

                                @muldjord

                                /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.

                                muldjordM 1 Reply Last reply Reply Quote 0
                                • muldjordM
                                  muldjord @Halvhjearne
                                  last edited by muldjord

                                  @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.

                                  HalvhjearneH 2 Replies Last reply Reply Quote 0
                                  • HalvhjearneH
                                    Halvhjearne @muldjord
                                    last edited by Halvhjearne

                                    @muldjord

                                    that worked ... but without the .svm part

                                    edit:
                                    for Gobliiins, but not for atlantis

                                    its 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).

                                    muldjordM 1 Reply Last reply Reply Quote 1
                                    • muldjordM
                                      muldjord @Halvhjearne
                                      last edited by

                                      This post is deleted!
                                      1 Reply Last reply Reply Quote 0
                                      • muldjordM
                                        muldjord
                                        last edited by muldjord

                                        Just a heads up to all Skyscraper users. From 3.0.0 "localdb" will change name entirely to "cache". It's another of the big changes in 3.0.0, which means that a lot of config variables will change name and the old ones will be removed. I realize this might seem inconvenient for current users, but this really is a change that needed to happen as the "localdb" name was rather confusing when I often used it in conjunction with "cache" since it's the same thing.

                                        @mitu Is the localdb name used in the script? I can't remember. Please change it to "cache" instead if it is.

                                        EDIT: --purgedb vacuumwill become --cache vacuum & --purgedb all will become --cache purge:all. Also, the ~/.skyscraper/dbs folder will become ~/.skyscraper/cache. This will automatically be renamed for users when they run Skyscraper the first time after updating to 3.0.0.

                                        mituM 1 Reply Last reply Reply Quote 1
                                        • HalvhjearneH
                                          Halvhjearne @muldjord
                                          last edited by

                                          @muldjord

                                          i mananged to scrape all my games like this just using the shortnames, which in most cases is the same as the svm filename, except when its called something like kq6-cd or gob1cd-us.
                                          in those cases i just used the real shortname from scummvm, alltho a game like the sci remake of larry i had to search for lsl1sci and for vga remake of quest for glory i searched for qfg1vga, which is ofcourse also the "real" shortnames for those games.

                                          1 Reply Last reply Reply Quote 0
                                          • mituM
                                            mitu Global Moderator @muldjord
                                            last edited by

                                            @muldjord I think there's one place in the help section referring to LocalDB. Does this mean also -s localdb is now -s cache ?

                                            I'll have to fix the purge commands then, in the new version I used the purgedb commands instead of manually removing the cache data.

                                            But this last change will create an incompatibility with the old installations - if the script is updated without updating Skycraper script or vice-versa (script updated, but not Skyscraper).

                                            muldjordM 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.