Grid View EmulationStation Mod Ideas
-
Alright everyone, sorry for a long wait but I think I finally got this update to almost behave how it should. The list is small-- but there was a lot that had to be done to get these things going.
- you can now assign how many columns and rows a grid has and it will try to make the tiles fit inside the size you set.
- MetaData should now be accessible (Same names as Detail View)
- Gridtile_background is now an <image> for backwards compatibility with upstream. (It's still a ninepatch as well)
Change the grid's rows and column size with
<container name="gridRowsAndColumns"><size>4 2</size></container>
It will default to 4 2 if it is not defined.As always you can grab it on my drive.
Some thoughts:
I'm sure it sometimes doesn't keep the image's aspect ratio when it resizes the grid tiles. Someone let me know if it looks off to you.
There is a forced padding and I may keep it as it's sort of a fail safe to make sure tiles don't go into each other.
Adding margin will shrink the images. This makes sense because it has to fit the tiles into a smaller space.
Set Gridmod size to 0p in UI settings! This will also be removed in next update.Again, I haven't had much time to test so I'm not sure if anything is broken or not. A lot had to be changed to make the grid build off of theme defined rows and columns. Please let me know of anything that is broken as soon as you can :)
Thanks guys!
-
@jacobfk20 That sounds fantastic mate. Well done. I'll hopefully have a chance to check it out tonight.
Will there be (at some point the future) the option of setting different grid sizes (eg: 6x4, 5x3, 4,2) for small, medium, large so the user still has a bit of a choice? I understand you'd want to do lots of testing on just one grid size first before making others, but it seems like it could be an awesome addition (obviously I have no idea how much work it would actually be to implement).
-
Next Update. Mostly just minor fixes. Most time was spent on fixing the aspect ratio not being kept on tile scale.
- Updated gridview theme help to include changes.
- Gridtile color tween now fully works.
- Better respect to game art aspect ratio
- Better tile resizing to fit within grid size
- Grid will resize itself better within its size
- Grid rows and columns can now be defined from <small, normal, big>
Get latest build here rpi (arm) and x86 available.
-
@jacobfk20 Is this to be released and bundled with Retropie soon? I can't wait ;)
-
@jacobfk20 Looks good so far, I like the flexibility of it all. Working on adapting some themes for testing.
The two things off the top of my head from initial testing are thus:
-
The game titles need an animation so they can be read (which I know is on your todo list)
-
For the carbon theme I'm centering the grid but the position of the the container seems to be left aligned (e.g. the boxart will grow off the left side of the screen but will have a gap on the right side of the screen) it would be nice to either have an option in the theme for alignment of the grid containers unless I missed a theming option somewhere for that.
-
-
@herb_fargus GridTile game title's color can be animated with:
<text name="gridtile_text_selected"> <color> </text>
I forgot to add it to the GRIDTHEME md. I might also add position to _selected.
Grid alignment is on its way and will probably be in the next update.
-
@jacobfk20 sorry I didn't mean animated like colour wise, I meant like to scroll so you can read the rest of the title, same for the description text etc.
-
@herb_fargus Ah, I see. I'll have to look into that. May add it direct to TextComponent in a separate branch.
-
This update is mostly small things towards stability and clean up. It changes how Tiles are aligned so if things aren't appearing correctly for you after updating to this build you may need to remove grid_margin, or change it slightly (It acts more like padding now) If this change breaks your design, especially if beyond repair, please let me know. If you use a negative grid_margin it will be broken and you may want to wait for the next update.
Here is a quick list of noticeable things:
- Fixed bottom row tiles disappearing when selected from a diagonal angle.
- Grid no longer renders tiles when exiting that system. (this fixes problems where tiles would overlap in other system views)
- Folders are now fully functional. @lilbud
- Added an icon just for folders
- Tiles will now be perfectly aligned inside the specified grid size on both left and right sides. @herb_fargus
- Under certain conditions a segfault can be encountered, which is more likely in a system with folders, if a user quick changes a system while moving the cursor and the grid is unloading tile textures. This would throw the loaded texture list off and would cause the dynamic loader to unload textures that don't exist. This has been fully fixed and the main reason this update took so long.
As always there are x86 and arm builds available on my drive.
-
@jacobfk20 Is scrolling titles and descriptions working on grid view? Because nothing will scroll. Could it just be the Material Theme itself?
-
@lilbud I have never noticed the description wasn't updating. I'll get that fixed. Title scrolling may be a way off.
-
@jacobfk20 I've been having trouble trying to get your version of emulationstation to work. I have copied your file from your drive, changed the permissions and copied the material.xml file to the material theme folder. Once I load ES it dumps me out the the terminal saying "Segmentation Error" Am I installing this wrong? Do I need to be on the latest RetroPie Install? Do you have instructions on how to exactly install your version? Any help would be great! Thanks!
-
@pompitousofseth You didn't need to copy that material theme over. I just put that in there for a one time thing and I will now remove it. Go update your themes, especially material, in the retropie setup script and get the newest versions. If it still crashes on boot then please send me a copy of the es_log so I can see what is happening. located at ~/.emulationstation/es_log.txt
-
@jacobfk20 Okay I will give it a try and let you know how it goes. I have to reload a backup first.
-
@pompitousofseth You can just launch the setup script outside of ES.
-
@jacobfk20 I did something else to my pi, that stopped it from booting. I make regular backups so I can revert to before I changed things!
-
@jacobfk20 That did the trick. I have one question though. Changing the grid size (small, normal, big) doesn't change the grid size. It that in the theme files or is it in the code for ES itself?
-
@pompitousofseth glad to hear it worked. Grid size must be supported by the theme. It'll default to 4x2 if no size is defined. Will be adding defaults for big and small some time.
-
I updated the material theme, I'm slowly getting back into working on it. The selected background is solid and will match the system color in due time. And all metadata is added on the sidebar. Description still doesn't scroll. But who ever wants to test, (or help me apply these changes to all the systems besides Game Boy.) Just update through the setup script
-
@lilbud I currently have the description scrolling. It will be in the next update I post. I will also update and check out your theme here in a few. :)
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.