﻿<?xml version="1.0" encoding="UTF-8"?>
<theme>
	<formatVersion>7</formatVersion>
	<view name="system" ifSubset="allowIllustrationsCustom:yes|hexa">
		<image name="illustration" extra="true">
			<visible tinyScreen="true" ifSubset="tiny:handheld">false</visible>
			<path ifSubset="allowIllustrationsCustom:yes,randomIllustrations:thumbnail">{random:thumbnail}</path>
			<path ifSubset="allowIllustrationsCustom:yes,randomIllustrations:marquee">{random:marquee}</path>
			<path ifSubset="allowIllustrationsCustom:yes,randomIllustrations:fanart">{random:fanart}</path>
			<roundCorners ifSubset="allowIllustrationsCustom:yes,randomIllustrations:thumbnail|fanart">0.018</roundCorners>
			<path>./../_rcbxCustom/illustrations/${system.theme}.png</path>
			<path ifArch="windows">./../../../../../_rcbxCustom/illustrations/${system.theme}.png</path>
			<path ifNotArch="windows">./../../../_rcbxCustom/illustrations/${system.theme}.png</path>
			<path>./../_rcbxCustom/illustrations/${system.theme}.svg</path>
			<path ifArch="windows">./../../../../../_rcbxCustom/illustrations/${system.theme}.svg</path>
			<path ifNotArch="windows">./../../../_rcbxCustom/illustrations/${system.theme}.svg</path>
			<linearSmooth>true</linearSmooth>
			<zIndex>999</zIndex>
			<color>ffffff</color>
			<colorEnd>aaaaaa</colorEnd>
			<gradientType>vertical</gradientType>
			<saturation>1.2</saturation>
			<origin>0.5 0.5</origin>

			<pos>0.5 0.2</pos>

			<pos ifSubset="allowIllustrationsCustom:hexa">0.5 0.19</pos>

			<pos ifSubset="carousel:vertical|wheel">0.61 0.2</pos>

			<pos ifSubset="allowIllustrationsCustom:hexa,carousel:bottom">0.5 0.22</pos>

			<pos ifSubset="allowIllustrationsCustom:hexa,carousel:vertical|wheel">0.61 0.22</pos>

			<maxSize>0.25 0.25</maxSize>

			<maxSize ifSubset="carousel:legacy">0.25 0.3</maxSize>

			<maxSize ifSubset="allowIllustrationsCustom:hexa">0.3 0.38</maxSize>

			<maxSize ifSubset="allowIllustrationsCustom:hexa,carousel:bottom|vertical|wheel">0.3 0.42</maxSize>
			<x ifSubset="carousel:vertical|wheel,bands:no">0.7098958333333333</x>
		</image>
		<image name="illustration" region="eu" extra="true"/>
		<image name="illustration" region="us" extra="true" ifSubset="regionChoice:yes">
			<path>./../_rcbxCustom/illustrations/us/${system.theme}.png</path>
			<path ifArch="windows">./../../../../../_rcbxCustom/illustrations/us/${system.theme}.png</path>
			<path ifNotArch="windows">./../../../_rcbxCustom/illustrations/us/${system.theme}.png</path>
			<path>./../_rcbxCustom/illustrations/us/${system.theme}.svg</path>
			<path ifArch="windows">./../../../../../_rcbxCustom/illustrations/us/${system.theme}.svg</path>
			<path ifNotArch="windows">./../../../_rcbxCustom/illustrations/us/${system.theme}.svg</path>
		</image>
		<image name="illustration" region="jp" extra="true" ifSubset="regionChoice:yes">
			<path>./../_rcbxCustom/illustrations/jp/${system.theme}.png</path>
			<path ifArch="windows">./../../../../../_rcbxCustom/illustrations/jp/${system.theme}.png</path>
			<path ifNotArch="windows">./../../../_rcbxCustom/illustrations/jp/${system.theme}.png</path>
			<path>./../_rcbxCustom/illustrations/jp/${system.theme}.svg</path>
			<path ifArch="windows">./../../../../../_rcbxCustom/illustrations/jp/${system.theme}.svg</path>
			<path ifNotArch="windows">./../../../_rcbxCustom/illustrations/jp/${system.theme}.svg</path>
		</image>

		<!--hexa cross-->
		<image name="illustration" extra="true" ifSubset="allowIllustrationsCustom:hexa">
			<path if="${cross.hexa} == 'installed'">./../../es-theme-HEXA/${system.theme}/color-pi.png</path>
			<path if="${cross.hexa} == 'installed'">./../../es-theme-HEXA/${system.theme}/color-${lang}-pi.png</path>
			<path ifSubset="neogeo:aes" if="${cross.hexa} == 'installed'">./../../es-theme-HEXA/${system.theme}/color-aes-pi.png</path>
		</image>
		<image name="illustration" region="us" extra="true" ifSubset="regionChoice:yes">
			<path if="${cross.hexa} == 'installed'">./../../es-theme-HEXA/${system.theme}/us/color-pi.png</path>
		</image>
		<image name="illustration" region="jp" extra="true" ifSubset="regionChoice:yes">
			<path if="${cross.hexa} == 'installed'">./../../es-theme-HEXA/${system.theme}/jp/color-pi.png</path>
		</image>

	</view>

	<!--custom storyboards-->
	<view name="system" ifSubset="allowIllustrationsCustom:yes">
		<video name="randomVideo" extra="true" ifSubset="randomVideos:inFrame">
			<offsetX tinyScreen="false">2</offsetX>
			<offsetX tinyScreen="true" ifSubset="tiny:crt">2</offsetX>
		</video>
		<image name="illustration" extra="true">
			<storyboard repeatAt="10000">
				<animation property="scale" from="0.8" to="1" mode="easeOut" duration="300"/>
				<animation property="opacity" from="0" to="1" mode="easeOut" duration="150"/>

				<animation property="w" 						to="0" 				mode="easeInOut" autoreverse="true" repeat="9" 	duration="10" begin="9800"/>
				<animation property="scale" 					to="0.5" 			mode="easeIn" 									duration="20" begin="9980"/>
				<animation property="offsetX" 					to="-0.0125" 		mode="linear" 									duration="100" begin="9900"/>
				<animation property="w" 						to="0" 				mode="easeIn" autoreverse="true" repeat="9" 	duration="10" begin="10000"/>
				<animation property="scale" 					to="1" 				mode="linear" 									duration="60" begin="10000"/>
				<animation property="offsetX" 	from="0.0125" 	to="0" 				mode="bump" 									duration="100" begin="10000"/>
				<animation property="w" 						to="0" 				mode="easeIn" autoreverse="true" repeat="5" 	duration="10" begin="19800"/>
				<animation property="scale" 					to="0.5" 			mode="easeIn" 									duration="20" begin="19980"/>
				<animation property="offsetX" 					to="-0.0125" 		mode="linear" 									duration="100" begin="19900"/>

			</storyboard>			

			<storyboard ifSubset="carousel:vertical|wheel" repeatAt="10000">
				<animation property="scale" from="1.2" to="1.2" mode="easeOut" duration="600"/>
				<animation property="opacity" from="0" to="1" mode="linear" duration="150"/>
				<animation property="offsetY" from="0.3" to="0.3" mode="linear" duration="600"/>
				<animation property="offsetY" from="0.3" to="0" mode="easeIn" duration="150" begin="600"/>
				<animation property="scale" from="1.2" to="1" mode="easeIn" duration="150" begin="600"/>

				<animation property="w" 						to="0" 				mode="easeInOut" autoreverse="true" repeat="9" 	duration="10" begin="9800"/>
				<animation property="scale" 					to="0.5" 			mode="easeIn" 									duration="20" begin="9980"/>
				<animation property="offsetX" 					to="-0.0125" 		mode="linear" 									duration="100" begin="9900"/>
				<animation property="w" 						to="0" 				mode="easeIn" autoreverse="true" repeat="9" 	duration="10" begin="10000"/>
				<animation property="scale" 					to="1" 				mode="linear" 									duration="60" begin="10000"/>
				<animation property="offsetX" 	from="0.0125" 	to="0" 				mode="bump" 									duration="100" begin="10000"/>
				<animation property="w" 						to="0" 				mode="easeIn" autoreverse="true" repeat="5" 	duration="10" begin="19800"/>
				<animation property="scale" 					to="0.5" 			mode="easeIn" 									duration="20" begin="19980"/>
				<animation property="offsetX" 					to="-0.0125" 		mode="linear" 									duration="100" begin="19900"/>
			</storyboard>			

			<storyboard ifSubset="carousel:bottom" repeatAt="10000">
				<animation property="scale" from="1.2" to="1.2" mode="easeOut" duration="600"/>
				<animation property="opacity" from="0" to="1" mode="linear" duration="150"/>
				<animation property="offsetY" from="0.23" to="0.23" mode="linear" duration="600"/>
				<animation property="offsetY" from="0.23" to="0" mode="easeIn" duration="150" begin="600"/>
				<animation property="scale" from="1.2" to="1" mode="easeIn" duration="150" begin="600"/>

				<animation property="w" 						to="0" 				mode="easeInOut" autoreverse="true" repeat="9" 	duration="10" begin="9800"/>
				<animation property="scale" 					to="0.5" 			mode="easeIn" 									duration="20" begin="9980"/>
				<animation property="offsetX" 					to="-0.0125" 		mode="linear" 									duration="100" begin="9900"/>
				<animation property="w" 						to="0" 				mode="easeIn" autoreverse="true" repeat="9" 	duration="10" begin="10000"/>
				<animation property="scale" 					to="1" 				mode="linear" 									duration="60" begin="10000"/>
				<animation property="offsetX" 	from="0.0125" 	to="0" 				mode="bump" 									duration="100" begin="10000"/>
				<animation property="w" 						to="0" 				mode="easeIn" autoreverse="true" repeat="5" 	duration="10" begin="19800"/>
				<animation property="scale" 					to="0.5" 			mode="easeIn" 									duration="20" begin="19980"/>
				<animation property="offsetX" 					to="-0.0125" 		mode="linear" 									duration="100" begin="19900"/>
			</storyboard>			
		</image>
	</view>

	<!--hexa storyboards-->
	<view name="system" ifSubset="allowIllustrationsCustom:hexa">
		<video name="randomVideo" extra="true" ifSubset="randomVideos:inFrame">
			<offsetX tinyScreen="false">2</offsetX>
			<offsetX tinyScreen="true" ifSubset="tiny:crt">2</offsetX>
		</video>
		<image name="illustration" extra="true">
			<storyboard repeatAt="10000">
				<animation property="scale" from="0.8" to="1" mode="easeOut" duration="300"/>
				<animation property="opacity" from="0" to="1" mode="easeOut" duration="150"/>
				
				<animation property="offsetY" 			to="-0.014" autoreverse="true" 	mode="easeOut" 	duration="150" begin="5000"/>
				<animation property="offsetY" 			to="-0.014" autoreverse="true" 	mode="easeOut" 	duration="150" begin="10000"/>
				<animation property="offsetY" 			to="-0.014" autoreverse="true" 	mode="easeOut" 	duration="150" begin="15000"/>
				<animation property="opacity" from="1" 	to="1" 							mode="linear" 	duration="100" begin="19900"/>
			</storyboard>			

			<storyboard ifSubset="carousel:vertical|wheel" repeatAt="10000">
				<animation property="scale" from="1.2" to="1.2" mode="easeOut" duration="600"/>
				<animation property="opacity" from="0" to="1" mode="linear" duration="150"/>
				<animation property="offsetY" from="0.3" to="0.3" mode="linear" duration="600"/>
				<animation property="offsetY" from="0.3" to="0" mode="easeIn" duration="150" begin="600"/>
				<animation property="scale" from="1.2" to="1" mode="easeIn" duration="150" begin="600"/>
				
				<animation property="offsetY" 			to="-0.014" autoreverse="true" 	mode="easeOut" 	duration="150" begin="5000"/>
				<animation property="offsetY" 			to="-0.014" autoreverse="true" 	mode="easeOut" 	duration="150" begin="10000"/>
				<animation property="offsetY" 			to="-0.014" autoreverse="true" 	mode="easeOut" 	duration="150" begin="15000"/>
				<animation property="opacity" from="1" 	to="1" 							mode="linear" 	duration="100" begin="19900"/>
			</storyboard>			

			<storyboard ifSubset="carousel:bottom" repeatAt="10000">
				<animation property="scale" from="1.4" to="1.4" mode="easeOut" duration="600"/>
				<animation property="opacity" from="0" to="1" mode="linear" duration="150"/>
				<animation property="offsetY" from="0.15" to="0.15" mode="linear" duration="600"/>
				<animation property="offsetY" from="0.15" to="0" mode="easeIn" duration="150" begin="600"/>
				<animation property="scale" from="1.4" to="1" mode="easeIn" duration="150" begin="600"/>
				
				<animation property="offsetY" 			to="-0.014" autoreverse="true" 	mode="easeOut" 	duration="150" begin="5000"/>
				<animation property="offsetY" 			to="-0.014" autoreverse="true" 	mode="easeOut" 	duration="150" begin="10000"/>
				<animation property="offsetY" 			to="-0.014" autoreverse="true" 	mode="easeOut" 	duration="150" begin="15000"/>
				<animation property="opacity" from="1" 	to="1" 							mode="linear" 	duration="100" begin="19900"/>
			</storyboard>			

		</image>
	</view>

</theme>
