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.
    • D
      Deltax5
      last edited by

      deleted the source as root. did it again with pi now it works but still no luck. I don't understand. im still a noob im sorry. it don't like gamegear for some reason.
      im missing something I followed the instructions in the read me.
      pi@retropie:~/sources/skyscraper-2.0.3 $ Skyscraper -p gamegear -s thegamesdb --videos

      Running Skyscraper v2.0.3 by Lars Muldjord

      Platform : 'gamegear'
      Scraper module : 'thegamesdb'
      Input folder : '/home/pi/RetroPie/roms/gamegear'
      Gamelist folder : '/home/pi/RetroPie/roms/gamegear'
      Images folder : '/home/pi/RetroPie/roms/gamegear/images'
      Videos folder : '/home/pi/RetroPie/roms/gamegear/videos'
      Local db folder : 'dbs/gamegear'

      Reading and parsing local database, please wait...
      Successfully parsed 9 resources!

      Looking for optional 'priorities.xml' file in local db folder... Found!
      Priorities loaded successfully!

      'gamelist.xml' already exists, do you want to overwrite it? (y/n): y
      Checking if 'gamelist.xml' is writable?... It is! :)
      Do you wish to skip existing entries? (y/n): y
      Parsing existing xml entries...
      Resolving missing entries...
      No entries to scrape...

      ---- Scraping run completed! YAY! ----
      Writing 9 resources to local database, please wait... Success!
      Now writing '/home/pi/RetroPie/roms/gamegear/gamelist.xml'... Success!!!

      ---- And here are some neat stats :) ----
      Total completion time: 00:00:00

      Total number of games: 0
      Successfully scraped games: 0
      Skipped games: 0 (Filenames saved to 'skipped-thegamesdb.txt')

      pi@retropie:~/sources/skyscraper-2.0.3 $ Skyscraper -p gamegear -s screenscraper --videos

      Running Skyscraper v2.0.3 by Lars Muldjord

      Platform : 'gamegear'
      Scraper module : 'screenscraper'
      Input folder : '/home/pi/RetroPie/roms/gamegear'
      Gamelist folder : '/home/pi/RetroPie/roms/gamegear'
      Images folder : '/home/pi/RetroPie/roms/gamegear/images'
      Videos folder : '/home/pi/RetroPie/roms/gamegear/videos'
      Local db folder : 'dbs/gamegear'

      Reading and parsing local database, please wait...
      Successfully parsed 9 resources!

      Looking for optional 'priorities.xml' file in local db folder... Found!
      Priorities loaded successfully!

      'gamelist.xml' already exists, do you want to overwrite it? (y/n): y
      Checking if 'gamelist.xml' is writable?... It is! :)
      Do you wish to skip existing entries? (y/n): y
      Parsing existing xml entries...
      Resolving missing entries...
      No entries to scrape...

      ---- Scraping run completed! YAY! ----
      Writing 9 resources to local database, please wait... Success!
      Now writing '/home/pi/RetroPie/roms/gamegear/gamelist.xml'... Success!!!

      ---- And here are some neat stats :) ----
      Total completion time: 00:00:00

      Total number of games: 0
      Successfully scraped games: 0
      Skipped games: 0 (Filenames saved to 'skipped-screenscraper.txt')

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

        Try answering "n" to skip existing. If your gamelist.xml somehow has the entry in it, you are telling it to not retry it by answering "y" to skip. That's why it doesn't try to scrape anything. Other than that, you seem to be doing it correctly now.

        1 Reply Last reply Reply Quote 0
        • D
          Deltax5
          last edited by Deltax5

          you know what my problem is. I notice the 1 file it found was .zip the others where .7zip. for some reason any auto scraper doesn't recognize .7zip. unziped them now it detects them fine. the data base is getting updated right now let you know if it worked.
          I got a question. Lets say I made a custom folder for famicom for example. called fc. how do I scrap them proper?

          muldjordM BladeHunterB 2 Replies Last reply Reply Quote 0
          • muldjordM
            muldjord @Deltax5
            last edited by

            @deltax5 You can set the rom input folder manually with '-i' followed by the folder name. Just check the readme or type "Skyscraper --help". :)

            1 Reply Last reply Reply Quote 0
            • D
              Deltax5
              last edited by

              ok ill look it up later today can you give me an exampe

              I 1 Reply Last reply Reply Quote 0
              • I
                incunabula @Deltax5
                last edited by

                @deltax5 Maybe you should be a little more polite and patient when asking for anyone's help; doubly so when it's the dev of the application that you want to use. This is not your personal help desk.

                1 Reply Last reply Reply Quote 0
                • D
                  Deltax5
                  last edited by

                  I thank everyone who helped me. It was acting weird at first for some reason. Wasn't tring to be rude or anything. im still a noob and really don't know much about coding other then following the instructions.

                  1 Reply Last reply Reply Quote 0
                  • D
                    Deltax5
                    last edited by

                    Alright idk whats going on. The images are fine just the video's don't show up. nosing around in Winscp they actually downloaded. The thing is that it's not playing. It's in the /home/pi/skyscraper/dbs/gamegear/videos/screenscraper. The video's are labled a bunch of gibberish.
                    Do I have to edit the gamelist.xml or something.
                    Once again im sorry if I bothered anyone. This is getting annoying for me also.

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

                      @deltax5 Run: "Skyscraper -p gamegear -s localdb --videos --unattend" and it will work.

                      Lastly, a couple lessons to take away from this:

                      1. When following a howto and a command fails, double check that you wrote the command correctly before asking for help.
                      2. If a command still fails, then don't expect the rest of the howto to work. Instead, ask for help from the community, but please remember point 1!
                      3. Read the README's thoroughly before asking questions. It's kind of the whole point of a readme, and I spend quite a lot of time writing them. Don't expect me to answer questions explained in the readme's, it's annoying and makes me think that you basically just want me to do the work for you, not putting in the required time to try and understand it yourself.

                      I don't mind people asking questions, but it is common courtesy to adhere to these simple points.

                      Ok, so with that said, I am glad you got it to work.

                      1 Reply Last reply Reply Quote 1
                      • BladeHunterB
                        BladeHunter @Deltax5
                        last edited by

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

                        you know what my problem is. I notice the 1 file it found was .zip the others where .7zip. for some reason any auto scraper doesn't recognize .7zip.

                        Because most emulators don't use 7zip so why would anyone need to scrape them? The scraping is done by MD5, SHA1, CRC and name, if you rename a file, the MD5, SHA1 and CRC don't change, this is why we use these bits of information.

                        On the database side where these are scraped from, someone needs to physically link the bits of information to the game, no one links 7zip files because as I said before, how many emulators actually read a 7zipped file?

                        D 1 Reply Last reply Reply Quote 0
                        • D
                          Deltax5 @BladeHunter
                          last edited by

                          @bladehunter it played fine on retro pi. I got my roms in 7z for some reason. Atleast I noticed it and pass it on if someone else has trouble in the future.

                          1 Reply Last reply Reply Quote 0
                          • K
                            kb1ujs
                            last edited by

                            Is there a way to limit what types of resources are scraped? For example, I'm after text resources (descriptions, ratings, etc) but not images.

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

                              @kb1ujs Videos are off by default (turn on with '--videos'), but images are always scraped and can't be disabled.

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

                                @muldjord Just a small bugreport from what ive learned about videoscreensaver: Skyscrapers gamelist.xml files contain empty video tags looking like this <video />

                                This is a problem at the moment when using videoscreensavers. Could you make those tags optional somehow?

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

                                  @analoghero Yes, this has been fixed in 2.0.4 which as just been released: https://github.com/muldjord/skyscraper

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

                                    @muldjord Thanks alot.

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

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

                                      • Added support for 'scummvm' platform in scraping module 'thegamesdb' or 'openretro'.
                                      • Now only removes 'the' from searchName if longer than 10 chars.
                                      • Now always converts underscores to spaces in search- and compare names.
                                      • Added edit distance optimization ('the sequel' will now match 'some game: the sequel' 100%).

                                      Happy scraping! :)

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

                                        A little note on what is going on behind the scenes. I've been looking into creating some sort of GUI for Skyscraper to make it easier to first-time users to get good results. I've had a look at a bunch of sfml and sdl2 based gui frameworks, but not a single one of them are suitable. Believe me, I've been scouring the web for one that fits my requirements, and it's just not gonna happen. They are either too complex, or have too many dependencies to be feasible without making everything unnecessarily complex to install.

                                        So, what I've basically decided to do, is to include a 'script-maker' mode when running Skyscraper. It will present the user with a bunch of questions, such as "What platform do you wish to scrape?" and other relevant stuff. And when all questions have been answered, it will create a script or possibly config file (or both) and ask if you want to run it.

                                        Comments on this approach will be appreciated.

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

                                          @muldjord Maybe you can go with a shell script gui like the retropie-setup. Dont know if there is any framework there?

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

                                            @analoghero Yes, I am also considering that. Although I am partial to the "questionnaire" method since it can then be implemented directly in the software as I see fit. Thanks for suggesting it.

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