Video Preview in EmulationStation
-
Updated Oldroom theme to beta 2:
-
Resized gamelist and logo to see more room and better looking of the theme.
-
Resized and moved marquee-Wheel art for megadrive theme.
-
Resized md_image (3d box cartridge) to match 1:1 scales of 3d boxes images downloaded.
-
Added shadow for 3d box cartridge.
-
Added empty 3d box cartridge for games without image. This also solves the problem when a game doesn't have image, you still can see the shadow. Whould be better that the 3d boxes images has shadows itself but it doesn't.
Now it's time to add a new system to the theme.
Download: http://www.mediafire.com/file/uzn8re6e5522chl/oldroom_beta_2.zip
Regards.
-
-
@Nismo Only 80 systems to go 😁
-
@robertybob Haha! :D
-
@Nismo Fantastic work! I've downloaded this and it looks great although I'm only using mame at the moment.
Here's a treat for you. I've built a new version that gives some flexibility in showing preview images and videos. I quite liked having the preview image when the video is unavailable because I have a lot of actual game snapshots rather than the mixed art you have so I made it configurable.
The <video> tag in the theme now supports these options (in addition to the standard position ones):
<delay>
Delay in seconds between highlighting game and starting video<default>
Full or relative path to a video file that will be rendered when no game video is available<showSnapshotNoVideo>
Show the contents of the <image> gamelist tag if no video is available (overridden by <default>)<showSnapshotDelay>
Show the contents of the <image> gamelist tag during the video startup delayTo show either the game video or the default video if there is no game video:
<video> <delay>0.2</delay> <default>./art/static1.mp4</default> <showSnapshotNoVideo>false</showSnapshotNoVideo> <showSnapshotDelay>false</showSnapshotDelay> </video>
To show the game video if available or the static <image> if no video is available:
<video> <delay>0.2</delay> <showSnapshotNoVideo>true</showSnapshotNoVideo> <showSnapshotDelay>false</showSnapshotDelay> </video>
To show the game video if available, the default video if unavailable but only start the video after a delay showing the static <image> until the video starts:
<video> <delay>2.5</delay> <default>./art/static1.mp4</default> <showSnapshotNoVideo>false</showSnapshotNoVideo> <showSnapshotDelay>true</showSnapshotDelay> </video>
Download it here: https://github.com/fieldofcows/EmulationStation/releases/tag/v0.1-beta.4
-
@fieldofcows woowww!!! thank you very much!!!
I have done genesis theme (not megadrive), 32x, neo geo, nes and snes (I need to test nes &snes).
I need the relative path fixed on marquees and video tags when saving metadata, please, do your magic..
-
@fieldofcows I'ts working very good!!, but I think you can implement "default" video in a better way.
I'll try to explain myself:
If I delete one video inside the videos folder, the theme doesn't show "static.mp4" on tv, I can delete all my videos and static.mp4 still not showing, but if I edit my gamelist.xml and delete video tag from one game, now "static.mp4" works, so I assume that your code only check if there's a video tag in gamelist.xml for that game.
I think whould be a lot of better if the code also can check the path to the video and check if video exist or not (if it's possible), it's more precise for static.mp4 to work.
All my games has a video tag because i use an script that insert all the video and marquee paths for all games, and after that I only need to use fatmach program to match the videos and marquees with my roms names, so I can have 800 roms and only 600 videos but all 800 games entries on gamelist.xml has video tag.
Anyway you did a great job. I'm very happy with our new emulationstation.
Thank you!!.
-
Should things like Delay and whether a snapshot be shown if no video, be held in the main es_config file?
-
@robertybob Good question. What if you want different configurations for different systems though?
-
@Nismo I see your point about checking the file system and not just the gamelist. I'll make that change.
-
@fieldofcows Thanks! Good change.
-
@fieldofcows I have notice a little issue introduced in beta 4, nothing important, when you are on gamelist and keep pressing down (press and hold), the gamelist doesn't go down like before, you need to press down for every game. I've tested beta 3 and it's working there.
I want to share more updated oldroom theme tomorrow. And of course keep the ball rolling...
-
@Nismo Thanks Nismo. I spotted this one at the weekend and have already committed a fix for it. I've also committed a fix for testing if the video file is there when choosing whether to show the default video.
I tried running it on the Raspberry Pi at the weekend. Although it worked it crashed a number of times while scrolling through the game list. It turns out that one of the libraries used to display the video seems to be a bit buggy regarding scaling the video and causes some memory corruption. I've fixed this issue by rendering the video without scaling and using OpenGL to scale it to the screen. This is most likely far more efficient anyway as long as your videos are not too high resolution. This fix has also been committed.
It now runs beautifully on the rPi. I am using your theme and it looks absolutely fantastic! The rPi3 doesn't seem to have any issue rendering the videos or preview images (I've configured my copy of the theme to show previews). I'll grab a video when I get a chance. I have a couple of issues with the theme but I'll put those in a separate post.
I've also added a couple of extra parameters to the <video> tag which you can safely ignore for now. They are for maintaining the aspect ratio of the video by putting either black bars along the sides or top and bottom, or instead of black bars it can extend the edges of the video. They were already in the code in an experimental state so I've just added tags for them to be configured. The default settings work as before.
-
This looks great. Any instructions on how to build for RPi? Or a precompiled version? I wish this was in the experimental section.
-
Awesome work! thinking about themes...could this eventually lead to have animated backgrounds on the system selection screen? On windows with more vram at least...?=
-
Updated Oldroom theme.
Download link: http://www.mediafire.com/file/14l1t3ppn3h6k3c/oldroom_1.2.zip
Requirements:
- For use with EmulationStation with video support. (@fieldofcows fork)
- For Console games your images must be 3d boxes.
- For arcade games your images must be screenshots, not mixes images (recommended, not needed).
- For console games use "marquees" folder to place wheel art.
systems
- Atari 2600
- Nintendo Nes
- Sega Genesis
- Sega Megadrive
- Sega 32x
- Neo Geo
- Mame
Video preview:
Enjoy!
-
Quick update: Changes in gamelist colors for better view the selected game.
Download: http://www.mediafire.com/file/29bk3mdmmq76rcc/oldroom_1.2.1.zip
-
@Nismo That theme looks great! How many systems can you have before the infamous "white screen of death"?
Btw are you planing to add more systems?
-
Yes, i'll add more systems, n64 , psx, sega CD, and master system are almost finished.
About the "white screen of death" I never hear about it but I use windows version, maybe that problem is only on Rpi.
Regards.
-
@Nismo Thanks for all your hard work with this theme. If it wasn't for you working with me on the visuals side I probably wouldn't have got to where we were with ES. Really appreciated. It looks fantastic.
If there is a "white screen of death" problem with this theme on the RPi then that will be the next thing I work on.
Is there anything else you need from ES for your theme? Any little improvements? If not, I will concentrate on working out how to share a RPi build of this version of ES. This is a pi forum after all!
-
@fieldofcows The hard part is in your side, this fork needed a theme if people want to enjoy! XD. I only contribute to this project how I can.
You did a great and fast work with emulationstation, and yes I have some ideas for theming, like sound for select,cancel, and sound when switching systems, and maybe add a flag in es_settings .cfg for a intro video whould be nice, of course an intro video that you can skip by pressing a button.
But I think most important thing is to fix remaining bugs before add more things. I whould like to try your beta 5 with your latest fixes, and i whould like to see the damm "save metadata" relative path fixed too (if possible).
It's a nice idea to provide an Rpi version so people can test more bugs.
And I'm very curious about your issues with the theme, please tell me if I can help with that. And please download the latest version: http://www.mediafire.com/file/29bk3mdmmq76rcc/oldroom_1.2.1.zip
Regards.
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.