• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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 619.4k 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 @mattrixk
    last edited by 28 Mar 2017, 23:09

    @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

    M N 2 Replies Last reply 28 Mar 2017, 23:29 Reply Quote 1
    • M
      mattrixk @jdrassa
      last edited by 28 Mar 2017, 23:29

      @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 28 Mar 2017, 23:50

        @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 29 Mar 2017, 00:00 Reply Quote 0
        • F
          FlyingTomahawk
          last edited by 28 Mar 2017, 23:53

          @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 29 Mar 2017, 00:01 Reply Quote 0
          • J
            jdrassa @Nismo
            last edited by 29 Mar 2017, 00:00

            @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 29 Mar 2017, 00:01

              @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 29 Mar 2017, 00:03 Reply Quote 1
              • N
                Nismo @jdrassa
                last edited by 29 Mar 2017, 00:03

                @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 29 Mar 2017, 00:05

                  @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 29 Mar 2017, 02:57 Reply Quote 0
                  • F
                    FlyingTomahawk
                    last edited by 29 Mar 2017, 00:06

                    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 29 Mar 2017, 00:09 Reply Quote 0
                    • N
                      Nismo @FlyingTomahawk
                      last edited by 29 Mar 2017, 00:09

                      @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
                      • F
                        FlyingTomahawk
                        last edited by 29 Mar 2017, 00:19

                        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 29 Mar 2017, 02:57

                          @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

                          M N H 3 Replies Last reply 29 Mar 2017, 03:11 Reply Quote 1
                          • M
                            mattrixk @jdrassa
                            last edited by 29 Mar 2017, 03:11

                            @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 29 Mar 2017, 05:09

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

                              @mattrixk Yes it works.

                              M 1 Reply Last reply 29 Mar 2017, 05:16 Reply Quote 0
                              • M
                                mattrixk @Nismo
                                last edited by 29 Mar 2017, 05:16

                                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
                                • H
                                  herb_fargus administrators @jdrassa
                                  last edited by 29 Mar 2017, 06:24

                                  @jdrassa are you sure it just doesn't have to be wrapped on only the main XML? Eg your changes to carbon worked with just the feature flag on the main XML:

                                  https://github.com/RetroPie/es-theme-carbon/pull/20/files

                                  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
                                  • S
                                    SuperSirLink
                                    last edited by 24 Apr 2017, 12:47

                                    @fieldofcows , I have a question I am hoping you can help with... Building a theme that uses the video features to take advantage of the md_marquee tags to display a screenshot. I want to be able to draw another image on top of it as a overlay mask. In detailed view the order items are draw on screen is determined by their placement within the XML... But despite having my extra image below md_marquee, it gets placed below the marquee image.

                                    Does the video view not follow the same draw rules as the other views?

                                    pjftP * 2 Replies Last reply 24 Apr 2017, 12:57 Reply Quote 0
                                    • pjftP
                                      pjft @SuperSirLink
                                      last edited by 24 Apr 2017, 12:57

                                      @SuperSirLink I think that @jdrassa would be best able to answer that. I think he did a lot of work on image order and such.

                                      1 Reply Last reply Reply Quote 0
                                      • *
                                        **Scannigan** @SuperSirLink
                                        last edited by 24 Apr 2017, 13:12

                                        @SuperSirLink How strange I just had the same question the answer courtesy of @mattrixk was:

                                        The built-in elements like gamelist, image, system logo, etc all have a preset z-index, but any extra images you add basically follow the order that you have them in the xml file.

                                        S 1 Reply Last reply 24 Apr 2017, 14:46 Reply Quote 0
                                        • S
                                          SuperSirLink @**Scannigan**
                                          last edited by 24 Apr 2017, 14:46

                                          @__Scannigan__ yeah it appears to be hard set to be in top. I have seen in several theme examples that have the marquee tag below the video and in those themes the marquee overlays the video.

                                          I tried using an image in place of a video in the video path, but it is expecting a video file and gives an error.

                                          Would love to be able to draw an extra image to draw above the marquee.

                                          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.

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