Favorites for EmulationStation
-
@pjft The shutdown one, edited my previous answer
-
I looked into the code a bit and I have to say:
Wow, my skills aren't enough for that...I think there is something wrong with accessing variables/memory (got Segmentation Faults in one of my earlier tries..). In this particular case it seems, that non existing or gamelists generated by emulationstation are working but pre generated ones doesn't.
I don't know how much you guys know, but I guess @Zigurana knows a lot more about this than I do, but I'm just saying :-)
Hopefully I'm not spaming some unnecessary stuff -
-
Seems like I was able to track down the problem a bit:
I tested some different themes and view modes and it seems like the problem only occurs if the video view is activated!
Also the code that adds the favorite tag seems to work (debuged and added some log entries, code located in/es-app/src/view/gamelist/ISimpleGameListView.cpp
), but the tag doesn't appear in the gamelist.xml (even the ones that worked) -
@DarkWolf Thanks for investigating further!
On the saving side of things, in the options front, do you have the "Save Gamelists on Exit" or similar option turned on?
Welcome to the dark - and fun - side of debugging ES via logging :D
-
@pjft said in Favorites for EmulationStation:
Welcome to the dark - and fun - side of debugging ES via logging :D
-
@pjft The
Save Metadata On Exit
setting is turned on (it crashes if it is off too)To make it a bit quicker, it is a fresh installation of the latest retropie img with a nes30 pro controller setup... that's it
Welcome to the dark - and fun - side of debugging ES via logging :D
Seems like fun, yes... kappa
Gonna have fun as always -
@lilbud lmao :'D
-
@TMNTturtlguy said in Favorites for EmulationStation:
@mattrixk hmmmm....interesting, but what you are showing is the icon still being a part of the text element and this would limit a lot of options for placing text in themes. Every theme would need to have their text left aligned in order to make this appear correctly. In themes like my comic book theme, or even more significant, in themes like @ruckage is working on where he lines the text up in outlined boxes, this would really limit the creativity.
I do like the icons, and the simplicity of it, but I wonder if there is a way to allow more flexibility?
Agreed. Also, while using those fonts would make life easy I wouldn't want to be forced to use them as they won't fit every theme. For example in my theme or any other pixel based theme they will look out of place so there should always be the option to replace them with your own assets in the form of png or svg files. Oh, and you should also be able to color them - very annoying you can't color the rating icons in ES as you can all other elements.
This may complicate things but could the icons be a linked but entirely separate list element? e.g you would have an iconlist that just displays the folder icons etc. and this could be moved around/resized completely independently of the gamelist itself so it could be positioned exactly as the themer wants. It could also be easily removed if a themer didn't want to use it at all.
-
@ruckage said in Favorites for EmulationStation:
This may complicate things but could the icons be a linked but entirely separate list element? e.g you would have an iconlist that just displays the folder icons etc. and this could be moved around/resized completely independently of the gamelist itself so it could be positioned exactly as the themer wants. It could also be easily removed if a themer didn't want to use it at all.
I agree. My thought would be that it is created as another meta data field and as ruckage has alluded to it is treated similar to the ratings stars.
@ruckage said in Favorites for EmulationStation:
Oh, and you should also be able to color them - very annoying you can't color the rating icons in ES as you can all other elements.
This would allow both the user to add the favorite setting to their gamelist.xml if they wanted and the theme creator to place that icon where they want it. Both the user and creator have control on if they see it or not.
@ruckage you can replace the stars in the art folder with new icons. If you want to edit the stars color you just need an editing program like photoshop or gimp. Save the new icon or star as the same name and you are good to go. I have little comic "pow" symbols in mine, they react the same way the stars do to the meta data.
-
@TMNTturtlguy
I think @ruckage was meaning the ability to change icon colors through the XML like you can with the help icons. -
@Syhles yeah, I know what he was meaning. I was just sharing an easy work around for the problem.
-
@TMNTturtlguy said in Favorites for EmulationStation:
@ruckage you can replace the stars in the art folder with new icons. If you want to edit the stars color you just need an editing program like photoshop or gimp. Save the new icon or star as the same name and you are good to go. I have little comic "pow" symbols in mine, they react the same way the stars do to the meta data.
Hi. Yeah I'm aware of that, you'll notice I'm using pixel hearts for the ratings on my theme. Trouble is if you want a different colour icon for each system (which would be nice on my theme) you need a separate set of images for each colour - nearly every other element you can use a white image and then colour it through the xml (the logos on the carousel are another example that can't be coloured - also annoying). This may not seem like an issue but say for example you decide you want to change the rating icon design completely at some point - this then requires replacing up to 172 images (assuming 86 systems and two images needed for the rating icon). If however you could colour them through xml you would only have 2 images to modify.
Apart from being really useful it also seems a strange inconsistency that these are the only 2 elements that lack the option to be coloured.
-
@ruckage said in Favorites for EmulationStation:
Oh, and you should also be able to color them - very annoying you can't color the rating icons in ES as you can all other elements.
If you switch from icons to font-set glyphs then you can color and size them as fonts, could be an idea ( the linked font awesome has it too star glyph
-
@sokiee said in Favorites for EmulationStation:
@ruckage said in Favorites for EmulationStation:
Oh, and you should also be able to color them - very annoying you can't color the rating icons in ES as you can all other elements.
If you switch from icons to font-set glyphs then you can color and size them as fonts, could be an idea ( the linked font awesome has it too star glyph
No, not a good solution as it takes away the ability to easily customise the images used and (unless you know how to make/edit fonts but that is not an easy task and not something most people can do.) Using images/svg would also allow full colour icons which some themers may want.
There is no reason the icons can't be coloured via xml as every other image can be - it just hasn't been included as an option.The more new features the better but I think it's important not to limit creativity with those features so that we get more diverse themes.
-
@ruckage said in Favorites for EmulationStation:
@sokiee said in Favorites for EmulationStation:
@ruckage said in Favorites for EmulationStation:
Oh, and you should also be able to color them - very annoying you can't color the rating icons in ES as you can all other elements.
If you switch from icons to font-set glyphs then you can color and size them as fonts, could be an idea ( the linked font awesome has it too star glyph
No, not a good solution as it takes away the ability to easily customise the images used and (unless you know how to make/edit fonts but that is not an easy task and not something most people can do.)
what i meant is add support for font awesome ( with all the glyphs included ) then you can let people not only customise the icon ( choosing any glyph ) but then you can also customise it as a font ( size, color ecc )
-
@sokiee said in Favorites for EmulationStation:
what i meant is add support for font awesome ( with all the glyphs included ) then you can let people not only customise the icon ( choosing any glyph ) but then you can also customise it as a font ( size, color ecc )
Yeah, but picking from a selection of pre-defined glyphs isn't enough. I would want to draw my own icons to match my theme, as would many other themers.
-
@ruckage said in Favorites for EmulationStation:
@sokiee said in Favorites for EmulationStation:
what i meant is add support for font awesome ( with all the glyphs included ) then you can let people not only customise the icon ( choosing any glyph ) but then you can also customise it as a font ( size, color ecc )
Yeah, but picking from a selection of pre-defined glyphs isn't enough. I would want to draw my own icons to match my theme, as would many other themers.
Then yes, I agree adding support for icon would be better then ( and probably easier too )
-
Been following this thread and was thinking (and forgive me if its been covered already), could the 'favourite' not be highlighted by a colour change fro the fame name, say from white to green?
This would mean that no additional formatting issues would arise with different themes etc.
-
@Chillimonster said in Favorites for EmulationStation:
Been following this thread and was thinking (and forgive me if its been covered already), could the 'favourite' not be highlighted by a colour change fro the fame name, say from white to green?
This would mean that no additional formatting issues would arise with different themes etc.
Yes, but what if people don't like green? what if they want it red because it matches their red theme :P
It's better if it's customisable.
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.