Homepage › Forums › RetroPie Project › Ideas for Further Enhancements › Kid-friendly Retropie/ES (UI modes, favorites, hiding items) [B-TESTERS WANTED!] › Reply To: Kid-friendly Retropie/ES (UI modes, favorites, hiding items) [B-TESTERS WANTED!]
Hi!
This is a sign of life post, I am working hard on an update, but a nasty segmentation fault is throwing me off schedule.
[quote=113405]
This is all that I could find regarding the issue, but I don’t see any instructions on how to enable X and Y to toggle the new tags for favorite and kid.
[/quote]
Yeah, sorry about that.
I was planning to opload an updated theme together with the next code update, as the situation will be different after that.
What I am planning is this to use icons rather than a textual representation of the new metadata boolean types Favorite, KidGame and Hidden. To do this, I had to extend the theme handling in ES.
How that looks like is something like this:
Hopefully stating the obvious here:
Heart = Favorite
Teddybear = Kid friendly
Eye = hidden
(Now, of course this is a weird situation – why would you want to hide a favorite game? But this was for illustration purposes only).
These images are toggled, based on the metadata value true/false, so they will not be there when the value = false.
To know the paths and screen locations of these images, ES looks at the theme. In my theme I have added the following:
<image name="md_hidden">
<pos>0.17 0.165</pos>
<path>./art/hidden.svg</path>
<maxSize>0.06 0.045</maxSize>
<origin>0 0</origin>
</image>
<image name="md_kidgame">
<pos>0.10 0.16</pos>
<path>./art/teddy.svg</path>
<maxSize>0.06 0.06</maxSize>
<origin>0 0</origin>
</image>
<image name="md_favorite">
<pos>0.03 0.165</pos>
<path>./art/heart.svg</path>
<maxSize>0.045 0.045</maxSize>
<origin>0 0</origin>
</image>
The corresponding images are in a folder ‘art’, which will be either system specific, or set globally, depending if you want to have system specific images or not. (Looking at the memory issues we had in the past, I guess not).
Again, I am planning to update the carbon theme with these new values, so people can have a go. It just that everything always takes longer than expected, so bear with me.
And if anyone can get me up and running with debugging segmentation faults using gdb or something else, please let me know.