RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Grid tile content (image, text, or more ...)

    Scheduled Pinned Locked Moved Ideas and Development
    emulationstatiogridviewes themes
    72 Posts 13 Posters 10.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jdrassa
      last edited by

      @a12c4 said in The Grid View need your opinion:

      For example, adding md_title to all the view will break all the available theme, because to be consistent with other metadata, the md_title will be shown if the theme don't specify it position to offscreen.

      md_title could be added to other views without breaking any existing themes. The key to preventing it from effecting existing themes would be to specify a default position in the code that is already off screen.

      Get latest build of EmulationStation for Windows here

      lilbudL A12C4A 2 Replies Last reply Reply Quote 0
      • lilbudL
        lilbud @jdrassa
        last edited by

        @jdrassa said in The Grid View need your opinion:

        md_title could be added to other views

        Do it. Seriously a lot of themes could benefit from it.

        Creator of the Radiocade: https://retropie.org.uk/forum/topic/6077/radiocade

        Backlog: http://backloggery.com/lilbud

        1 Reply Last reply Reply Quote 0
        • A12C4A
          A12C4 @jdrassa
          last edited by A12C4

          @jdrassa Which would bring inconsistent behavior as it's the only metadata positioned offscreen by default.

          Not that this is a big deal by itself, but the code related to the game views is already so fcked up, I would prefer not adding another thin layer of complexity to something that is already a giant mess.

          While a unique and modular game view would solve both this problems (messy code and different metadata) at the same time.

          EDIT : What about md_marquee ? What about md_image ? Should we really spend time duplicating code all around instead of refactoring as this should have been done a long time ago ? I don't think so and I don't want to do that, if you want to, then go ahead and do it, but I don't support that.

          Grid view wiki

          J 1 Reply Last reply Reply Quote 0
          • A12C4A
            A12C4
            last edited by A12C4

            @lilbud

            0_1523216674518_Capture d’écran de 2018-04-08 21-25-58.png

            0_1523216688868_Capture d’écran de 2018-04-08 21-27-03.png

            https://github.com/Koerty/es-theme-material

            Wasn't the background color of the selected tile blue before ? Maybe it changed because I use different default values.

            0_1523216824886_Capture d’écran de 2018-04-08 21-36-09.png

            0_1523216830364_Capture d’écran de 2018-04-08 21-39-14.png

            https://github.com/Koerty/es-theme-moderntv

            This one look super bad because you set the path of the background to :

            <path>/home/pi/RetroPie/splashscreens/modern/bg.png</path>
            

            This is an absolute path and I don't have the image. Unless I missed something and the image is installed somehow with your theme, you should add the image to the git repository and set the image path with a relative path.

            Grid view wiki

            lilbudL 1 Reply Last reply Reply Quote 0
            • lilbudL
              lilbud @A12C4
              last edited by

              @a12c4 You gotta add your own image. I designed the theme so that any image can be used, but the user has to supply the image.

              Creator of the Radiocade: https://retropie.org.uk/forum/topic/6077/radiocade

              Backlog: http://backloggery.com/lilbud

              A12C4A 1 Reply Last reply Reply Quote 0
              • A12C4A
                A12C4 @lilbud
                last edited by

                @lilbud Then from where the image you used in your screenshots come from ? The blue and orange image with sky buildings

                I want to compare to see if there is any difference.

                Grid view wiki

                lilbudL 1 Reply Last reply Reply Quote 0
                • lilbudL
                  lilbud @A12C4
                  last edited by

                  @a12c4

                  alt text

                  Creator of the Radiocade: https://retropie.org.uk/forum/topic/6077/radiocade

                  Backlog: http://backloggery.com/lilbud

                  A12C4A 1 Reply Last reply Reply Quote 0
                  • A12C4A
                    A12C4 @lilbud
                    last edited by A12C4

                    @lilbud Thank you a lot !

                    Original for comparison

                    alt text

                    My version

                    0_1523219252020_Capture d’écran de 2018-04-08 22-24-20.jpg

                    0_1523219259772_Capture d’écran de 2018-04-08 22-24-59.jpg

                    So, as expected, the game title isn't here because not implemented yet.

                    Beside that, on the original image, is the "white space" under the selected tile something you wanted to do on purpose ? Or was it just the space where the text, which is hidden, belong.

                    Because right now I'm centering the background with the image, so if people want to do something like that, with one of the side of the selector bigger than the others, they can't.

                    EDIT : I'm not sure but I think the tiles are slightly bigger in my case, I need to check something.

                    Grid view wiki

                    lilbudL 1 Reply Last reply Reply Quote 1
                    • J
                      jdrassa @A12C4
                      last edited by

                      I give a bit more importance to keeping it simple for the user over keeping it simple for the developers.

                      Someone said this recently in an unrelated PR and I think it applies here as well. A little bit of code duplication would simplify things for users and theme developers.

                      @a12c4 said in The Grid View need your opinion:

                      While a unique and modular game view would solve both this problems (messy code and different metadata) at the same time.

                      This is true, but there is no guarantee this will happen anytime soon. When video support for first added, there was discussion about adding md_marquee to detailed view. The reason we didn't at the time was because their was discussion about overhauling the game view that would fix this "right way". Nothing ever came of it and support for md_marquee was never added to detailed view.

                      @a12c4 said in The Grid View need your opinion:

                      EDIT : What about md_marquee ? What about md_image ?

                      Ideally we should have consistent metadata available to all views.

                      @a12c4 said in The Grid View need your opinion:

                      Should we really spend time duplicating code all around instead of refactoring as this should have been done a long time ago ? I don't think so and I don't want to do that, if you want to, then go ahead and do it, but I don't support that.

                      Look I was not saying that you had to implement md_name support in all views, I was just pointing out that it was possible to do so without breaking existing themes. That being said, your statement about why you don't want to do it, could apply to the grid view in general. There was a bunch of code duplication involved. Maybe you should have held off until everything was refactored into the perfect solution. Maybe we should have rejected some of your PRs for the same reasoning. You didn't and we didn't. This just seems like a wierd arbitrary point to decide to draw the line.

                      Get latest build of EmulationStation for Windows here

                      A12C4A 1 Reply Last reply Reply Quote 0
                      • lilbudL
                        lilbud @A12C4
                        last edited by

                        @a12c4 said in The Grid View need your opinion:

                        Beside that, on the original image, is the "white space" under the selected tile something you wanted to do on purpose ?

                        I honestly don't remember, its easily been years since I worked on this theme, or with gridview at all.

                        Creator of the Radiocade: https://retropie.org.uk/forum/topic/6077/radiocade

                        Backlog: http://backloggery.com/lilbud

                        1 Reply Last reply Reply Quote 0
                        • A12C4A
                          A12C4 @jdrassa
                          last edited by

                          @jdrassa

                          Someone said this recently in an unrelated PR and I think it applies here as well. A little bit of code duplication would simplify things for users and theme developers.

                          Ahahahah nicely seen. You won that point ;)

                          Look I was not saying that you had to implement md_name support in all views, I was just pointing out that it was possible to do so without breaking existing themes. That being said, your statement about why you don't want to do it, could apply to the grid view in general. There was a bunch of code duplication involved. Maybe you should have held off until everything was refactored into the perfect solution. Maybe we should have rejected some of your PRs for the same reasoning. You didn't and we didn't. This just seems like a wierd arbitrary point to decide to draw the line.

                          I have 3 things to say about this.

                          Firstly, I will do it for the md_name since it's on my way, but here I wasn't only talking about the md_name, but all metadata elements. Because if I start to do it for the md_name, I'm 200% sure someone will ask why I didn't do the same for the others.

                          Secondly, yes I had to duplicate a lot of code for the grid view (all the detailed view metadata stuff), and I didn't like it, but I did it because at that time I didn't know well enough the game view code back then to start a big refactoring which would have just lead me into a wall, and the grid view would have never happened. Now, things are different.

                          Ultimately, I'm doing this on my free time, I'm not being paid for doing that, so nobody should be able to order me to do something I don't want to. I do it because I have fun programing complex stuff and learning, if it can help the RetroPie community along the way, then it's even better, but I won't prioritize the second over the first.

                          I don't like this last argument, but well, you triggered me with the "Maybe we should have rejected some of your PRs for the same reasoning" and " This just seems like a wierd arbitrary point to decide to draw the line." ahahahah

                          Grid view wiki

                          J 1 Reply Last reply Reply Quote 0
                          • A12C4A
                            A12C4
                            last edited by

                            Ok I added a scrollDirection parameter to the theming syntax, where its value is vertical by default, but can be set to horizontal if needed.

                            Was kinda easy to do actually.

                            Grid view wiki

                            1 Reply Last reply Reply Quote 0
                            • J
                              jdrassa @A12C4
                              last edited by

                              @a12c4 said in The Grid View need your opinion:

                              Ultimately, I'm doing this on my free time, I'm not being paid for doing that, so nobody should be able to order me to do something I don't want to. I do it because I have fun programing complex stuff and learning, if it can help the RetroPie community along the way, then it's even better, but I won't prioritize the second over the first.
                              I don't like this last argument, but well, you triggered me with the "Maybe we should have rejected some of your PRs for the same reasoning" and " This just seems like a wierd arbitrary point to decide to draw the line." ahahahah

                              No worries. I recognize we all are contributing in our free time. Hopefully, I didn't trigger you too much. I was a bit worried it may come across as harsh, which wasn't my intent. I appreciate the effort that you have put into this and especially the effort to break things down into smaller chunks which definately helps with reviews and testing.

                              Get latest build of EmulationStation for Windows here

                              A12C4A 2 Replies Last reply Reply Quote 1
                              • A12C4A
                                A12C4 @jdrassa
                                last edited by

                                @jdrassa No problem, let's keep moving ahead together.

                                If I can't figure out, in a reasonable amount of time, how to properly refactor the game views into one single, modular game view, then I will add all the missing metadata elements to all the views.

                                But for now, please let me try my solution first.

                                I don't like to stupidly copy/paste stuff around, I feel like a bad IT student who just discovered stackoverflow.

                                Grid view wiki

                                1 Reply Last reply Reply Quote 0
                                • A12C4A
                                  A12C4 @jdrassa
                                  last edited by

                                  @jdrassa Btw, what's @BuZz policy for stable and master branches ? We are getting close to the version 1 of the grid view, so I wanted to know how I can plan ahead.

                                  Grid view wiki

                                  J 1 Reply Last reply Reply Quote 0
                                  • J
                                    jdrassa @A12C4
                                    last edited by

                                    @a12c4 I wouldn't presume to speak for Buzz, but my understanding is that he will move changes to stable when he determines them to be stable. The stable/master split is a relatively new thing, and came about after a few contributions required fixes shortly after being accepted.

                                    That being said, I would expect grid view to live on the master branch for a while before being moved to the stable.

                                    Get latest build of EmulationStation for Windows here

                                    1 Reply Last reply Reply Quote 0
                                    • PittStoneP
                                      PittStone
                                      last edited by

                                      @jdrassa I have a Problem with Custom Collections if i Use Portable Emulationstation with the portable.bat Can you help me? https://retropie.org.uk/forum/topic/9094/updated-emulationstation-for-windows/97

                                      1 Reply Last reply Reply Quote -1
                                      • A12C4A
                                        A12C4 @EctoOne
                                        last edited by A12C4

                                        @ectoone Ok I added a md_title element to the theming syntax for all the views with metadata (grid, detailed and video).

                                        By default it is positioned offscreen, beside that, I kept the name md_title and the default parameters (font size, color, ...) used by the grid view of @jacobfk20 to ensure maximum compatibility with existing themes.

                                        I lost so much IQ points by copy/pasting stuff around that I want to start the hashtag #makeESgreatAgain

                                        Grid view wiki

                                        1 Reply Last reply Reply Quote 1
                                        • A12C4A
                                          A12C4
                                          last edited by

                                          @EctoOne @lilbud @Shadowron @herb_fargus @chicuelo @Clyde @afiction @paffley @jdrassa

                                          We are getting close to the version 1 of the grid view, it only miss a few things (default image, folder image, dynamic texture loader so the grid can handle big game collections), so it's time to open the gates to more testers.

                                          You can test out latest version of the grid view, by cloning my git repository, I will keep the master branch updated with all the latest changes as soon as they are stable enough.

                                          https://github.com/Koerty/EmulationStation

                                          CAUTION : after trying my version of EmulationStation, if you go back to the stable version of EmulationStation of RetroPie, the "Gamelist view style" option in "UI settings" will be empty, set it back to either "Basic", "Detailed", "Video" or "Automatic". If you enter the "UI settings" menu and leave it while "Gamelist view style" is empty, ES will crash. It doesn't know about the "Grid" view yet.

                                          Grid view wiki

                                          1 Reply Last reply Reply Quote 1
                                          • HexH
                                            Hex
                                            last edited by

                                            @A12C4 Currently it works as shown in the screenshot (names bellow images). The initial goal is to get it running. Prettifying can be done later.

                                            Sent from 20,000 leagues under the sea.

                                            Powersaver Emulation station : https://github.com/hex007/EmulationStation
                                            ES dev script : https://github.com/hex007/es-dev/blob/master/es-tests.sh

                                            A12C4A 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            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.