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.7m 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 @Clyde
      last edited by muldjord

      @Clyde It's simply a matter of when it's used (this is true for many options by the way, it's all described here). You might only want game list backup to be enabled for certain frontends. In that case you can add the option under the desired frontend section like so:

      [pegasus]
      gameListBackup="true"
      

      But if you prefer Skyscraper to create a backup no matter what frontend you are currently generating game lists for, you simply add it to the main section instead like so:

      [main]
      gameListBackup="true"
      
      1 Reply Last reply Reply Quote 1
      • ClydeC
        Clyde
        last edited by

        Thanks for the explanation. 👍

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

          @muldjord
          Any reason why some games are being skipped for me on import (mainly unlicenced, but a couple of legit sonic the hedgehog too)? It says "no returned matches" in the skipped.txt. Am I enabling this in the config.ini somehow?
          The thing that's confusing me is: I'm using screenscraper.fr, and I'd assume skyscraper is not seeing them there... But that's where I got the images from in the first place (via Skraper)? Is your app and the Skraper one using a different dB? What exactly is the import command matching the titles against?

          These are up to date and clrmamepro'd no intro roms.

          I've not updated skyscraper by the way, still on the previous version.

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

            @stevas Have you read the import documentation thoroughly? It's all in there: https://github.com/muldjord/skyscraper/blob/master/docs/IMPORT.md

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

              I did, and I'm not seeing the section which covers my issue tbh. Thanks anyway.

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

                @stevas If you can provide a detailed example of an entry that should scrape I can look into it. What is the exact rom filename? What are the exact filenames of the artwork you have and where did you put them. What command do you use to import it would also be useful.

                What exactly is the import command matching the titles against?

                This is documented right here. If you feel it can be misinterpreted, please let me know.

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

                  @muldjord

                  Yeah... You know what, I think it's my bad here. Now, to be fair, the no intro sets have seemingly arbitrarily decided to change the format of their filenames (Sonic is a particularly good example of how this can be easily missed, as the "The" has become "the" - which is maybe more grammatically correct - but why did we need all the v1.1s to change to Rev A etc?)... and, of course, what's exacerbated my issue here is the fact Unix can have BOTH those Sonic files existing at the same time (which meant a process I had of making sure files matched by just copying them over existing ones on my windows PC was... fundamentally flawed).

                  Anyway, I've decided to rescrape my megadrive stuff again (sigh), and hopefully it'll all figure itself out.

                  Many thanks for the swift replies though, and I love the app; I just wish there was an easy way to get the composite screenshot images I like (recalbox mix V2, with the cartridge included) so I didn't have to use Skraper on the PC at all.

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

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

                    I just wish there was an easy way to get the composite screenshot images I like (recalbox mix V2, with the cartridge included)

                    You can composite that with Skyscraper quite easily. If you import the cartridges into the marquee resource in Skyscraper and then set up the artwork.xml to composite it as you want it, you can basically make it look anyway you like. The Skyscraper compositor is very powerful and can do a lot of cool things. I assume you have seen the documentation for it, but here's the link just in case: https://github.com/muldjord/skyscraper/blob/master/docs/ARTWORK.md

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

                      Yeah, I tried it... is there a way to get it to grab 3d boxart? I mean with the correct spine, not a wheel instead?

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

                        @stevas Yeah, but it needs some tinkering. I once did it for mastersystem. I simply imported all of the mastersystem spines into the marquee resource in Skyscraper, and then used the boxart effect with the marquee on the side/spine. Looked really good. But there's no automatic way of doing it. So it requires a bit of work to import all of those.

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

                          Actually, I just realised I can use the 3d box Skraper can get at... But now I can't scrape even just screenshots from screenscraper.fr through skyscraper (FFS? FFS).

                          1 Reply Last reply Reply Quote 0
                          • o0alucard0oO
                            o0alucard0o
                            last edited by

                            I scraped NES roms for Attract-Mode with the latest Skyscraper version.
                            The process correctly fills standard cache folders (covers, marquees, screenshots, wheels) but exports only snaps to Attract-Mode.

                            NES.cfg

                            romext               .zip
                            system               Nintendo Entertainment System
                            artwork    flyer           /mnt/c/Games/Attract-Mode/scraper/NES/flyer
                            artwork    marquee         /mnt/c/Games/Attract-Mode/scraper/NES/marquee
                            artwork    snap            /mnt/c/Games/Attract-Mode/scraper/NES/snap
                            artwork    wheel           /mnt/c/Games/Attract-Mode/scraper/NES/wheel
                            artwork    boxart          /mnt/c/Games/Attract-Mode/scraper/NES/boxart
                            

                            Skyscraper command(s):

                            Skyscraper -p nes -i /mnt/c/Games/roms/nes/ -g /mnt/c/Games/Attract-Mode/romlists/ -f attractmode -e /mnt/c/Games/Skyscraper/NES.cfg -s screenscraper -u username:password --flags unattend,skipped
                            Skyscraper -p nes -i /mnt/c/Games/roms/nes/ -g /mnt/c/Games/Attract-Mode/romlists/ -f attractmode -e /mnt/c/Games/Skyscraper/NES.cfg --flags unattend,skipped,forcefilename
                            
                            
                            muldjordM 1 Reply Last reply Reply Quote 0
                            • muldjordM
                              muldjord @o0alucard0o
                              last edited by muldjord

                              @o0alucard0o Yeah, the default Skyscraper /home/pi/.skyscraper/artwork.xml is set up to look good with EmulationStation. For Attract-Mode you can go ahead and adjust it to fit your needs. For instance:

                              <?xml version="1.0" encoding="UTF-8"?>
                              <artwork>
                                <output type="screenshot" width="640"/>
                                <output type="cover" height="640"/>
                                <output type="wheel" width="640"/>
                                <output type="marquee" width="640"/>
                              </artwork>
                              

                              When you've saved that, just regenerate the game list for Attract-Mode.

                              This will export all of the resources Skyscraper supports and scale them according to aspect ratio to 640 pixels height or width. This is the most basic example I can give you. But the compositor supports a lot more.

                              For the full documentation, go here.

                              o0alucard0oO 1 Reply Last reply Reply Quote 1
                              • o0alucard0oO
                                o0alucard0o @muldjord
                                last edited by

                                @muldjord Thanks for the explanation. 👍

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

                                  @o0alucard0o You're welcome, please see my edit. I just added width and height to some of them.

                                  1 Reply Last reply Reply Quote 1
                                  • o0alucard0oO
                                    o0alucard0o
                                    last edited by

                                    ...
                                    artwork    snap            /mnt/c/Games/Attract-Mode/scraper/Sega 32X/snap
                                    ...
                                    

                                    Hi,
                                    are white spaces supported in path extraction from Attract Mode emulators config?
                                    It seems that quotes, double quotes and backslash doesn't work.

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

                                      @o0alucard0o I just fixed this. Please update to 3.5.8. You can now use spaces in paths. Do not use quotes, it's not necessary and will actually break it. So just enter it like this:

                                      artwork    snap            /mnt/c/Games/Attract-Mode/scraper/Sega 32X/snap
                                      
                                      o0alucard0oO 1 Reply Last reply Reply Quote 4
                                      • o0alucard0oO
                                        o0alucard0o @muldjord
                                        last edited by

                                        @muldjord Thank you

                                        1 Reply Last reply Reply Quote 1
                                        • o0alucard0oO
                                          o0alucard0o
                                          last edited by o0alucard0o

                                          Hi,
                                          I recently scraped PC platform with about thirty titles.
                                          Unfortunately, the generation step assigns wrong resources to games.
                                          Ten games with same snap and/or description.

                                          My setup for Windows PC platform, consists of Autoit (.au3) files. This files differ only in name, but the content is the same. Could it depend on this?

                                          For example

                                          #2/30 (T4) ---- Game 'BlazeRush' found! :) ---- 
                                          Scraper:        cache 
                                          Title:          'Yoku's Island Express' (thegamesdb) 
                                          Platform:       'PC' (thegamesdb) 
                                          
                                          #3/30 (T2) ---- Game 'Cuphead' found! :) ----
                                          Scraper:        cache
                                          Title:          'Yoku's Island Express' (thegamesdb)
                                          Platform:       'PC' (thegamesdb)
                                          
                                          muldjordM 1 Reply Last reply Reply Quote 0
                                          • muldjordM
                                            muldjord @o0alucard0o
                                            last edited by

                                            @o0alucard0o Yes, that is exactly the reason. For most files Skyscraper does a sha1 checksum to id them. But for some script files I do the sha1 checksum on the filename instead, since they either often change, of have the same contents. .au3 files are not currently on this list, so if your files have the same contents, it will have the same id in Skyscrapers cache.

                                            I will add .au3 files to this list, so in future releases this won't be a problem. Thanks for reporting it.

                                            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.