RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Custom collection does not seem to exist?

    Scheduled Pinned Locked Moved Help and Support
    retropie 4.4collections
    10 Posts 4 Posters 720 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
      djaay
      last edited by

      I am using Notepad++ and trying to make a custom collection that is named "custom-mygames.cfg". I am using Unix(LF) style and UTF-8 (Not BOM). The file is saved at "\RETROPIE\configs\all\emulationstation\collections" (using SAMBA).

      Games are listed like:
      /home/pi/RetroPie/roms/nes/Blackjack (U).nes
      /home/pi/RetroPie/roms/nes/Blackjack2 (U).nes

      The games are in the correct path...the file is saved...still it is not listed under "Collections" in RetroPie. I have tried rebooting RetroPie...still will not show up. What am i doing wrong? Can i only add collections though GUI?

      mediamogulM 1 Reply Last reply Reply Quote 0
      • mediamogulM
        mediamogul Global Moderator @djaay
        last edited by mediamogul

        @djaay

        When adding manually, I believe you also have to add reference to the new collection in /opt/retropie/configs/all/emulationstation/es_settings.cfg. I'll post the entry from mine below as an example.

        <string name="CollectionSystemsCustom" value="-In Progress,2600 Adult,Bomberman,Horror Themed,Movie Featured,Neo Geo,Nintendo Wars,Pac-Man,Pinball,Street Fighter,Vector,Wisdom Tree" />
        

        RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

        D 1 Reply Last reply Reply Quote 0
        • D
          djaay @mediamogul
          last edited by

          @mediamogul said in Custom collection does not seem to exist?:

          @djaay

          When adding manually, I believe you also have to add reference to the new collection in /opt/retropie/configs/all/emulationstation/es_settings.cfg. I'll post the entry from mine below as an example.

          <string name="CollectionSystemsCustom" value="-In Progress,2600 Adult,Bomberman,Horror Themed,Movie Featured,Neo Geo,Nintendo Wars,Pac-Man,Pinball,Street Fighter,Vector,Wisdom Tree" />
          

          Thanks, but i get a warning when saving...on further analyses...this is not valid XML...hope it won´t mess up my system :-)

          mediamogulM 1 Reply Last reply Reply Quote 0
          • mediamogulM
            mediamogul Global Moderator @djaay
            last edited by

            @djaay said in Custom collection does not seem to exist?:

            i get a warning when saving...on further analyses...this is not valid XML

            I'm not sure I follow. Are you saying your es_settings.cfg contains invalid XML? Also, what error are you getting on save?

            RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

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

              After you made your new collections text file and put it into the /opt/xxx directory...

              Did you restart ES?
              Did you go into the menu and enable it?

              Just having the file there I don't think it will automatically make it show up in ES. You need to enable viewing it.

              Start > Game Collection Settings > Custom Game Collections ...then select it to be visible.

              If the theme you are using supports what you called your new collection, it'll get shown on the main menu. If not, it'll show up in the Custom Collections menu instead.

              You don't have to edit the es_systems.cfg to add custom collections anymore. Just add the collection, add the games, etc.

              If you do it via the ES GUI, you can create a new collection and name it anything you want (or use an existing theme supported collection). Then add games to the new collection.

              Since you manually made the collection file, you bypassed the ES GUI creation (which is totally fine)...but you still need to check it to make it visible.

              1 Reply Last reply Reply Quote 0
              • D
                djaay @mediamogul
                last edited by djaay

                @mediamogul

                @djaay said in Custom collection does not seem to exist?:

                @mediamogul said in Custom collection does not seem to exist?:

                @djaay

                When adding manually, I believe you also have to add reference to the new collection in /opt/retropie/configs/all/emulationstation/es_settings.cfg. I'll post the entry from mine below as an example.

                <string name="CollectionSystemsCustom" value="-In Progress,2600 Adult,Bomberman,Horror Themed,Movie Featured,Neo Geo,Nintendo Wars,Pac-Man,Pinball,Street Fighter,Vector,Wisdom Tree" />
                

                Thanks, but i get a warning when saving...on further analyses...this is not valid XML...hope it won´t mess up my system :-)

                Yes, when trying to save the file i get "XML Parsing error at line 3: Extra content at the end of the document".

                This is a new installation (4.4)...so haven´t done anything to the file.

                I uploaded the file to https://www.xmlvalidation.com/ and it gives errors.

                I uploaded the file from RetroPie:
                https://ufile.io/5u8lc

                mituM 1 Reply Last reply Reply Quote 0
                • mituM
                  mitu Global Moderator @djaay
                  last edited by

                  @djaay Post the file to pastebin.com. The xml online validator can also give some hints on what characters you use that are not allowed in an XML file.

                  D 1 Reply Last reply Reply Quote 0
                  • D
                    djaay @mitu
                    last edited by

                    @mitu said in Custom collection does not seem to exist?:

                    @djaay Post the file to pastebin.com. The xml online validator can also give some hints on what characters you use that are not allowed in an XML file.

                    https://pastebin.com/2y7frtka

                    It will not validate in other validator also for example:
                    https://codebeautify.org/xmlvalidator

                    mituM 1 Reply Last reply Reply Quote 0
                    • mituM
                      mitu Global Moderator @djaay
                      last edited by

                      @djaay OK, so you get the error from Emulationstation or from your editor ? The content seems ok. I get the same 'validation' errors with my ES configuration file - which is fine.

                      D 1 Reply Last reply Reply Quote 0
                      • D
                        djaay @mitu
                        last edited by djaay

                        @mitu said in Custom collection does not seem to exist?:

                        @djaay OK, so you get the error from Emulationstation or from your editor ? The content seems ok. I get the same 'validation' errors with my ES configuration file - which is fine.

                        Just for the "heck" of it...i tried loading it in a C# parser and tried to parse the doc (XMLDocument)...and it complained about "multiple root nodes". I´m not an XML specialist...or anything, but i´m not sure this is actual a valid XML markup.

                        But even so, it works in ES. But i noticed it first when my editor (Notepad++) complianed when i tried to save it.

                        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.