Grid View EmulationStation Mod Ideas
-
Another update before bed. (it's on my google drive above)
The grid's origin is now set to the top left of the first tile. I don't know if you guys will like the change, but I can revert it back easily.
gridtile_text <color> can now be animated.
"gridtile_text" <color>
"gridtile_text_selected" <color>I also removed some dead code.
@mattrixk A storm just hit around here and took out my pc that I was using to build the x86 versions. ...so I can't provide an x86 version tonight. I'll let you know tomorrow when I get it back up and running.
@lilbud That looks pretty nice. I actually like the look of not centering the game title text. Is that weird that I like that?
-
@herb_fargus Yes, you can make the gridtile background be any color. I haven't tried per system, but you should be able to.
-
@herb_fargus Yes we can, I changed the selector to white, so all it takes is a color tag in the systems theme.xml
-
@mattrixk Hermine? So powers out?
-
Also here is a quick dirty pic I took of what I've done with the current theme options. Sorry from my phone but the PC I was running ES on got slightly killed by a storm just now.
-
@lilbud: That's looking really good.
@jacobfk20: No worries mate, take your time. I hope your computer and everything else is okay. I should probably spend some time with the missus tonight anyway.
Also, it looks from that pic that you've gotten the gridtile_margin sorted too.
-
@mattrixk There still is some issue. I had to do -0.05 and -0.08 or something. It'll hopefully be fully fixed tomorrow.
-
@jacobfk20 Upload the theme.xml
Is everyone getting hit by this storm?
-
@lilbud said in Grid View EmulationStation Mod Ideas:
Is everyone getting hit by this storm?
I'm not :D , but then again, I'm in Australia, so...
-
@lilbud Sure I can upload it. I'll do it sometime this evening.
@mattrixk My linux box is back up and running. Just reinstalled xubuntu and rebuilt everything with the retropie setup script. I'll be pushing an x86 build in an hour or two.
Edit: Added x86 build to drive. It also has a slight modification to hopefully fix margin between tiles.
-
Pretty minor update tonight.
- Just changed how margin works between tiles. (margin of 0 0 will put tiles right next to each other)
- Tiles load slightly faster. (this is a simple number change, I slowly am able to increase this speed as things get more stable)
- The Dynamic Loader should not leave you "stranded." As in, if the user is hovering over an unloaded tile, it'll notice it's unloaded and force an update.
Both (rpi & x86) have already been pushed to my google drive.
@lilbud I also put my theme.xml in that folder as well. I had n64 set to gridsize 6p.
-
@jacobfk20 I was talking with another dev about the whole gridview thing: some exerpts our conversation:
in my opinion a good design would e to support custom grid resolutions (eg. fixed 5x3, or fixed 2 rows and "fill as much as possible horizontally" with some padding), and the box arts would then scale accordingly
in the code default and grid mode is a dcompletely different class, with their own variables and stuff
ideally, there'd be one view class, which'd just apply whatever theme you throw at itI'm not super familiar with the backend and everyone has their own way of implementing things and I like what you've come up with thus far. I liked the mockup of what @lilbud posted where there is the infobox with metadata per game kinda like kodi. In terms of the code, The metadata is already there for the detailed view so in terms of the view class for the grid view I think as you said it should be simple enough to include those in theming like they are for the detailed theme and then people can set up their themes accordingly (e.g. with the material theme I could make the left side system panel a right side metadata panel like kodi)
I'm going to have to play around some more with theming with all your changes and see what I can come up with.
-
@jacobfk20 said in Grid View EmulationStation Mod Ideas:
Both (rpi & x86) have already been pushed to my google drive.
How do I use the x86 file? Do I just swap it for the one /opt/retropie/supplementary/emulationstation/ ?
-
@herb_fargus This is what I have been brewing up. I can't get any of the metadata to show.
-
@herb_fargus One of my end goals is to remove the "UI settings" from the gamelist menu. So I do want to give the themer the power to use detailed view elements with grid view and have complete control over the grid layout. Giving detailed list elements could possibly be done by just having gridview inherent from Detailed List view instead of ISimple List view. This will keep it in two different classes, me sane, and gridview will then have all possible elements.
@mattrixk You can do that. I think you can just run it with, from terminal, while cd'd to its dir.
./emulationstation@lilbud Liking the look. Metadata is not added. I will try to do that this weekend.
-
@jacobfk20 well carry on my good sir.
@lilbud I like the look (also saves me the trouble of rotating all the logos even though I already did)
-
@jacobfk20 Okay, I thought it was something on my end.
-
@jacobfk20 also not sure if bug or feature but
<ninepatch name="gridtile_background"> <path></path> <color>FFFFFF00</color> </ninepatch>
The above will segfault if there is no path or if the path doesnt resolve to a real file.
Also the left align is cool and all but it makes the grid view seem off if the theme is centered and there is still a gap on the right but not on the left (not sure if thats due to the position defaulting at 0,0) but anyways I know you had mentioned the grid area as a whole is something you're still hashing out so I won't bug you too much about it right now
-
@herb_fargus I was able to reproduce that bug and it has been fixed. It'll be in the next build.
Yeah, I'm still trying to figure out the best way to have the grid build itself. It's pretty difficult when every system has a different tile size and aspect ratio.
A couple ways to make gridview be more uniform and look center is:
- Have themer define a set grid size, such as 5, 3 and have grid view create tile size or take defined size and set its own margin
- Take a themer's defined tile size and fit as many as it can in a grid and adjust margin accordingly.
But go ahead and bother me with that. I'd like to know other solutions I could try.
Also, thanks for reporting the bug :)
-
@jacobfk20 So in the theme.xml, we can manually set a grid size and ES will automatically fit the grid?
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.