MetaPixel - A New Emulationstation Theme
-
@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.
-
<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>
-
@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. -
@ruckage That's the idea, but I didn't test it yet.
-
@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.
-
@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.
-
@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.
-
@jdrassa ahh yes, it makes much more sense as a system setting. I didn't even consider that.
-
Just a quick note...
*ahem*
MetaPixel now supports Video Previews!
Thank you for your time.
-
Really neat theme, Matt! Probably my favorite theme I've seen on RetroPie.
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.