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

    Skyscraper is back! (v3.17)

    Scheduled Pinned Locked Moved Ideas and Development
    skyscraper
    97 Posts 9 Posters 13.1k 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.
    • B
      beudbeud @sleve_mcdichael
      last edited by

      @sleve_mcdichael thanks nice, I always build from another computer and after copy it. So I will see for change my way to generate gamelist

      1 Reply Last reply Reply Quote 0
      • LolonoisL
        Lolonois
        last edited by

        Version 3.9.2 is out.

        Two enhancements:

        1. A configuration option to tidy some of the most common description quirks.
        2. If you use a definition.dat in XML style for custom import data you don't have to fit the definitions.dat whitespacing outside the XML elements as your import file is parsed as DOM/XML.

        Full release notes here.

        1 Reply Last reply Reply Quote 3
        • S
          sleve_mcdichael
          last edited by

          On my build, I keep a separate genesis system, not symlinked with megadrive. In earlier versions of Skyscraper (certainly prior to 3.8.1.2309, and I think prior to 3.9.0), using platform -p genesis worked, out the box with no modification.

          Today (in 3.9.2) I tried Skyscraper -p genesis -s screenscraper and got:

          Please set a valid platform with '-p <PLATFORM>'
          Check '--help' for a list of supported platforms. Qutting.
          

          I added a genesis section to peas.json like:

          "genesis": {
              "aliases": [
                  "megadrive",
                  "mega drive",
                  "sega mega drive",
                  "sega mega drive/genesis"
              ],
              "formats": [
                  "*.bin",
                  "*.gen",
                  "*.md",
                  "*.sg",
                  "*.smd"
              ],
              "scrapers": [
                  "openretro",
                  "screenscraper"
              ]
          },
          

          Now Skyscraper -p genesis works, but when I include -s screenscraper I am met with:

          Platform not supported by ScreenScraper or it hasn't yet been included in Skyscraper for this module...
          

          I understand screenscraper_platforms.json is a reference file not meant to be edited, plus already has this section anyway:

          "1": {
              "nom_eu": "Megadrive",
              "nom_us": "Genesis",
              "nom_recalbox": "megadrive",
              "nom_retropie": "genesis,megadrive",
              "nom_launchbox": "Sega Genesis",
              "nom_hyperspin": "Sega Genesis",
              "noms_commun": "Sega Megadrive,Sega Genesis,Megadrive,Genesis,Super Aladdin Boy"
          },
          

          Not sure what else is needed to make -p genesis -s screenscraper work like before?

          LolonoisL 1 Reply Last reply Reply Quote 0
          • LolonoisL
            Lolonois @sleve_mcdichael
            last edited by

            @sleve_mcdichael this can be solved configuration-wise. You are almost there: Last step should be to copy the line megadrive,1,16,36 from platforms_idmap.csv and add it to that file but change the platform to Genesis, thus it reads genesis,1,16,36.

            S 1 Reply Last reply Reply Quote 0
            • S
              sleve_mcdichael @Lolonois
              last edited by

              @Lolonois said in Skyscraper is back! (v3.9.2):

              platforms_idmap.csv

              Thanks. Apparently I had already known this at one point since I've already got a tg16 line added, but I guess I've forgotten it in the meantime.

              Cheers, thanks!

              1 Reply Last reply Reply Quote 0
              • windgW
                windg
                last edited by windg

                I remember in the past, when i was scrapping psx roms (bin/cue), to saw the metadata, i have to enter in the game folder in the ES menu. Did this behavior change in the recent releases ? Now i can see them without enter in the folder. It's a very welcome change!

                Edit: I just saw the changelog.Thank you very much to add this feature!!

                My English isn't at a good level.

                1 Reply Last reply Reply Quote 0
                • windgW
                  windg
                  last edited by windg

                  I am reporting something that maybe is an issue of the current setup (v3.9.2).

                  With the multidisk psx games, if the .m3u text contents are :

                  Game_A (Disk1).cue
                  Game_A (Disk2).cue
                  

                  Then, metadata, aren't visible without entering the folder. But they are visible if the .m3u file is :

                  Game_A (Disk1).CD1
                  Game_A (Disk2).CD2
                  

                  My English isn't at a good level.

                  1 Reply Last reply Reply Quote 0
                  • LolonoisL
                    Lolonois
                    last edited by

                    @windg how is are directory/files structured?

                    I have tried with this layout inside ~/RetroPie/roms/psx:

                    $ find Alone\ in\ the\ Dark\:\ The\ New\ Nightmare*
                    Alone in the Dark: The New Nightmare/
                    Alone in the Dark: The New Nightmare/Game (Disk1).CD1
                    Alone in the Dark: The New Nightmare/Game (Disk1).CD2
                    Alone in the Dark: The New Nightmare.m3u
                    

                    and this m3u content (also with cue extension for the disks):

                    $ cat Alone\ in\ the\ Dark\:\ The\ New\ Nightmare.m3u 
                    Alone in the Dark: The New Nightmare/Game (Disk1).CD1
                    Alone in the Dark: The New Nightmare/Game (Disk2).CD2
                    

                    But in all four cases (Skyscraper 3.9.2 and current dev version and disc extension either cue or cd1/2 the metadata showed up instantly when in System psx (no need to navigate to subfolder).

                    I ran these commands:

                    Skyscraper -p psx --refresh -s screenscraper '/home/pi/RetroPie/roms/psx/Alone in the Dark: The New Nightmare.m3u'
                    Skyscraper -p psx
                    

                    Could you verify on your end with this setup outlined above?

                    If it does not remediate the situation:
                    What is the setting of subdirs in your config.ini (in [main] as in [psx])?
                    which frontend are your using (see config.ini)?
                    what is the section "psx" showing in your peas.json?
                    I am running the emulationstation-dev version, what version do you use?
                    Can you share the part of your gamelist.xml for that section of <game> in question?

                    windgW 1 Reply Last reply Reply Quote 0
                    • windgW
                      windg @Lolonois
                      last edited by windg

                      @Lolonois

                      • I am using Skyscraper v3.9.2 installed from binary.

                      • Emulationstation frontend

                      • Folder Structure :

                      Wild Arms 2 (USA)/
                      Wild Arms 2 (USA) (Disc 1).bin
                      Wild Arms 2 (USA) (Disc 1).cue
                      Wild Arms 2 (USA) (Disc 2).bin
                      Wild Arms 2 (USA) (Disc 2).cue
                      Wild Arms 2 (USA).m3u
                      

                      Wild Arms 2 (USA).m3u :

                      Wild Arms 2 (USA) (Disc 1).cue
                      Wild Arms 2 (USA) (Disc 2).cue
                      
                      • config.ini file

                      • peas.json :

                      },
                          "psx": {
                              "aliases": [
                                  "playstation",
                                  "sony playstation"
                              ],
                              "formats": [
                                  "*.cbn",
                                  "*.chd",
                                  "*.cue",
                                  "*.img",
                                  "*.iso",
                                  "*.m3u",
                                  "*.mdf",
                                  "*.pbp",
                                  "*.toc",
                                  "*.z",
                                  "*.znx"
                              ],
                              "scrapers": [
                                  "screenscraper",
                                  "thegamesdb"
                              ]
                          },
                      
                      • artwork.xml :
                      <?xml version="1.0" encoding="UTF-8"?>
                      <artwork>
                        <output type="screenshot" resource="cover"/>
                        <output type="marquee" resource="wheel"/>
                      </artwork>
                      
                      • gamelist.xml

                      Indeed, if i use .CDx extenstion instead of .cue, it will show the metadata without move into subfolder. But i haven't test multidisk games for other emulators that don't support the .CDx or if the user is using .chd files. Thanks to look into this !

                      My English isn't at a good level.

                      LolonoisL 1 Reply Last reply Reply Quote 0
                      • LolonoisL
                        Lolonois @windg
                        last edited by

                        @windg Thanks for the info. To narrow down the context, a few more questions: Which ES version are you running? What is the setting of Parse Gamelists Only in the ES UI Settings menu or in your ~/.emulationstation/es_settings.cfg ?

                        If I understand correctly, you have highlighted the folder in ES which is shown in your game list of the system PSX and then there is no metadata shown.

                        However, when you navigate into the folder you get metadata presented
                        a) regardless of the extension of the files in that folder? -or-
                        b) only when extension is CD1 / CD2?

                        Independently of this: Do you get metadata presented when you highlight the entry in ES which is the m3u file on your storage/filesystem?

                        1 Reply Last reply Reply Quote 0
                        • windgW
                          windg
                          last edited by windg

                          The Emulationstation version is v2.11.2RP, RetroPie Buster v4.8.6 .

                          Gamelist view is the default 'Automatic' . I am using the default theme .

                          "ParseGamelistOnly" value="false"

                          es_settings.cfg file

                          If the .m3u have .cue extentions, then :

                          • No Metadata shown when i highlighted the folder in ES.
                          • Metadata shown when navigate into the folder, for the .m3u, for disk1 (bin/cue) and for the disk2 (bin/cue), 3 times .

                          If the .m3u have .CDx extentions, then :

                          -Metadata shown when i highlighted the folder in ES.
                          -No metadata shown when i navigate into the folder. (only one entry is visible here(.m3u), not three like before)

                          gamelist.xml file with the both games that i test. The first is the Countdown Vampires, a two disks game - m3u file with .CDx extentions. And the other is Wild Arms 2, a two disk game - m3u file with .cue extentions.

                          To be more clear, this is happening only with the multi-disk games. Single disk shown correctly the metadata when i highlighted the folder in ES. Thanks again !!

                          (As a workaround, i am hiding the game folder and i have put the .m3u file in the psx rom folder .)

                          My English isn't at a good level.

                          LolonoisL 1 Reply Last reply Reply Quote 0
                          • LolonoisL
                            Lolonois @windg
                            last edited by

                            @windg Ah, now I can reproduce it.

                            The code line where the usage of "folder metadata" is decided is this one. I have inherited the logic from Lars, it is around since quite a while. Even when Lars was the maintainer.

                            While it is comprehensible that you put the m3u file into the game folder it is also unusual.

                            It is coincidence that Countdown Vampires shows the data at folder level.
                            The fact that inside the folder only one file is shown is most likely due to that the extension CD1/2 is not added in es_systems.cfg.
                            For the same reason (read: CD1/CD2 not in peas.json) the metadata is shown on folder level. The number of known files counted by Skyscraper is 1 in that folder (the file with the m3u extension).

                            The Wild Arms 2 does not show on folder level as the logic in Skyscraper only sets "folder metadata" when exactly one file with the extensions of peas.json is found in this folder. As cue and m3u are valid extensions it sums up to 3 files, thus no "folder metadata".

                            I am not sold if I should add another exception (see his comment more above at the code line) for m3u files and having the m3u file inside the game folder.
                            If there are more users demanding it I might consider it.

                            Additionally to your workaround I would also set subdirs=false in the config.ini (for [psx]). And set "Parse Gamelists Only" to true.

                            1 Reply Last reply Reply Quote 1
                            • windgW
                              windg
                              last edited by

                              I will use your suggetion for the multi-disk games. Thank you very much for your time and the detail expanation!

                              My English isn't at a good level.

                              LolonoisL 1 Reply Last reply Reply Quote 0
                              • LolonoisL
                                Lolonois @windg
                                last edited by

                                @windg Nvm. Thanks for tabling and challenging it.

                                One more thing (without the workaround): You still enter the folder of Countdown Vampires for example and then launch the m3u file or do you somehow manage to launch when you focus the folder Countdown Vampires?

                                windgW 1 Reply Last reply Reply Quote 0
                                • windgW
                                  windg @Lolonois
                                  last edited by windg

                                  @Lolonois Yes, i have to enter into the folder, hit the m3u file to launch the game. I can avoid this if i throw the content of the game folder into the psx folder.

                                  My English isn't at a good level.

                                  LolonoisL 1 Reply Last reply Reply Quote 0
                                  • windgW
                                    windg
                                    last edited by windg

                                    New ppsspp v1.17.0 it's adding support for .chd files.
                                    The current peas.json is missing this format. I add it, tested it and it's working.

                                    },
                                        "psp": {
                                            "aliases": [
                                                "playstation portable",
                                                "sony playstation portable"
                                            ],
                                            "formats": [
                                                "*.cso",
                                                "*.iso",
                                                "*.pbp",
                                                "*.chd"
                                            ],
                                            "scrapers": [
                                                "screenscraper"
                                            ]
                                        }
                                    

                                    My English isn't at a good level.

                                    1 Reply Last reply Reply Quote 2
                                    • LolonoisL
                                      Lolonois @windg
                                      last edited by Lolonois

                                      @windg Thanks. Will be in the upcoming 3.10.0 release.

                                      1 Reply Last reply Reply Quote 1
                                      • LolonoisL
                                        Lolonois
                                        last edited by

                                        Version 3.10.0 is out.

                                        One of the changes which may be beneficial for you is the added bash completion:

                                        For example: Start typing Skyscraper - then Tab twice will give you all options, if you continue with Skyscraper -- then Tab twice you get only the long options. From there if you continue to type Skyscraper --c then Tab twice, you get Skyscraper --cache completed, if you again press Tab twice you get all cache options listed.

                                        Same goes for the main options -p and -s. Type Skyscraper -p a Tab twice will give you for example ags amiga apple2 arcade atari2600 atari800 as completion options. Once only one option is left, it is fully expanded and you can continue with more options as outlined above.

                                        And one important note: If you changed your local peas.json you may check the addition to peas.json.rp-dist in ~/.skyscraper/. In essence this this line has changed. You may want to add that to your peas.json. (see also previous posts on this change).

                                        As always, all additions of this release are summarized here.

                                        ClydeC S 2 Replies Last reply Reply Quote 3
                                        • ClydeC
                                          Clyde @Lolonois
                                          last edited by

                                          Thanks from a long-term Linux user to whom Tab completion is as natural as breathing. 😉

                                          1 Reply Last reply Reply Quote 1
                                          • S
                                            sleve_mcdichael @Lolonois
                                            last edited by

                                            @Lolonois said in Skyscraper is back! (v3.10.0):

                                            Version 3.10.0 is out.

                                            One of the changes which may be beneficial for you is the added bash completion:

                                            This isn't working for me. Updated Ss (binary) via RP-Setup. I am running v3.10.0 as reported by --version. I have the ~/.bash_completion.d/Skyscraper.bash file. I even rebooted the RPi4.

                                            Skyscraper --c[TAB][TAB]
                                            Skyscraper -p sn[TAB][TAB]
                                            /opt/retropie/supplementary/skyscraper/Skyscraper -p snes -s scr[TAB][TAB]
                                            # etc.
                                            

                                            ...does nothing.

                                            My RP-Setup is current, but underlying Raspbian Buster is not (251 packages can be upgraded. "If it ain't broke, don't fix it.") Should that make a difference?

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