Navigation

    RetroPie forum home
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    MetaPixel - A New Emulationstation Theme

    Projects and Themes
    emulationstatio new theme pixel retropie theme theme
    28
    154
    78118
    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.
    • ruckage
      ruckage @jdrassa last edited by

      @jdrassa said in MetaPixel - A New Emulationstation Theme:

      @mattrixk the <feature> element was specifically implemented the way it is to ensure compatibility with earlier versions of ES. It is essentially invisible to older versions. (credit @fieldofcows for the great idea)

      Hi, is there any info I can read regarding the use of the <feature> element? I'm currently working on adding video support to my themes but want to ensure they are still compatible with older versions of ES.

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

        @ruckage

        <feature supported="video">
          [configuration if ES supports video]
        </feature>
        
        <feature supported="grid">
          [configuration if ES supports grid]
        </feature>
        

        Example:

        <feature supported="video">
        
            <view name="video">	
        	  <image name="md_marquee">
        			<origin>0 0</origin>
        			<pos>0.800 0.01</pos>
        			<maxSize>0.19 0.10</maxSize>
        	  </image>
        	  
        	  <video name="md_video">
        			<pos>0.254 0.202</pos>
        			<origin>0 0</origin>
        			<size>0.185 0.327</size>
        			<delay>0.0</delay>
        			<default>./assets/static.mp4</default>
        			<showSnapshotNoVideo>false</showSnapshotNoVideo>
        			<showSnapshotDelay>false</showSnapshotDelay>
        	  </video>
        	  
        	</view>
           </feature>
        
        ruckage 1 Reply Last reply Reply Quote 1
        • ruckage
          ruckage @Nismo last edited by

          @Nismo
          Thanks.

          So if I use this then older versions should just ignore anything within the <feature> tags?
          I'll give it a try and see how it goes.

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

            @ruckage That's the idea, but I didn't test it yet.

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

              @mattrixk @fieldofcows already implemented cycle system sounds lot of months ago, it's working in my windows build:

              Example for sound when switching between systems:

              <view name="system">
              	
                   <sound name="systemSound">
                       <path>./art/systemsound.wav</path>
                   </sound>
              </view>
              

              It was a request I did to @fieldofcows lot of months ago, before video view was implemented in the main branch, it's working for me in windows, you can see it working in one of my videos here:

              I don't know if it's working in the main branch (unfortunately I don't have a raspberry pi), because he removed a lot of features to add only video support to the main branch, but you can test it because it doesn't break the theme . My theme have that code and the sounds works in windows and nobody told me the theme it's broken in their rpi.

              The code it's done and working very good, only that he removed some features for better testing if video implementation on main branch could cause bugs, don't need to worry about other commits.

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

                @mattrixk it could work as a scale, but I am not sure that it should be something set in the theme. It should probably be a system setting. That way users can adjust to their personal preference.

                Its certainly possible to add additional sounds, but I am unsure of the details.

                ruckage mattrixk 2 Replies Last reply Reply Quote 2
                • ruckage
                  ruckage @jdrassa last edited by ruckage

                  @jdrassa said in MetaPixel - A New Emulationstation Theme:

                  @mattrixk it could work as a scale, but I am not sure that it should be something set in the theme. It should probably be a system setting. That way users can adjust to their personal preference.

                  Its certainly possible to add additional sounds, but I am unsure of the details.

                  I agree. The end user should have control over video volume, not the theme designer, so a video volume setting in the options menu would be ideal.

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

                    @jdrassa ahh yes, it makes much more sense as a system setting. I didn't even consider that.

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

                      Just a quick note...

                      *ahem*

                      MetaPixel now supports Video Previews!

                      Thank you for your time.

                      1 Reply Last reply Reply Quote 7
                      • SuperFromND
                        SuperFromND last edited by SuperFromND

                        Really neat theme, Matt! Probably my favorite theme I've seen on RetroPie.

                        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.