Please Test: Creating Custom Collections
-
Hi all.
This should now be feature complete - so, asides from fixing a few bugs that you found, any unthemed collections will now be grouped under the "My Collections" folder (theme folder:
custom-collections
), by default. There's an option to show them all the system level as well (you can disable it) should you prefer that. It will use the default theme, then, if present.There's no option to decide on which individual collections are grouped under the "My Collections" or shown at system level, as that would just add unnecessary complexity. If there's a theme folder, it will be at system level. If not, it depends on whether you chose unthemed collections to be grouped or not. I don't plan on making this more complex.
I also fixed a long-standing bug whereby opening a subfolder wouldn't render the metadata (images, video) of the first item on the list, as it was critical for this to work well.
The binary for a Pi 2/3 can be found here.
You can also compile it from my Custom-Collections branch using @meleu's excellent es-tests tool.
@cyperghost , @mattrixk , @TMNTturtlguy , this should now be ready for your use cases.
Since it wasn't clear from the outset, after adding a new collection you'll be sent straight to that collection's "edit" mode (i.e. adding and removing roms to it), but you can always access it or exit it via the select menu from within the collection's gamelist.
Go forth and break things!
-
@TMNTturtlguy Apologies, might have missed this somewhere. I think I had posted it somewhere but can't find it.
Your theme folder is currently titled
custom-collection
, but it should becustom-collections
. A small change if possible :)Thanks!
-
@pjft The theme has been updated per your request.
-
@pjft What needs to be done to install and test this out? I download the binary above, then how to install it? Also, when this gets through beta and is rolled into the main release, will this beta version simply become the final release via updating?
-
@tmntturtlguy Thanks, it's perfect!
All: I updated the binary to address two small issues that you likely wouldn't experience, but that would misbehave nonetheless. If you had already downloaded the binary, please re-download if possible. They weren't in any way critical - just small edge cases that weren't fully covered.
@ohmycommodore This applies to you, please re-download the binary if you have the chance :)
To install it, you can do the following on your Pi's terminal. First, exit ES, then:
mkdir /home/pi/tmp-es cd /home/pi/tmp-es rm emulationstation wget https://github.com/pjft/EmulationStation/releases/download/0.2/emulationstation chmod +x emulationstation
At this stage, you can run it from here by typing
./emulationstation
but, as I mentioned earlier, keyboard inputs when running from the terminal may/will be sent to the terminal, so you likely won't be able to name your own collections.If you'd want to replace your version of ES, continue with the following commands:
cd /opt/retropie/supplementary/emulationstation sudo cp /home/pi/tmp-es/emulationstation /opt/retropie/supplementary/emulationstation
and then reboot.
If you want to revert to the main ES version, just install from binary, from RetroPie-Setup.
And yes, when this makes it into the main branch, updating ES from RetroPie-Setup will replace this version.
But for that to happen, we need a lot of people to test this to make sure it's all sound. :)
Also, remember to use a compatible theme for best performance - refer to this excellent thread maintained by @cyperghost .
Thanks!
-
@pjft In the new Custom Collections section that has a list of each collection, can that be themed? Right now I don't see much when testing it using the Art Book theme.
-
@hurricanefan see this post for a list of themes that have the custom-collections system theme as well as the default system theme. link
-
@hurricanefan That does seem to be the theme for that system/section.
Those folders aren't meant to have any metadata other than the name. The fact that those folders do not have metadata means they show up as empty elements - same as if you had a system with folders.
If you use another theme (try ComicBook, for instance) you'll see what I mean, for the time being.
-
I could try (no promises) to make them adopt the metadata of one of the games within. Perhaps the first on the list. Just so that's not as barebones.
EDIT: My concern is that then people ask why is it claiming to have the wrong genre/stars/player number/video/image/whatever to what they expect. Thoughts or comments? I could make it random each session, but the problem still holds.
I'm not sure whether this is something worth investing in at the moment, but open to feedback on any of these options.
-
@pjft Let me test with ComicBook to see the difference.
-
@hurricanefan or maximuspie, that's also a good one.
-
@pjft or IO-theme ;)
Did you remember this one? Thank you very much for creating this?
But I've two questions
- We enable edit via select-button in games collection, so we can add games by pressing Y. Why not disable editing mode by pressing just select in the main caroussel as well as in any gamelist? I think that will short down editing mode
- Do you think about possible adding a system
custom-collection
to our ROMs storage and place an txt file in? So we can add custom systems without needing a keyboard? Just by editing it with SSH or even any txt-editor on Windows/Mac?
Bug report:
Last system (Super Nintendo in my case) is also treated as Custom Collection!
It shows correct Game numbers in main caroussel but if I enter then I see Custom Collection! If I enable "sort custom collections" it works! -
-
Because you may want to access the select menu within the process, namely for filtering or sorting. This is not different to having the button add a game to favorites - it's just that it's assigned to a specific connection.
-
Not planning on doing that as a XML file or supporting that use case directly. But the collections are stored as a file under ~/. emulationstation/collections, and these may be what you're looking for already. But edit them at your own risk. :)
-
-
@cyperghost From what I could see, Collection lists are stored here:
/opt/retropie/configs/all/emulationstation/collections
Or
/home/pi/.emulationstation/collectionsThere is a file for each collection with the path to each rom in the collection stored in a cfg file.
-
@hurricanefan Thx
@pjft I edited posting but I repost hereBug report:
Last system (Super Nintendo in my case) is also treated as Custom Collection!
It shows correct Game numbers in main caroussel but if I enter then I see Custom Collection! If I enable "sort custom collections" it works! -
@cyperghost I had your bug today too. I thought it was a weird thing with me switching themes but wasn't sure.
-
@hurricanefan You can enable/disable the bug by "sort custom systems and collections" on/off, can you confirm?
Then you need to open your last regular system ... mine is Super Nintendo -
@cyperghost @HurricaneFan hmm. Thanks for the report.
I can confirm that that's certainly not the case all the time, so I need a bit more information there.
Any steps to replicate it from the start of EmulationStation, and what collection options (sort? Group? How many auto, and custom ones - both themed and unthemed) and theme you're using?
I have a few ideas where that may be happening, but pointers would certainly help.
Thanks!
-
@cyperghost so, with sorting on it has the bug? I'm happy to remove that option :p
Joking aside: and if you restart ES with the option in the same state, does the problem still occur on loading or is it just if you toggle the option in the session?
-
@pjft
I see the same thing with the Comic Book theme.
Would I be able to scrape data for this section? So it doesn't list empty fields on the right of whatever theme I'm using?
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.