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

Video View For All Themes

Scheduled Pinned Locked Moved Projects and Themes
themevideoemulationstatio
91 Posts 15 Posters 41.1k 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.
  • N
    Nismo @fieldofcows
    last edited by Nismo 1 Apr 2017, 08:05 4 Jan 2017, 07:57

    @fieldofcows I agree, this doesn't help for anyone that does not want to update their ES, so instead implementing this and make things difficult for theme developers, it's more easy for everybody to update ES, or we can try the two main.xml thing...

    M 1 Reply Last reply 4 Jan 2017, 10:31 Reply Quote 0
    • M
      mattrixk @Nismo
      last edited by 4 Jan 2017, 10:31

      @Nismo Hah! bugger me, I'm a themer that doesn't want to update ES. Looks like I'm screwed :D

      My ES themes: MetaPixel | Spare | Io | Indent

      N 1 Reply Last reply 4 Jan 2017, 10:44 Reply Quote 0
      • N
        Nismo @mattrixk
        last edited by Nismo 1 Apr 2017, 11:02 4 Jan 2017, 10:44

        @mattrixk you don't need to update if you don't want, what I mean is for doing what @fieldofcows said about theme versions, you will need to update, so no sense for people that doesn't want to update.

        I mean there is no sense on theme versions (that make things more difficult for theme developers) if people will need to update their ES to use that feature anyway.

        Because we are trying to find a solution to help people that doesn't want to update ES, that's because no sense. A solution without the need to update.

        I hope it's more clear now, sorry english it's not my native language.

        F 1 Reply Last reply 4 Jan 2017, 11:01 Reply Quote 0
        • F
          fieldofcows @Nismo
          last edited by 4 Jan 2017, 11:01

          @Nismo Hmm... I'm not sure that's what I envisaged with my suggestion.

          In looking for a solution I was trying to satisfy the following, where "New ES" supports video and "Old ES" does not support video.

          1. Existing themes that do not support video work on both New ES and Old ES without error
          2. Themes that have been updated to support video work on Old ES as well but obviously without video support (warnings are fine in the console but the theme should still work)
          3. Theme writers can continue writing and testing non-video themes on any version of ES
          4. Theme writers can write video supported themes on New ES

          If we make a change to New ES that supports a new <version> tag (or similar) then we can satisfy all the conditions above.

          The extra work that I referred to for themers is that if they way to support video in their themes and also be backwards-compatible with Old ES then they need to include the <version> tags as well as testing on Old ES (or getting someone else to :) )

          N 1 Reply Last reply 4 Jan 2017, 11:04 Reply Quote 1
          • N
            Nismo @fieldofcows
            last edited by Nismo 1 Apr 2017, 11:05 4 Jan 2017, 11:04

            @fieldofcows As far I now... new video themes doesn't work on old ES. Read a few posts ago... and that's the only problem we have...

            F 1 Reply Last reply 4 Jan 2017, 11:06 Reply Quote 0
            • F
              fieldofcows @Nismo
              last edited by 4 Jan 2017, 11:06

              @Nismo said in Video View For All Themes:

              @fieldofcows As far I now... new video themes doesn't work on old ES. Read a few posts ago...

              Yes, hence wrapping the video view tags in <version></version> which is ignored by old ES, allowing the theme to load without video support.

              N 1 Reply Last reply 4 Jan 2017, 11:07 Reply Quote 0
              • N
                Nismo @fieldofcows
                last edited by Nismo 1 Apr 2017, 11:10 4 Jan 2017, 11:07

                @fieldofcows wrapping the video view tags in <version></version> will work on old ES out of the box?

                F 1 Reply Last reply 4 Jan 2017, 11:09 Reply Quote 0
                • F
                  fieldofcows @Nismo
                  last edited by fieldofcows 1 Apr 2017, 11:14 4 Jan 2017, 11:09

                  @Nismo said in Video View For All Themes:

                  @fieldofcows wrapping the video view tags in <version></version> will work on old ES out of the box?

                  Yep. I tried it. Anything inside <version></version> (or any other unsupported tag for that matter) is silently ignored by old versions of ES.

                  N 1 Reply Last reply 4 Jan 2017, 11:10 Reply Quote 1
                  • N
                    Nismo @fieldofcows
                    last edited by Nismo 1 Apr 2017, 11:12 4 Jan 2017, 11:10

                    @fieldofcows Then yes, that's the solution for all our problems.

                    1 Reply Last reply Reply Quote 0
                    • N
                      Nismo
                      last edited by Nismo 1 Apr 2017, 11:21 4 Jan 2017, 11:16

                      @fieldofcows My theme it's being made with video support in mind so if I don't include version tags it still working with latest ES? Just because if I do that, I need to modify a lot of lines of code... and my theme desing it's not made for old ES.

                      F 1 Reply Last reply 4 Jan 2017, 11:20 Reply Quote 0
                      • F
                        fieldofcows @Nismo
                        last edited by 4 Jan 2017, 11:20

                        @Nismo I haven't made any changes to support the <version> tags yet :) But when/if that change is made the use of the tags will be purely optional: if you want to support non-video ES then you can use the tags, if you don't want to support non-video ES then you can leave them out.

                        N 1 Reply Last reply 4 Jan 2017, 11:21 Reply Quote 0
                        • N
                          Nismo @fieldofcows
                          last edited by Nismo 1 Apr 2017, 11:24 4 Jan 2017, 11:21

                          @fieldofcows And what happen when apart from video view you use things like this (from carbon with video support):

                          <view name="basic, detailed, video">

                          I use it on my theme too, and don't remember but in pixel theme uses it too...

                          I suposse we need to divide the views to make it backward compatible and place the version tag...

                          Anyway i think your solution it's the best one for all...

                          F 1 Reply Last reply 4 Jan 2017, 11:25 Reply Quote 0
                          • F
                            fieldofcows @Nismo
                            last edited by 4 Jan 2017, 11:25

                            @Nismo said in Video View For All Themes:

                            @fieldofcows And what happen when apart from video view you use things like this (from carbon with video support):

                            <view name="basic, detailed, video">

                            I believe that is already ignored by the non-video ES.

                            N 1 Reply Last reply 4 Jan 2017, 11:27 Reply Quote 0
                            • N
                              Nismo @fieldofcows
                              last edited by 4 Jan 2017, 11:27

                              @fieldofcows Yeah I imagine that, we need to separate views in order to place the "version" tag. It's a little bit more work but that way we can have the compatibility we are looking for...

                              1 Reply Last reply Reply Quote 0
                              • N
                                Nismo
                                last edited by 4 Jan 2017, 11:32

                                So I think if finally we use the "version" workaround, the themes uploaded to github must be backward compatible so no problems for anybody...

                                1 Reply Last reply Reply Quote 0
                                • F
                                  fieldofcows
                                  last edited by 4 Jan 2017, 19:39

                                  I've made the change to my ES to support the <version> tag to try it out and it works fine. I've set the current version of the theme to '4' whereas the non-video ES uses version '3'. This means this code works on the video supported ES (with my fix which is currently not in the RetroPie fork) but is ignored on older versions of ES:

                                  <version minimum="4">
                                     [video config]
                                  </version>
                                  

                                  What does everyone else think of this solution? Is it the right way to fix this?

                                  L H N M 4 Replies Last reply 4 Jan 2017, 19:45 Reply Quote 0
                                  • L
                                    lilbud @fieldofcows
                                    last edited by 4 Jan 2017, 19:45

                                    @fieldofcows I'm thinking this would be the right way. Having to add video support to 80+ systems is not the way I'd imagne spending an afternoon.

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

                                    Backlog: http://backloggery.com/lilbud

                                    1 Reply Last reply Reply Quote 0
                                    • H
                                      herb_fargus administrators @fieldofcows
                                      last edited by 4 Jan 2017, 20:01

                                      @fieldofcows looks like the best option to me. I suppose if grid view is ever incorporated this will be a solution for that too.

                                      If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

                                      Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

                                      1 Reply Last reply Reply Quote 0
                                      • N
                                        Nismo @fieldofcows
                                        last edited by 4 Jan 2017, 20:14

                                        @fieldofcows I'm not totally sure but version 4 is not for kids support?

                                        F 1 Reply Last reply 4 Jan 2017, 20:18 Reply Quote 0
                                        • M
                                          mattrixk @fieldofcows
                                          last edited by mattrixk 1 Apr 2017, 20:16 4 Jan 2017, 20:15

                                          @fieldofcows Any theme that supports @Zigurana's child-friendly icons also needs to be version 4. Does that mean those themes also need to support video previews?

                                          Edit: Hehe, @Nismo beat me to it by 30 seconds.

                                          My ES themes: MetaPixel | Spare | Io | Indent

                                          N R 2 Replies Last reply 4 Jan 2017, 20:16 Reply Quote 0
                                          58 out of 91
                                          • First post
                                            58/91
                                            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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received