Custom collection does not seem to exist?
-
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).nesThe 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?
-
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" />
-
@mediamogul said in Custom collection does not seem to exist?:
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 :-)
-
@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? -
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.
-
@djaay said in Custom collection does not seem to exist?:
@mediamogul said in Custom collection does not seem to exist?:
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 -
@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.
-
@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.
It will not validate in other validator also for example:
https://codebeautify.org/xmlvalidator -
@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.
-
@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.
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.