GBZ35 & GBZ35-Dark RetroPie Themes for Small Screens

General GBZ-related chat goes here. Share ideas, tips and tricks, or ask questions that don't fit into the hardware/software help forums.
User avatar
RxBrad
Posts: 278
Joined: Fri Jul 22, 2016 9:10 am
Has thanked: 125 times
Been thanked: 160 times
Contact:

Re: Custom ES Theme for 3.5" GBZ Screens

Post by RxBrad » Fri Jul 21, 2017 8:38 am

Another day, another update. Carousel theming added to both themes. The dark theme is actually dark, and now you can actually read the number of games for each system on both themes. Of course, this all requires a version of RetroPie that supports carousel theming (March 25, 2017 or newer).

Image Image
Image
Image Image

username 123
Posts: 134
Joined: Thu Jun 09, 2016 5:45 pm
Has thanked: 33 times
Been thanked: 29 times

Re: Custom ES Theme for 3.5" GBZ Screens

Post by username 123 » Fri Aug 11, 2017 12:31 pm

I REALLY like this theme and would like to make just a couple of changes for my setup. Currently i have box art and video snaps working on it. However, once the box art shows up on the bottom left, it fades out and 3-4 seconds later it begins to play its video snap.
How do I keep the box art static in its original place and have the video snap play above it??
Ideally, i would like both box art and video snap showing. There is enough space for both.

User avatar
RxBrad
Posts: 278
Joined: Fri Jul 22, 2016 9:10 am
Has thanked: 125 times
Been thanked: 160 times
Contact:

Re: Custom ES Theme for 3.5" GBZ Screens

Post by RxBrad » Fri Aug 11, 2017 1:03 pm

username 123 wrote:
Fri Aug 11, 2017 12:31 pm
I REALLY like this theme and would like to make just a couple of changes for my setup. Currently i have box art and video snaps working on it. However, once the box art shows up on the bottom left, it fades out and 3-4 seconds later it begins to play its video snap.
How do I keep the box art static in its original place and have the video snap play above it??
Ideally, i would like both box art and video snap showing. There is enough space for both.
The theme is set up to show the marquee art scraped from sselph's scraper above the boxart/video. If you don't want marquee art, and you want the video to replace it, I suppose you could edit gbz35.xml like so (not tested, but I assume this would work):

Type either sudo nano /etc/emulationstation/themes/gbz35/gbz35.xml or sudo nano /etc/emulationstation/themes/gbz35-dark/gbz35.xml, depending on the theme you're using.

Change this...

Code: Select all

	<feature supported="video">
		<view name="video">
			<video name="md_video">
				<origin>0.5 1</origin>
				<pos>0.195 0.89</pos>
				<maxSize>0.325 0.325</maxSize>
				<delay>1</delay>
				<showSnapshotNoVideo>true</showSnapshotNoVideo>
				<showSnapshotDelay>true</showSnapshotDelay>
			</video>

			<image name="md_marquee">
				<maxSize>0.325 0.260</maxSize>
				<pos>0.195 0.55</pos>
				<origin>0.5 1</origin>
			</image>
		</view>
	</feature>
...To this (change a few things under md_video, and delete the md_marquee image section):

Code: Select all

	<feature supported="video">
		<view name="video">
			<video name="md_video">
				<origin>0.5 1</origin>
				<pos>0.195 0.55</pos>
				<maxSize>0.325 0.325</maxSize>
				<delay>0</delay>
				<showSnapshotNoVideo>false</showSnapshotNoVideo>
				<showSnapshotDelay>false</showSnapshotDelay>
			</video>
		</view>
	</feature>
There's a chance the video might overlap square system logos like FBA. If so, you might want to reduce the second 0.325 under maxSize a bit until it fits.

You may also need to delete this, which is a few lines below the section above:

Code: Select all

			<image name="md_marquee">
				<zIndex>140</zIndex>
				</image>
You'll also need to change this...

Code: Select all

	<view name="detailed">
		<image name="md_image">
		<origin>0.5 1</origin>
		<pos>0.195 0.89</pos>
		<maxSize>0.325 0.6</maxSize>
		</image>
	</view>
...To this (add video to header):

Code: Select all

	<view name="detailed, video">
		<image name="md_image">
		<origin>0.5 1</origin>
		<pos>0.195 0.89</pos>
		<maxSize>0.325 0.6</maxSize>
		</image>
	</view>
Image
Image Image

