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

    [THEME HELP] How to show boxart first and then video in retropie theme?

    Scheduled Pinned Locked Moved Projects and Themes
    theme helpthemevideobox artmarquee
    13 Posts 9 Posters 6.5k 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
      nj180grados
      last edited by nj180grados

      Hello friends, I have a doubt with the themes of retropie...
      I have seen that in some retropie theme like in the snes mini of ruckage the boxart of the game is shown first in the box and then the video. I have seen that within the .xml that you can change the delay of the video so that it comes out earlier.

      In my case I have a theme that does not show the boxart, it only shows the video.

      How do I get the boxart out first and then the video? What do I have to change? I would appreciate a little help.

      I would also like to comment... how do I show the marquee in a theme where it is not defined? I would like to place it in the upper left corner of the video as well as crossed.

      I hope you understand me I am Spanish and I do not control the whole language. Thank you people and greetings.

      C 1 Reply Last reply Reply Quote 0
      • V
        Valhalla_Pi
        last edited by

        I was about to ask the same question, I saw a theme on youtube where it showed the box art than faded to video and would love to do this with Retrorama theme

        1 Reply Last reply Reply Quote 0
        • E
          ezra84
          last edited by ezra84

          Indeed good question.

          I found that the Pixel theme does exactly that. Showing boxart first and then fades into video. Only downside is that the marquee image stands in the way of both boxart and video. Of course removing all marquees solves the problem.

          Would be nice if somebody could explain how to make this functionality work in the standard Carbon theme!

          1 Reply Last reply Reply Quote 0
          • C
            cruizerdog @nj180grados
            last edited by

            👀. Think I'll chill here to see if there is an answer

            1 Reply Last reply Reply Quote 0
            • jonnykeshJ
              jonnykesh
              last edited by

              Why doesn't everyone look at how it is achieved in a theme that does it and "borrow" the code?

              1 Reply Last reply Reply Quote 0
              • papinistP
                papinist
                last edited by

                I'll follow this thread for the same reason :)

                1 Reply Last reply Reply Quote 0
                • T
                  Tomaz
                  last edited by Tomaz

                  	<video name="md_video">
                  		<showSnapshotNoVideo>true</showSnapshotNoVideo>
                  		<showSnapshotDelay>true</showSnapshotDelay>
                  		<delay>2</delay>			
                  	</video>
                  

                  Here you go :)

                  showSnapshotDelay set to true together with the delay is what enables the art, then fade to video

                  V 1 Reply Last reply Reply Quote 5
                  • V
                    Valhalla_Pi @Tomaz
                    last edited by

                    @Tomaz amazing worked like a charm, thanks for your help

                    1 Reply Last reply Reply Quote 0
                    • E
                      ezra84
                      last edited by

                      @Tomaz Thank you for this. I do understand the concept of the functionality, but unfortunately my knowledge is not that great yet.. I don't know where I should add/change these lines. Can you perhaps show me in which file I can do this?

                      Thanks a lot!

                      V 1 Reply Last reply Reply Quote 0
                      • J
                        jthemad
                        last edited by

                        Killer mod!! Added to Comic book theme (my fav), now it is perfect... I prefer 1 sec. delay, scrolling now is faster and see the covers before the videos is amazing! Thank you!

                        1 Reply Last reply Reply Quote 1
                        • V
                          Valhalla_Pi @ezra84
                          last edited by

                          @ezra84 in the theme.xml file you see script similar to his post , but the showsnap line is likely set to false if the theme doesn’t do it

                          Change that to true and add the delay line use 2 seconds or whatever number you want, I prefer 1

                          E 1 Reply Last reply Reply Quote 1
                          • H
                            HemiJJ
                            last edited by

                            I was actually looking to find a way to do the opposite, but only on systems that I didn't have complete boxart collections for. Luckily the themes were written in a way that the main theme.xml was called from an small theme.xml located in each theme folder. I simply made a copy of the main theme.xml (one in the root of the theme) called theme_nobox.xml and modified that one to not do the boxart fade. I did this by setting the fade to 0, but probably could do the same by setting the showSnapshotDelay to false. In the theme.xml located in each system theme folder, just modify that theme.xml to call theme_nobox.xml instead of the main theme.xml. Hope this helps someone out.

                            1 Reply Last reply Reply Quote 1
                            • E
                              ezra84 @Valhalla_Pi
                              last edited by

                              @valhalla_pi I couldn't find it at first but I found the lines were there in carbon.xml, not in theme.xml.
                              Like you said, I only had to change the showSnapshotDelay into true and add the extra delay line. Works!

                              Thank you.

                              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.