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
      last edited by muldjord

      Skyscraper 2.3.2 released: https://github.com/muldjord/skyscraper

      • Added support for 'wii' and 'gc' platforms
      • Added '.chd' format to a bunch of platforms
      • Added more robust filtering of the faulty screenscraper 'hack-Link' results

      It now looks for "hack" and "Link" and if both exist in the title it skips it. So it'll work for both ".hack-Link" and ".hack//Link". Please let me know if the issue persists in any form.
      Also added two new platforms per user request and a bunch of file formats to new and existing platforms. :)

      Happy scraping!

      1 Reply Last reply Reply Quote 2
      • ?
        A Former User
        last edited by

        Curious, what happens if you want to scrape the game .hack//Link?

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

          @livefastcyyoung Haha, yeah, I thought about that myself and it simply won't. I could do some further checks, for instance check if the platform is "psp" and then allow it anyways, but what if other psp results are faulty? Of course there is a way to get around all of that, but frankly I don't feel like it's worth plastering my code with all sorts of weird checks, just to let people scrape that one game. :) So I hope people are ok with that. At least until screenscraper fixes the problem and I can remove the checks again.

          1 Reply Last reply Reply Quote 1
          • B
            bleuge
            last edited by bleuge

            Users with experience scraping, do you have edited or used the priorities.xml file, general? per platform?
            Any tips about best sources for each platform?

            I am thinking to delete my localdb and rescrape everything, as i think i have some kind of mess after all the tests and learning about this in the last weeks.
            Thanks

            AnalogHeroA 1 Reply Last reply Reply Quote 0
            • AnalogHeroA
              AnalogHero @bleuge
              last edited by

              @bleuge I didnt edit any of those except for amiga. Im also not sure about that. Im always using all sources.

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

                By popular request Skyscraper is now upgradeable. To get the updateable release go to https://github.com/muldjord/skyscraper and follow the installation instructions. After you've installed it you can update it using the new update_skyscraper.sh script. :)

                S 1 Reply Last reply Reply Quote 1
                • B
                  bleuge
                  last edited by

                  @muldjord I see sometimes this text in the output

                  '.known option 'pretend

                  Literal text. Is this right?

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

                    @bleuge I don't understand. It looks like part of a message about the "pretend" option. Maybe a spelling error in your script somewhere? That's my best suggestion.

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

                      @muldjord For the Skyscraper update script can I install it on top of the current script or do I need to delete everything again?

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

                        @sammyboy Delete everything just to be sure. Then from the next release, you can just run "update_skyscraper.sh"

                        1 Reply Last reply Reply Quote 0
                        • S
                          snock
                          last edited by

                          When compiling it in the rpi3 it gives me error, in archlinux no.

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

                            @snock I need a bit more information than that to help you. What error? Did you install Qt5 succesfully before installing as per the instruction on the github page? Are you using the official RetroPie 4.3 image?

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

                              @muldjord yes . It is rare that running the script as the wiki says failed me when compiling. But doing qmake && make && sudo make install works. Thanks for your quick response.

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

                                @snock I would very much like to know what problems you had specifically. If there's an error in the script I need to fix it. Did the script not work for you? What was the cause? Thank you.

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

                                  Skyscraper version 2.3.3 released: https://github.com/muldjord/skyscraper

                                  • Added 'hue' effect which changes the hue of the image
                                  • Added 'saturation' effect which changes the color saturation of the image
                                  • Added 'colorize' effect which renders the image using a single hue
                                  • Added 'rotate' effect that rotates the parent layer around the x, y or z axis
                                  • Added layer render 'mode' attribute ('overlay', 'colordodge', 'hardlight' and so on)
                                  • Added layer 'opacity' attribute (0-100)
                                  • Improved front and side textures for the 'gamebox' effect
                                  • Optimized search passes a bit
                                  • Re-added platform checking on 'screenscraper' and added all arcade platforms as aliases

                                  This release is mostly a polishing release. I added a bunch more compositing effects and updated the gamebox textures to be a lot more cool looking.
                                  If you have the "update_skyscraper.sh" script (most 2.3.2 users should have it) you can get this new release simply by running that. Otherwise go to the github page and follow the instructions on there.

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

                                    Skyscraper version 2.3.4 released: https://github.com/muldjord/skyscraper

                                    • 'gamebox' effect no longer cuts top and bottom from source layer
                                    • 'gamebox' effect now handles side artwork that is too tall
                                    • Optimized localdb mutexes
                                    • Fixed issue where searchName could be empty and cause Skyscraper to stall for 15 minutes
                                    • Now no longer runs screenscraper sha1 and md5 passes if filesize is 0

                                    This is mostly a bugfix and polish release. Rare cases where Skyscraper would stall for 15 or more minutes should now be a thing of the past. I've also fixed it so screenscraper now no longer runs the sha1 and md5 passes if the filename in question is empty (such as the scummvm dummy files).

                                    Happy scraping!

                                    1 Reply Last reply Reply Quote 2
                                    • B
                                      bleuge
                                      last edited by

                                      Thanks for updates and for fixing the network stall i was getting!

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

                                        @bleuge You're welcome. I finally got a stall myself, so I could reproduce it, figure out what made it happen, and fix it! :)

                                        1 Reply Last reply Reply Quote 2
                                        • muldjordM
                                          muldjord
                                          last edited by muldjord

                                          Heads up everyone. Skyscraper seems to currently be broken to some degree. I've been getting messages from people about artwork being mixed up for a while, but I never really was able to reproduce this myself unless it was for games that had close relation in their titles (which didn't surprise me as my scraper is very much filename based and duplicates would be expected from time to time).

                                          But now, I am getting some really weird results. Screenshot from "Airborne Ranger" suddenly being saved in localdb for "Akira". This should NOT happen.

                                          So while I investigate (this could take a loooooong time), I felt like I needed to inform you of this issue.

                                          Also, I will be without internet from sunday and two weeks forward. So I won't be available for support or comments during that time.

                                          1 Reply Last reply Reply Quote 2
                                          • muldjordM
                                            muldjord
                                            last edited by muldjord

                                            Quick update: I am hopeful I've FINALLY tracked down where the data gets mixed up between games. As I've mentioned earlier I was at a loss as to where this could happen since all of my game data structures are in-scope and get thrown out before moving on to the next game. So so far I thought the culprit was my local database, since I share it between threads. But, IT IS NOT!!! After much testing and COMPLETELY removing the local database from my loop, it still happened!

                                            So what might be causing this? Well, there's a little thing called caching inside of Qt's own network request thingamabob. And as it turns out, that internal piece of data doesn't seem to always get cleared correctly before I make a new network request. And for some i-have-no-idea-how reason, it sometimes gets skewed and starts always returning the data from the previous game...

                                            So am I 100% certain of this? No, I am not. But I just added code to clear the cache before each new network request, and after I compiled it I've been testing it 10 times (so far) and haven't been able to make it mix stuff up again. That's why I'm cautiously optimistic.

                                            The longest I have been able to get a success streak before the cache clearing fix was 3 times in a row. So now being at 10 without flaws makes me hopeful. I'll keep testing for the remainder of the day.

                                            If all goes well I'll release 2.3.5 with a fix before I go full caveman the next two weeks without internet.

                                            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.