User avatar
RxBrad
Posts: 278
Joined: Fri Jul 22, 2016 9:10 am
Has thanked: 125 times
Been thanked: 160 times
Contact:

Re: Custom ES Theme for 3.5" GBZ Screens

Post by RxBrad » Fri Aug 11, 2017 1:32 pm

Just a quick note to anyone who chooses to use the video previews..

I strongly suggest going into "Other Settings" on the Start menu inside RetroPie and turning on OMX Player. I built the theme to take advantage of this, and it works a lot smoother than non-hardware-accelerated movies (and should use less battery power).

Note that OMX Player can cause problems with some other themes with video previews (specifically, any themes that have graphics that overlay the videos).
Image
Image Image

username 123
Posts: 134
Joined: Thu Jun 09, 2016 5:45 pm
Has thanked: 33 times
Been thanked: 29 times

Re: Custom ES Theme for 3.5" GBZ Screens

Post by username 123 » Fri Aug 11, 2017 1:50 pm

Worked!! Thanks! Instead of changing the "0.325", I had to adjust the "0.55" to "0.48" to lower the position of the video.
Is there a way to get the video to play instantly? There is a 3-4 second delay.

User avatar
RxBrad
Posts: 278
Joined: Fri Jul 22, 2016 9:10 am
Has thanked: 125 times
Been thanked: 160 times
Contact:

Re: Custom ES Theme for 3.5" GBZ Screens

Post by RxBrad » Fri Aug 11, 2017 2:03 pm

username 123 wrote:
Fri Aug 11, 2017 1:50 pm
Worked!! Thanks! Instead of changing the "0.325", I had to adjust the "0.55" to "0.48" to lower the position of the video.
Is there a way to get the video to play instantly? There is a 3-4 second delay.
This part handles the video delay. It's possible that there's a bit of delay from loading the video from the SD card. On my Pi3, I have it set to a 1 second delay, and it seems like it only takes about a second.

Code: Select all

<delay>0</delay>
<showSnapshotNoVideo>false</showSnapshotNoVideo>
<showSnapshotDelay>false</showSnapshotDelay>
The delay number is number of seconds before the video plays.

showSnapshotDelay set to false is the same as setting delay to 0 seconds.

Setting showSnapshotNoVideo to false keeps it from showing 2 box arts if there's no video preview.
Image
Image Image

username 123
Posts: 134
Joined: Thu Jun 09, 2016 5:45 pm
Has thanked: 33 times
Been thanked: 29 times

Re: Custom ES Theme for 3.5" GBZ Screens

Post by username 123 » Fri Aug 11, 2017 2:06 pm

Ok. Maybe my sd is a bit slow and since im using the pi zero, both of them combined causes a delay.

User avatar
YaYa
Posts: 1719
Joined: Mon Jun 26, 2017 12:42 pm
Location: brittany - France
Has thanked: 871 times
Been thanked: 689 times
Contact:

Re: Custom ES Theme for 3.5" GBZ Screens

Post by YaYa » Fri Aug 11, 2017 3:44 pm

Sticking to this, i'll try your theme when my build finishes ! Thanks for your work !
Follow me on instagram Image

User avatar
144TECH
Posts: 325
Joined: Fri Jan 06, 2017 7:30 am
Location: Amsterdam
Has thanked: 256 times
Been thanked: 71 times

Re: Custom ES Theme for 3.5" GBZ Screens

Post by 144TECH » Fri Aug 11, 2017 4:35 pm

username 123 wrote:
Fri Aug 11, 2017 2:06 pm
Ok. Maybe my sd is a bit slow and since im using the pi zero, both of them combined causes a delay.

Working flawlessly on pi zero 1.2 , 1.3 and W no lag no delays nothing, just smooth.
* Very Rare * GBZ 640x480 v3 Stock Looks 6000MAH
http://www.sudomod.com/forum/viewtopic.php?f=43&t=4863

username 123
Posts: 134
Joined: Thu Jun 09, 2016 5:45 pm
Has thanked: 33 times
Been thanked: 29 times

Re: Custom ES Theme for 3.5" GBZ Screens

Post by username 123 » Fri Aug 11, 2017 7:03 pm

Thats odd. When i scroll down the list of games, it takes about 3 seconds for the video to load. The box art turns up right away. I even when and shrank down my mp4 videos (save me a ton of space as well), but still takes those 3 seconds to load. I also over clocked my pi zero to 1090mhz with same results.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest