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

      2.4.1 out. This should have fixed everything with the import scraper, so please test that out if you have the time. Thanks. :)

      AnalogHeroA 2 Replies Last reply Reply Quote 0
      • AnalogHeroA
        AnalogHero @muldjord
        last edited by AnalogHero

        @muldjord Yes, i added --videos. Compiling new version right now, will test when it finished.

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

          @muldjord No, still not importing a correct named video. Have double checked everything. Even when running Skyscraper -p amiga -s import --videos /home/pi/RetroPie/roms/amiga/Lotus3_v1.6_0217.lha it says

          pi@retropie:~ $ Skyscraper -p amiga -s import --videos /home/pi/RetroPie/roms/amiga/Lotus3_v1.6_0217.lha
          ------------------------------------------
          Running Skyscraper v2.4.1 by Lars Muldjord
          ------------------------------------------
          Platform:           'amiga'
          Scraper module:     'import'
          Input folder:       '/home/pi/RetroPie/roms/amiga'
          Game list folder:   '/home/pi/RetroPie/roms/amiga'
          Covers folder:      '/home/pi/RetroPie/roms/amiga/media/covers'
          Screenshots folder: '/home/pi/RetroPie/roms/amiga/media/screenshots'
          Wheels folder:      '/home/pi/RetroPie/roms/amiga/media/wheels'
          Marquees folder:    '/home/pi/RetroPie/roms/amiga/media/marquees'
          Videos folder:      '/home/pi/RetroPie/roms/amiga/media/videos'
          Local db folder:    'dbs/amiga'
          
          Reading and parsing local database, please wait...
          Successfully parsed 2019 resources!
          
          Looking for optional 'priorities.xml' file in local db folder... Found!
          Priorities loaded successfully!
          
          Pretend set! Not changing any files, but still caching resources in local database.
          
          
          Starting scraping run on 1 files using 4 threads.
          Sit back, relax and let me do the work! :)
          
          #1/1 (T1) ---- Game 'Lotus3_v1.6_0217' not found :( ----
          
          
          Elapsed time: 00:00:00
          Estimated time: 00:00:00
          
          ---- Scraping run completed! YAY! ----
          Writing 2019 (0 new) resources to local database, please wait... Success!
          ---- And here are some neat stats :) ----
          Total completion time: 00:00:00
          
          Total number of games: 1
          Successfully scraped games: 0
          Skipped games: 1 (Filenames saved to '[homedir]/.skyscraper/skipped-import.txt')
          
          1 Reply Last reply Reply Quote 0
          • muldjordM
            muldjord
            last edited by

            Ah, I know why... It's because the files are using several dots in the name, which makes it look for the file Lotus3_v1.mp4 instead of Lotus3_v1.6_0217.mp4. I'll make it use the full basename instead.

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

              2.4.2 out, please test.

              AnalogHeroA 2 Replies Last reply Reply Quote 0
              • AnalogHeroA
                AnalogHero @muldjord
                last edited by

                @muldjord Tested, and it works now as it should. Youre amazing. :)

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

                  @muldjord Hmm just scraped amiga with localdb and now it skipped Lotus 3.

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

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • muldjordM
                      muldjord @AnalogHero
                      last edited by muldjord

                      @analoghero Does that here aswell, looking into it...

                      EDIT: Found the problem, fixing...

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

                        @muldjord Thanks very much for the fixes, going to update and test again.
                        @AnalogHero How do you capture your output? with all the colors and so? xD

                        Also, I want to share this:
                        https://twitter.com/WhaddupNico/status/976887812959195136

                        This guy has done fantastic logos for lots of games, for SNES, GBA, N64, DC, and PS1. He share the packs in mega. Logos are in vector format and in transparent PNG. Vectors are great because as you already know we can scale up to 4k or whatever.
                        These logos are not in any online db, but could be used with local data import of Skyscraper. Remember to rename the file as the rom you want to use it.

                        I still not tried the graphic composer but will have a look...

                        I am downloading all the packs now.

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

                          2.4.3 out, please test... I really need to figure out a better way to put out test releases, this is getting silly. :)

                          EDIT: @bleuge, those logos are pretty amazing. Guy's doing a fantastic job!

                          EDIT2: Just updated 2.4.3 code again. Hope you didn't update in the meantime. Found a flaw with the fix I just made... And fixed the fix. Meta!

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

                            I think I'll create rcX releases from now on. Releasing 2.4.x releases seems silly to me when new issues keep popping up.

                            Thank you for your help with testing @AnalogHero I appreciate it a lot.

                            AnalogHeroA 2 Replies Last reply Reply Quote 0
                            • AnalogHeroA
                              AnalogHero @muldjord
                              last edited by AnalogHero

                              @muldjord Compiling right now. Will test when done. Maybe you can do test updates in a seperate git branch, compiled with an argument of update_skyscraper.sh.

                              @bleuge Three ` will display a code block. View http://commonmark.org/help/ for more information.

                              Edit: Looks like it worked now. Glad that i could help. Someone has to test it all out.

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

                                @muldjord If i swap out my amiga collection with .lha files, will skyscraper recognise them as the same game? For example i delete Agony.uae and replace it with Agony_v1.3_0960.lha, will skyscrape use the avaiable local data from the dbs?

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

                                  @analoghero No, it will differ. If you switch to LHA's completely I would recommend deleting the entire amiga db folder as the cached resources would be of no use anymore. Skyscraper detects games from their sha1 checksums. In cases where it is a script (such as .uae) it will sha1 the filename instead of the file contents, since .uae's might change contents.

                                  EDIT: Actually that is an interesting observation. If you change/delete your romset completely or partly, you would probably want to purge localdb of all resources not related to your roms. So in a future update, when I've had a few days for R&R, I will add the option of purging the cache of resources not related to the current roms you have in your input folder.

                                  AnalogHeroA 1 Reply Last reply Reply Quote 2
                                  • AnalogHeroA
                                    AnalogHero @muldjord
                                    last edited by

                                    @muldjord Hmm. Its a lot of work then, because i manually renamed the videos to match my .uae collection, now i have to do it again to match the .lhas. Good that i picked only the games i really like to play, and not just the entire collection.

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

                                      @analoghero Yeah, not much to do about that I'm afraid. Hopefully the LHA collection will be quite stable in its contents so it won't be necessary to do it again in the future.

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

                                        @AnalogHero Amiga newbie here, as i read, i assume the way to go in Amiga for Raspberry is lha?
                                        Also I think if i want to mount an Amiga project, Amiberry is the best? Any tips building an image for Amiga?
                                        Sorry the offtopic :D

                                        @muldjord updated to latest, rerun my script, it seems it's working, sometimes it does very long pauses with no output, but for now it's running

                                        AnalogHeroA muldjordM 2 Replies Last reply Reply Quote 0
                                        • AnalogHeroA
                                          AnalogHero @bleuge
                                          last edited by

                                          @bleuge I would recommend to wait a bit longer as RetroPie-setup hasnt updated yet to support the latest amiberry version. In the very near future it should be as easy as copying the games (in .lha format) to the /roms/amiga folder.

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

                                            @bleuge The long pauses are expected, that's because the threads run in parallel and sometimes sync up which gives those pauses in-between results. ;)

                                            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.