• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login

Skyscraper now officially part of RetroPie, please test

Scheduled Pinned Locked Moved Ideas and Development
skyscraperscraperretropie-setupoptionalexperimental
275 Posts 28 Posters 110.0k 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.
  • R
    Ronoh55
    last edited by 13 Jan 2019, 22:05

    MobyGames is not in the gui but is on the Github as an option to scrape from. It is still an option correct? Only through CLI for now?

    M 1 Reply Last reply 13 Jan 2019, 22:19 Reply Quote 0
    • M
      mitu Global Moderator @muldjord
      last edited by 13 Jan 2019, 22:19

      @muldjord I'll take a look, looks like a script issue.

      1 Reply Last reply Reply Quote 0
      • M
        mitu Global Moderator @Ronoh55
        last edited by 13 Jan 2019, 22:19

        @Ronoh55 Yes, it's not in the GUI, since it's not suitable for bulk scraping due to the low number of allowed scrapes (25 I think).

        1 Reply Last reply Reply Quote 0
        • R
          Ronoh55
          last edited by 13 Jan 2019, 22:21

          Ah, that makes sense. Didn't know it has such a small limit

          M 1 Reply Last reply 13 Jan 2019, 22:23 Reply Quote 0
          • M
            muldjord @Ronoh55
            last edited by 13 Jan 2019, 22:23

            @Ronoh55 Yes, the mobygames module is very limited and should only ever be used to scrape single roms. So that makes it unusable in the GUI. That's the reason for the removal. It can still be used on command line though and works well.

            1 Reply Last reply Reply Quote 1
            • M
              mitu Global Moderator @muldjord
              last edited by mitu 14 Jan 2019, 09:58

              @muldjord Here's a draft for the new UI. I removed the Localdb as a scraping source and added the new ESGamelist local source.

              66a6bd3a-4dfe-437b-8f06-feb272275cad-image.png

              There is now an explicit option to generate the gamelist(s) from the menu

              28a049e7-03e0-4be4-83ad-387f7c0a807b-image.png

              When chosen, you'll be asked to choose which systems you want to include in the gamelist generation (similar to 'Scrape chosen systems'). I'm not so sure about renaming 'Scrape' to 'Gather', and 'Download' doesn't seem appropriate (it's not only downloading artwork, it's also information retrieval). I'm open to ideas :).

              I think I'll re-arrange the menu, so that any configuration options are below the actions (Scrape/Scrape/Generate and then the rest of the options).

              M 1 Reply Last reply 14 Jan 2019, 13:03 Reply Quote 2
              • S
                Silent
                last edited by 14 Jan 2019, 11:20

                Since artwork.xml and config.ini can be edited from the GUI already, how about also allowing to edit aliasMap.csv? For completeness.

                M 1 Reply Last reply 14 Jan 2019, 17:13 Reply Quote 1
                • M
                  muldjord @mitu
                  last edited by 14 Jan 2019, 13:03

                  @mitu Looks good! One note: The "Gather resources from X" should not include the name since it should be initiated from within the menu. It's not an option, just a submenu. And I think it makes sense to call it "Gather and cache resources" for instance. That's more specific and descriptive.

                  So you'd enter that menu and choose any of the scraping modules from inside it and it would do 1 run gathering resources from that 1 module, then return to the menu. Then go back to the main menu and choose "Generate ES game list(s) from cache".

                  M 1 Reply Last reply 14 Jan 2019, 13:29 Reply Quote 0
                  • M
                    mitu Global Moderator @muldjord
                    last edited by mitu 14 Jan 2019, 13:29

                    @muldjord said in Skyscraper now officially part of RetroPie, please test:

                    @mitu Looks good! One note: The "Gather resources from X" should not include the name since it should be initiated from within the menu. It's not an option, just a submenu. And I think it makes sense to call it "Gather and cache resources" for instance. That's more specific and descriptive.

                    I don't understand :). The first 2 choices initiate a scrape (gather), the 4th option is just a configuration toggle. So we would rename the entries

                    • Gather and cache resources for all systems - runs the scrape for all systems, with the source from 4.
                    • Gather and cache resources for chosen systems - runs the scrape for selected systems, with the source from 4.

                    Is that what you meant ?

                    EDIT: something like

                    88169611-b9d8-4d74-8cd1-4499e1088a8b-image.png

                    M 1 Reply Last reply 15 Jan 2019, 02:12 Reply Quote 0
                    • M
                      mitu Global Moderator @Silent
                      last edited by 14 Jan 2019, 17:13

                      @Silent That would be a good candidate; while an 'advanced' feature, it doesn't require any other CLI operations the user must perform.
                      I see there is a sample (empty one) provided, I'll have to check during the install to not overwrite it. Right now, I think you may be the only user that is using this feature :).

                      1 Reply Last reply Reply Quote 0
                      • M
                        muldjord @mitu
                        last edited by muldjord 15 Jan 2019, 02:12

                        @mitu Yes, I forgot that's how they work, sorry.

                        I think it should be like this for the best workflow and to best split the two things apart (gather and generate):

                        • HEADLINE: "Gather and cache resources:" (just a non-functional headline option)
                        • "Source: ScreensScraper (Online)"
                          • All of the sources as they are now
                        • "Gather for: All systems"
                        • "Gather for: Chosen systems"
                        • "Cache options -->"
                          • Force cache refresh
                          • Cache covers, cache screenshots etc... (Enabled)
                          • Vacuum cache: For selected systems (Use the "Skyscraper -p [platform] --purgedb vacuum" command)
                          • Delete cache: For selected systems (Use the "Skyscraper -p [platform] --purgedb all" command)
                        • HEADLINE: "Game list generation:" (just a non-functional headline option)
                        • Generate EmulationStation game list
                        • Generate options -->
                          • ROM Names (Source name)
                          • Remove bracket info (Disabled)
                          • Use Rom folders for game list and media (Enabled)
                        • HEADLINE: "General:" (just a non-functional headline option)
                        • Advanced Skyscraper options -->
                          • Enable videos
                          • Edit config.ini
                          • Edit artwork.xml
                          • Edit aliasMap.csv
                        M 2 Replies Last reply 15 Jan 2019, 18:26 Reply Quote 1
                        • M
                          mitu Global Moderator @muldjord
                          last edited by 15 Jan 2019, 18:26

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0
                          • M
                            mitu Global Moderator @muldjord
                            last edited by mitu 16 Jan 2019, 19:54

                            @muldjord So here's a draft version

                            Re-organized the menu a bit, per your layout

                            • the scraping source and Cache options are next to each other, since both are sub-menus opening up
                            • the cache options have the actions of vacuum/purge system/purge all (now using Skyscraper instead of manually erasing files and moved from advanced options).
                            • added the video download toggle inside the cache options
                            • advanced options now only have the config files editing.

                            One question for game generation - do --videos needs to be enabled when scraping from localdb to add the video tag ?

                            M 1 Reply Last reply 16 Jan 2019, 20:25 Reply Quote 0
                            • M
                              muldjord @mitu
                              last edited by muldjord 16 Jan 2019, 20:25

                              @mitu

                              Looks good!

                              --videos should be moved to general though as per my suggestion, as it's not related to caching any more than it's related to game list generation. It's not like the --nocovers and such options. It's an option related to Skyscraper in general. So to answer your question, yes, it needs to be enabled for videos to be used in the game list. And also for videos to be cached.

                              M 1 Reply Last reply 16 Jan 2019, 20:31 Reply Quote 0
                              • M
                                mitu Global Moderator @muldjord
                                last edited by 16 Jan 2019, 20:31

                                @muldjord Yeah, the video stuff does belong to both option sections, will move it back - adding it in both sections wouldn't make sense. The new version is mostly done, just need to test it a bit more.

                                M 1 Reply Last reply 16 Jan 2019, 20:33 Reply Quote 0
                                • M
                                  muldjord @mitu
                                  last edited by muldjord 16 Jan 2019, 20:33

                                  @mitu I would also argue to remove the "Gather for All systems" entirely, and rename the "Gather for Chosen systems" to "Gather for system(s)". That will align better with the "Generate game list(s)" option further down.

                                  It feels like the "Gather for All systems" is cluttering it up a bit right now. And people still have the option to simply select all systems if they want. There could also simply be a "Select all" inside of the "Gather for systems(s)" option. That would also be better I think. Thoughts?

                                  EDIT: Btw, when all this is done I think I'll move the "Simple Mode" of Skyscraper down the ranks in the docs, and instead simply refer to the RetroPie wiki and this script. I'm not gonna remove it completely just yet, just in case non-RetroPie'ers use it. But I feel we're reaching a point where it's becoming obsoleted by this script.

                                  M 1 Reply Last reply 16 Jan 2019, 21:00 Reply Quote 0
                                  • M
                                    mitu Global Moderator @muldjord
                                    last edited by 16 Jan 2019, 21:00

                                    @muldjord said in Skyscraper now officially part of RetroPie, please test:

                                    It feels like the "Gather for All systems" is cluttering it up a bit right now. And people still have the option to simply select all systems if they want. There could also simply be a "Select all" inside of the "Gather for systems(s)" option. That would also be better I think. Thoughts?

                                    I though about it - it would make the 2 phases of the scraping symmetrical and it doesn't quite fit the Skyscraper's process (I see it mostly as a one-shot scraping option for quickly getting something for all systems).
                                    I still think it has its usefulness for first time scraping - when you've got a few of your systems populated and you're just wanting to get the info in Emulationstation. Gradually, as you add more ROMs, it's probably not going to get much use since you'd be scraping just one system at a time, switching sources and checking for missing info/roms.
                                    I try to find a way add an 'All' toggle in one gathering option, but dialog won't let me combine radio buttons with a multiple selection list.

                                    M 1 Reply Last reply 16 Jan 2019, 21:03 Reply Quote 0
                                    • M
                                      muldjord @mitu
                                      last edited by muldjord 16 Jan 2019, 21:03

                                      @mitu Yes, I can see how it's useful certainly. It's only because I feel like is mismatches (and clutters it up a bit) with how there's only one option for game list generation. I'm ok with having it there, I just hope people don't get confused by the difference.

                                      1 Reply Last reply Reply Quote 0
                                      • M
                                        muldjord
                                        last edited by muldjord 17 Jan 2019, 13:14

                                        @mitu Just to summarize the changes you need to pay attention to in regards to the script when moving from 2.x to 3.x

                                        • --refreshhas become --cache refresh but I'll leave --refresh in 3.x for the time being to ease migration. It will be removed at some point in the future and I'll be sure to let you know when I do remove it.
                                        • The --purgedb vacuum option has become --cache vacuum.
                                        • The --purgedb all option has become --cache purge:all which will remove all resources for the selected platform.
                                          • I'll let you decide whether it makes sense to use these for the time being as they are not compatible with 2.x
                                          • You could just keep the old cache clearing options from the old script for the time being and switch to the new ones when users have migrated. But please note the next point, that dbs has changed.
                                        • The ~/.skyscraper/dbs folder is now ~/.skyscraper/cache. This is auto-migrated when Skyscraper 3.x is run for the first time after updating (it simply moves dbs to cache).

                                        If I think of other things, I will update this post.

                                        1 Reply Last reply Reply Quote 1
                                        • M
                                          mitu Global Moderator
                                          last edited by 17 Jan 2019, 17:05

                                          @muldjord (I'll reply here, instead of the other topic)

                                          Most of the changes are ok (as far as the package is concerned), as long as you have some backwards compatibility. The script could certainly detect the version and prompt the user to upgrade when it detects an incompatible version, but I wouldn't impose that.
                                          SScraper has a Upgrade to the latest version option, maybe we can add that after the Advanced options, since Skyscraper adds new features and fixes faster and I have the feeling some users don't have the habit or just don't want to break things doing an full upgrade once in a while.

                                          For now the only thing I've yet to figure out (just because I didn't have the time) is the cache location chance, since the script would migrate it on first install (for existing users).

                                          I think that as long as you keep --refresh around, we can introduce the purgedb options later (though I'll have to cut vacuum or make it conditional, depending on the version).

                                          So, one request from me - can you add a --version parameter ? Right now the script just parses the --help invocation, but it would be nice to provide a shorter version :).

                                          M 1 Reply Last reply 17 Jan 2019, 19:15 Reply Quote 0
                                          139 out of 275
                                          • First post
                                            139/275
                                            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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received