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

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

      With Skyscraper 3.0.1 I could delete gamelist.xml, enter RetroPie-Setup, perform the scraping and the gamelist.xml would be generated

      If you chose the "generate game list(s)" option yes. Not while scraping.

      I see the file now. It is odd that it won't recognize it. I even tried renaming it to match the same name, but still no luck. I have no explanation for this currently, but I'll dig a bit deeper. Thanks.

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

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

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

        With Skyscraper 3.0.1 I could delete gamelist.xml, enter RetroPie-Setup, perform the scraping and the gamelist.xml would be generated

        If you chose the "generate game list(s)" option yes. Not while scraping.

        I had apparently not updated the RetroPie-Setup script in a few weeks. I see now that the whole menu has been redone. Problem solved.

        I see the file now. It is odd that it won't recognize it. I even tried renaming it to match the same name, but still no luck. I have no explanation for this currently, but I'll dig a bit deeper. Thanks.

        Okay, thanks.

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

          @muldjord I figured out why now. Stay tuned...

          EDIT: Yes, this is because of un-escaped amperands in the returned xml. The file actually returns a result, but my parser quits because it doesn't see valid xml. I've reported this to the Screenscraper team, hopefully they will be interested in fixing it. If they do it will work without updating Skyscraper.

          B 1 Reply Last reply Reply Quote 2
          • B
            Brunnis @muldjord
            last edited by

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

            @muldjord I figured out why now. Stay tuned...

            EDIT: Yes, this is because of un-escaped amperands in the returned xml. The file actually returns a result, but my parser quits because it doesn't see valid xml. I've reported this to the Screenscraper team, hopefully they will be interested in fixing it. If they do it will work.

            Nice that you found it! That's a pretty major issue... Yep, let's hope they'll fix it.

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

              @Brunnis I've worked around the invalid xml by simply fixing it internally before I parse it. I've just released Skyscraper 3.0.3 where this is fixed. Please try it out with the roms you are having trouble with and let me know how it goes. I've already tested it with the Battletoads file and that worked brilliantly.

              B 1 Reply Last reply Reply Quote 1
              • B
                Brunnis @muldjord
                last edited by

                @muldjord Awesome, now it found every single ROM I have! :-D For some reason, it missed a lot of games when running the first time, but then I immediately ran it again and it found all of them. Perhaps communication issues with screenscraper.fr?

                Anyway, thanks for fixing this so quickly! With these issues fixed, I guess a lot of people will notice an improvement.

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

                  @Brunnis Yes, I am currently going over some of my previously skipped files aswell, and a lot of them are now getting recognized. This is really cool, so thank you for being persistent in getting me to look at this.

                  EDIT: Btw, for anyone using the 'screenscraper' module in Skyscraper, do consider supporting them on patreon or by contributing data to their database. They are doing an amazing job with the new APIv2 (which Skyscraper uses). Same goes for the RetroPie project, please consider supporting them aswell.

                  B 1 Reply Last reply Reply Quote 0
                  • B
                    Brunnis @muldjord
                    last edited by

                    @muldjord No problem, glad I could help! :-)

                    1 Reply Last reply Reply Quote 0
                    • W
                      Wonderbread
                      last edited by Wonderbread

                      I find that I can't rescrape certain games that previously worked with screenscraper. For example:

                      Never mind, it looks like it was a temporary problem with screenscraper. It seems to be working ok for me now.

                      1 Reply Last reply Reply Quote 0
                      • ByteThisB
                        ByteThis
                        last edited by ByteThis

                        @muldjord Is Skyscraper down ? I had been using it via command line and tried to update it today to the lastest version and got an error, then I uninstalled it and tried to re-install it and the same error popped up not allowing it to install from scratch.This is the error:
                        compilation terminated.
                        Makefile:748: recipe for target 'skyscraper.o' failed
                        make *** (skyscraper.o) Error 1

                        I then tried to install it via Retropie Setup and received the error
                        Could not successfully build skyscraper -Scraper for Emulationstation by Lars Muldjord.
                        (/home/pi/Retropie Setup/tmp/build/skyscraper/Skyscraper not found)

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

                          @ByteThis Can you post the complete error log on pastebin.com - you should find the complete log file in ~/RetroPie-Setup/logs.

                          ByteThisB 1 Reply Last reply Reply Quote 0
                          • ByteThisB
                            ByteThis @mitu
                            last edited by ByteThis

                            @mitu Sure here is the one from trying to install via Retropie Setup : https://pastebin.com/r3Sc4CXX

                            I deleted the one from the command line but I will reproduce the error and paste it here.

                            Here is the second log : https://pastebin.com/TeGYj0bD

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

                              @ByteThis Looks really odd. Seems like it is missing a qt5 dependency. It can't find the QStorageInfo headers. This works just fine on my own Pi 3B+. Just for the heck of it, try running:

                              $ sudo apt-get install qt5-default
                              

                              And then try installing it again.

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

                                @ByteThis Ugh, it looks like your Raspbian version doesn't have an up-to-date QT5 install (well, what @muldjord said :) ). Are you running on Raspbian Jessie or older ?

                                ByteThisB 1 Reply Last reply Reply Quote 0
                                • ByteThisB
                                  ByteThis @mitu
                                  last edited by ByteThis

                                  @mitu This build still on jessie. I will try muldjord's suggestion.

                                  @muldjord This is what the output after running that command :
                                  https://pastebin.com/UqrXU2bB

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

                                    @ByteThis I don't think it will help - the install script already installs that package and it's probably already installed from the first time you added Skyscraper.

                                    ByteThisB 1 Reply Last reply Reply Quote 0
                                    • ByteThisB
                                      ByteThis @mitu
                                      last edited by

                                      @mitu I was running Skyscraper fine with jessie until the mishap with the Screenscraper API that @muldjord fixed..lol.

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

                                        @ByteThis Yeah, I have no idea why this would happen... Only thing that springs to mind is a failing SD card. I haven't seen this error before and, as I mentioned, it compiles just fine on my own Pi.

                                        ByteThisB 1 Reply Last reply Reply Quote 0
                                        • ByteThisB
                                          ByteThis @muldjord
                                          last edited by ByteThis

                                          @muldjord Weird..my sd card is fine as it is only about a month old and have been adding roms and such fine with it. Is your newest version of Skyscraper compatible with jessie ? (I imagine it is)

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

                                            No, your QT5 is too old.
                                            Debian Jessie has Qt5.3.2 (https://packages.debian.org/jessie/qt5-default), however @muldjord added a space checking feature recently which requires QStorageInfo. QStorageInfo has been added in Qt 5.4 (https://doc.qt.io/qt-5/qstorageinfo.html), so it's obviously missing on Jessie - there's no card corruption happening.

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