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.
    • S
      SammyBoy @muldjord
      last edited by SammyBoy

      @muldjord I'm sorry I've been asking many questions but the truth is I should have read the wiki first. But thanks to your help I'm pretty positive that the scrapings will turn out good. Thanks for all your help and I'll keep the any unnecessary questions out the way.

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

        @sammyboy I don't mind questions if it helps develop the documentation. And I can understand if it seems daunting to get into how Skyscraper works. So if you find something in the documentation that needs further explaining please let me know.

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

          @muldjord OK I've got it.

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

            @muldjord @SammyBoy Forgot to mention that there is an error in the artwork.xml. One ">" is missing after "layer"

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

              @muldjord can you also add ports in the next skyscraper release. As well as this can you give me an estimated time of the next skyscraper release? Thanks

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

                @sammyboy Ports won't be supported for the time being. Next release is imminent. :) Check the next post

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

                  Removed for clarity. Check next release post 2 posts further down.

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

                    @muldjord Can you implement ports for the next update and do I need to delete the old skyscraper files in order to update to 2.2.5? As well as this could I manually allow ports to be scraped if I added ports to the platform.pp file and compiled skyscraper?

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

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

                      • Improved artwork 'shadow' effect. Now renders correctly on artwork with transparency
                      • Added '(uncached)' to terminal output for media types that user has disabled for caching
                      • Now always uses existing cached resources when scraping with any scraping module. Use '--updatedb' to force a refresh
                      • Improved 'artwork.xml' parser to better handle xml syntax problems
                      • Improved '--cleandb' so it always resaves the db after a cleaning run
                      • Updated 'simple mode' to also include questions about '--forcefilename' and '--updatedb'
                      • Now always converts images to 16bit externally. Still uses 32bit internally
                      • Added 'pc' and 'ports' platforms

                      Happy scraping! :)

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

                        @sammyboy Please re-download 2.2.5 (delete your files, and follow the instructions from the beginning again). I have now included 'ports' as you requested. :)

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

                          @muldjord Thank you so much

                          1 Reply Last reply Reply Quote 1
                          • S
                            SammyBoy
                            last edited by

                            @muldjord is there an ETA for skyscraper version 2.2.6 and do you know anything about how retropie themes work? (please see artbook theme thread if you do)

                            chipsnblipC 1 Reply Last reply Reply Quote 0
                            • chipsnblipC
                              chipsnblip @SammyBoy
                              last edited by

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

                              @muldjord is there an ETA for skyscraper version 2.2.6 and do you know anything about how retropie themes work? (please see artbook theme thread if you do)

                              can you give the guy a break? geez. you have basically hijacked this thread and turned it into your own personal support thread. you can subscribe to the commit feed on github for updates, but can you please refrain from spamming this thread anymore?

                              1 Reply Last reply Reply Quote 2
                              • S
                                SammyBoy
                                last edited by

                                @chipsnblip ok I'll stop spamming stuff on this thread because I know that he works hard on this stuff. And @muldjord sorry for being so annoying.

                                1 Reply Last reply Reply Quote 1
                                • A
                                  aphyx
                                  last edited by

                                  @muldjord First of all, love what you’re doing with Skyscraper. It’s a cracking scraper – fast, efficient, and the Simple mode works very well. Keep up the good work!

                                  I have a question which I’ve not been able to find the answer to after much searching and experimenting:

                                  The gamelist.xml file produced by Skyscraper is populating the <image> node with screenshots, whereas my theme (Art book) requires the boxart / cover to populate the <image> node (it ignores the <cover> node entirely). I’m keen to keep all the image types in the db, so don’t want to simply copy / replace the covers onto the screenshots, and try and I may I cannot get the artwork.xml to produce the required <image> node. The other scrapers I use put the boxart / cover in the <image> node, but I’m keen to use Skyscraper as my default from now on.

                                  I’m assuming that the nodes and their scraped content are hard-coded by Skyscraper, but is there any way I can edit the config / src files to get it to populate the <image> node with the cover art? I tried editing the code in emulationstation.cpp to do just that but it doesn’t seem to have worked. Have I got a config setting wrong somewhere?

                                  My workaround for now is a series of find / replace tasks in a text editor, but I’d love to be able to get this excellent scraper to output the perfect xml file for my theme.

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

                                    @aphyx Check the artwork.xml documentation. You can add an <artwork type="screenshot"> node that has the <layer type="cover"> inside. It will then export the cover as the screenshot (which populates the <image> node as you request).

                                    Concerning the <cover> node I can't remember if I export that currently. I think I do, but I am on vacation currently so I'll have to check it when I get back home in a weeks time. :)

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

                                      So, currently working on the option of providing filename(s) on command line. My current approach is this: If one or more filenames are provided on command line, it will scrape those using the provided platform with '-p'. It will NOT alter the game list you have, and it will NOT process artwork files. It WILL cache or update the local data and media for the games provided, meaning that a scraping with '-s localdb' afterwards, will make use of the data.

                                      The usefulness as I see it, would be that it would allow you to experiement with changing the filename for a better result from the scraping. And when you've found one that works, you can scrape everything again.

                                      Would this be useful to you guys? Comments? Suggestions? It's been requested quite a few times, so I'm very interested in feedback on this.

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

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

                                        • Now always caches resources locally, even if pretend is set
                                        • Optimized 'simple mode' generated script. Now has '--pretend' set for all non-local modules to avoid artwork processing on those runs. This is a lot faster and provides the same result
                                        • Added the possibility to supply one or more filenames on the command line - it will then ONLY scrape those particular files. Platform still has to be set with '-p' for this to work
                                        • Fixed bug where [tags] would be appended twice when using '--forcefilename'

                                        The much requested feature of providing filenames on command line is implemented in this release. When used, it will scrape those files exclusively and cache the resulting data in the local database cache. To make use of the data afterwards you need to rescrape the entire platform using '-s localdb'. Please give it a go and let me know what you think.

                                        Happy scraping! :)

                                        1 Reply Last reply Reply Quote 4
                                        • S
                                          SammyBoy
                                          last edited by SammyBoy

                                          @muldjord whatever I do I just can't get the textual data to scrape and I've created the definitions.dat folder and the made the ROM base.txt file what am I doing wrong? These are the files that I have made:

                                          Description: ###DESCRIPTION###
                                          Developer : ###DEVELOPER###
                                          Publisher : ###PUBLISHER###
                                          Rating : ###RATING###
                                          Genre : ###TAGS###

                                          Description: Being a real-estate magnate used to be hard work. Thanks to technology, the computer does all the hard stuff, like rolling dice, for you. Freed of the anxiety of arguing over leaners, you have plenty of time to strategize your next financial move. Up to four players, or you and three computer opponents, take turns around the board. A player wins when the others go belly up. You can also play a quick game mode or a time limit game. In any of the game modes, you can institute your own house rules. Some of those could include awarding a person for landing on free parking, dealing out some properties at random to begin the game, or changing the number of properties you have to own in a group before you can build houses. The easy-to-use interface makes it easy to manage your finances. When you have multiple players, the games can take a long time to finish, but that's the nature of Monopoly.
                                          Developer : Takara
                                          Publisher : Destination Software Inc
                                          Rating : 3.5
                                          Genre : Strategy

                                          The name of the file is Monopoly (U).txt

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

                                            EDIT: Nevermind, read your post wrong. Looks ok to me, not sure what is wrong. I recommend using an xml based format instead, try that.

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