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.6m 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.
    • muldjordM
      muldjord @Halvhjearne
      last edited by muldjord

      @Halvhjearne It's been requested before, but I don't really see why it would be useful (and it's quite a huge task to code). The data retrieved from the source is the same no matter how much of it Skyscraper decides to use. So it's not relevant for optimization reasons.

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

        @muldjord

        ahh i see, i thought maybe it would put less strain on the servers.

        1 Reply Last reply Reply Quote 1
        • R
          raspy+
          last edited by

          Thanks for the reply to my questions muldjord!

          1 Reply Last reply Reply Quote 1
          • S
            Slow1 @muldjord
            last edited by

            @muldjord thanks a bunch for doing that! :D

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

              @muldjord

              i noticed that it does not scrape scummvm games correctly, perhaps course of the wierd filenames?
              the actual name of the game is actually listet inside the .svm files if that helps any.
              i also noticed the alias.csv (or whatever its called) file to change the output name, but is there a way to tell skyscraper what name it should search for instead of the filename?

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

                @Halvhjearne

                1. It already looks up the name in the scummvm.ini file. I tested this on my own setup only a couple weeks ago. What is the location of your scummvm.ini file?
                2. Yes, check the --query option here :)
                H HalvhjearneH 2 Replies Last reply Reply Quote 1
                • H
                  hhromic @muldjord
                  last edited by

                  @muldjord for the (recent) lr-scummvm core things work a bit different:

                  1. 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.
                  2. The gameid (that is in scummvm.ini file) is instead always in the .svm files inside the game folders. For example you can have atlantis.svm with the string atlantis 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!

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

                    @muldjord

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

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

                      @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

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

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

                        HalvhjearneH 1 Reply Last reply Reply Quote 1
                        • 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
                                            • 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.