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

    Video Preview in EmulationStation

    Scheduled Pinned Locked Moved Ideas and Development
    emulationstatioraspberry pivideo
    552 Posts 46 Posters 621.0k 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 @filiphdan
      last edited by

      @filiphdan I'm working on it.

      1 Reply Last reply Reply Quote 2
      • HurricaneFanH
        HurricaneFan @fieldofcows
        last edited by

        @fieldofcows Could you share your theme you used in the video at the top of this post? I'd love to have my mame roms show up like that.

        1 Reply Last reply Reply Quote 1
        • mattrixkM
          mattrixk
          last edited by

          This question is mainly aimed at @fieldofcows, as the video previews are his baby, but anyone who knows the answer can answer it:

          Would it be possible to show a video on the System View? Imagine what we could do if we could set a specific (or random) video to display on the system view, the same way we set a logo! Especially with @Zigurana's awesome new carousel mod.

          Now, I realise that we don't want to be adding videos directly to the themes, but I'd imagine there's a way to point the video <path> to the folder where the videos are kept

          Just a thought.

          My ES themes: MetaPixel | Spare | Io | Indent

          * 1 Reply Last reply Reply Quote 2
          • *
            **Scannigan** @mattrixk
            last edited by

            @mattrixk How's the carousel mod implemented?

            mattrixkM 1 Reply Last reply Reply Quote 0
            • mattrixkM
              mattrixk @**Scannigan**
              last edited by

              @__Scannigan__

              <feature supported="carousel">
                <carousel name="systemcarousel">
                  <type>vertical</type>
                  <pos>0.010 0.020</pos>
                  <size>0.300 0.890</size>
                  <color>FFFFFF00</color>
                  <logoScale>1.8</logoScale>
                  <logoSize>0.125 0.160</logoSize>
                  <maxLogoCount>5</maxLogoCount>
                </carousel>
              
                <text name="systemInfo">
                  <pos>0.010 0.930</pos>
                  <size>0.980 0.050</size>
                  <backgroundColor>FFFFFF00</backgroundColor>
                  <color>FFFFFF</color>
                  <fontPath>./_inc/font/Roboto-Light.ttf</fontPath>
                  <fontSize>0.025</fontSize>
                </text>
              </feature>
              

              That's how you do the systemCarousel and systemInfo. I'm unsure about the <feature> tag though, as I haven't tested it.

              My ES themes: MetaPixel | Spare | Io | Indent

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

                @mattrixk @Scannigan

                When using the <feature> tag, you still need to have a <view>. See revised example below.

                <feature supported="carousel">
                  <view name="system">
                    <carousel name="systemcarousel">
                      <type>vertical</type>
                      <pos>0.010 0.020</pos>
                      <size>0.300 0.890</size>
                      <color>FFFFFF00</color>
                      <logoScale>1.8</logoScale>
                      <logoSize>0.125 0.160</logoSize>
                      <maxLogoCount>5</maxLogoCount>
                    </carousel>
                
                    <text name="systemInfo">
                      <pos>0.010 0.930</pos>
                      <size>0.980 0.050</size>
                      <backgroundColor>FFFFFF00</backgroundColor>
                      <color>FFFFFF</color>
                      <fontPath>./_inc/font/Roboto-Light.ttf</fontPath>
                      <fontSize>0.025</fontSize>
                    </text>
                  </view>
                </feature>
                

                That's how you do the systemCarousel and systemInfo. I'm unsure about the <feature> tag though, as I haven't tested it.

                Get latest build of EmulationStation for Windows here

                mattrixkM N 2 Replies Last reply Reply Quote 1
                • mattrixkM
                  mattrixk @jdrassa
                  last edited by

                  @jdrassa Ahh, I missed that part. Cheers. I'll be doing some testing of it today to make sure my theme does it correctly.

                  My ES themes: MetaPixel | Spare | Io | Indent

                  1 Reply Last reply Reply Quote 0
                  • N
                    Nismo @jdrassa
                    last edited by Nismo

                    @jdrassa For some reason, feature tag breaks my theme, all metadata stuff, gamelist parameters and sounds inside video view, are ignored, any tips?

                    J 1 Reply Last reply Reply Quote 0
                    • FlyingTomahawkF
                      FlyingTomahawk
                      last edited by

                      @jdrassa

                      Thanks for the sample code.
                      I guess similar needs to be done with the video code right?

                      Oh and btw. the maxSize tag for video worked like a charm. Now vertical shooter videos are having the right aspect ratio.

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

                        @Nismo
                        Are you using the latest build? The feature tag is a newer addition that allows for backward compatibility for themes. If the version of EmulationStation you are running doesn't support it, then it will be ignored.

                        Get latest build of EmulationStation for Windows here

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

                          @FlyingTomahawk it is not required, just recommended. Without it, your theme may break for users who haven't updated.

                          Get latest build of EmulationStation for Windows here

                          N 2 Replies Last reply Reply Quote 1
                          • N
                            Nismo @jdrassa
                            last edited by

                            @jdrassa Yes it's the old fieldofcows windows build, I didn't update yet. Thanks for the advice.

                            1 Reply Last reply Reply Quote -1
                            • N
                              Nismo @jdrassa
                              last edited by Nismo

                              @jdrassa I have another question for backwards compatibility.

                              I have video views in main.xml file but also in each theme.xml for each system, so I suppose that I need to use the feature tag on both?

                              J 1 Reply Last reply Reply Quote 0
                              • FlyingTomahawkF
                                FlyingTomahawk
                                last edited by

                                I don't know how many ES forks are out there, Windows and RetroPie versions, but would it be possible that @jdrassa , @Nismo , @Zigurana put a link to your current up to date version inside your signature? Then people might find it quicker and you guys could just point to your sig if anyone asks.
                                I have the latest version for Windows, I think, 2.1.5 RP that supports all the new stuff like carousel and video maxSize but I cannot remember where I downloaded it.

                                N 1 Reply Last reply Reply Quote 0
                                • N
                                  Nismo @FlyingTomahawk
                                  last edited by

                                  @FlyingTomahawk I have downloaded the latest windows version, but I didn't update yet just because my build it's in my native language, and if I update I'll loose all my translation.

                                  I'm waiting for @jdrassa to post a little guide to how to configure the automated builds. Then I can update and translate my ES more easily.

                                  1 Reply Last reply Reply Quote 1
                                  • FlyingTomahawkF
                                    FlyingTomahawk
                                    last edited by

                                    Found it! Added the link into my sig so that I and others can find it.

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

                                      @Nismo only the <video> element has to be wrapped in the feature tag to maintain backwards compatibility. If you want to support non-video ES users, then you would need to use the <feature> anywhere you are using <video>.

                                      Get latest build of EmulationStation for Windows here

                                      mattrixkM N herb_fargusH 3 Replies Last reply Reply Quote 1
                                      • mattrixkM
                                        mattrixk @jdrassa
                                        last edited by

                                        @jdrassa Does <feature> work on the <carousel> tag?

                                        My ES themes: MetaPixel | Spare | Io | Indent

                                        1 Reply Last reply Reply Quote 0
                                        • N
                                          Nismo @jdrassa
                                          last edited by Nismo

                                          @jdrassa I supose that... I need to edit all my xml files.... :(

                                          @mattrixk Yes it works.

                                          mattrixkM 1 Reply Last reply Reply Quote 0
                                          • mattrixkM
                                            mattrixk @Nismo
                                            last edited by

                                            Thanks @Nismo. Turns out I was using an older build* that didn't include the carousel stuff.

                                            * It was 6 days old. Positively ancient!

                                            My ES themes: MetaPixel | Spare | Io | Indent

                                            1 Reply Last reply Reply Quote 1
                                            • 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.