﻿<?xml version="1.0" encoding="UTF-8"?>
<theme>
	<formatVersion>7</formatVersion>
	<view name="system,basic,detailed,grid,gamecarousel">
		<image name="background" extra="true">
			<zIndex>100</zIndex>
			<path ifSubset="backgroundFx:flat">./background/flat.jpg</path>
			<path ifSubset="backgroundFx:scanlines">./background/scanlines.jpg</path>
			<path ifSubset="backgroundFx:scanlinesFine">./background/scanlinesFine.jpg</path>
			<path ifSubset="backgroundFx:scanlinesvertical">./background/scanlinesVertical.jpg</path>
			<path ifSubset="backgroundFx:scanlinesverticalFine">./background/scanlinesverticalFine.jpg</path>
			<path ifSubset="backgroundFx:crt">./background/crt.jpg</path>
			<path ifSubset="backgroundFx:phosphore">./background/phosphore.jpg</path>
			<size>1 1</size>
			<tile>true</tile>
			<gradientType>vertical</gradientType>
		</image>
	</view>
	<view name="system">
		<image name="background" extra="true">
            <color>505050</color>
            <colorEnd>202020</colorEnd>
            <color ifSubset="backgroundFx:flat|scanlinesFine">303030</color>
            <colorEnd ifSubset="backgroundFx:flat|scanlinesFine">303030</colorEnd>
		</image>
		<image name="paintSystem" ifSubset="paintSystem:yes" extra="true">
			<default>./parts/defaultPaint.jpg</default>
			<path>{random:fanart}</path>
			<path ifSubset="allowSystemCustom:yes">./../_rcbxCustom/paints/${system.theme}.jpg</path>
			<path ifSubset="allowSystemCustom:yes" ifArch="windows">./../../../../../_rcbxCustom/paints/default.jpg</path>
			<path ifSubset="allowSystemCustom:yes" ifArch="windows">./../../../../../_rcbxCustom/paints/system.jpg</path>
			<path ifSubset="allowSystemCustom:yes" ifArch="windows">./../../../../../_rcbxCustom/paints/${system.theme}.jpg</path>
			<path ifSubset="allowSystemCustom:yes" ifNotArch="windows">./../../../_rcbxCustom/paints/default.jpg</path>
			<path ifSubset="allowSystemCustom:yes" ifNotArch="windows">./../../../_rcbxCustom/paints/system.jpg</path>
			<path ifSubset="allowSystemCustom:yes" ifNotArch="windows">./../../../_rcbxCustom/paints/${system.theme}.jpg</path>
			<path ifSubset="allowSystemCustom:yes">./../_rcbxCustom/paints/${system.theme}.png</path>
			<path ifSubset="allowSystemCustom:yes" ifArch="windows">./../../../../../_rcbxCustom/paints/default.png</path>
			<path ifSubset="allowSystemCustom:yes" ifArch="windows">./../../../../../_rcbxCustom/paints/system.png</path>
			<path ifSubset="allowSystemCustom:yes" ifArch="windows">./../../../../../_rcbxCustom/paints/${system.theme}.png</path>
			<path ifSubset="allowSystemCustom:yes" ifNotArch="windows">./../../../_rcbxCustom/paints/default.png</path>
			<path ifSubset="allowSystemCustom:yes" ifNotArch="windows">./../../../_rcbxCustom/paints/system.png</path>
			<path ifSubset="allowSystemCustom:yes" ifNotArch="windows">./../../../_rcbxCustom/paints/${system.theme}.png</path>
			<linearSmooth>true</linearSmooth>
			<zIndex>101</zIndex>
			<pos>0.5 0.5</pos>
			<pos ifSubset="paintSystemForce:paintFull">0.5 0.5</pos>
			<minSize>1 1</minSize>
			<origin>0.5 0.5</origin>
			<origin ifSubset="paintSystemForce:paintFull">0.5 0.5</origin>
			<gradientType>horizontal</gradientType>
			<color>${c.paint}</color>
			<colorEnd>${ce.paint}</colorEnd>
			<color ifSubset="paintSystemForce:darkPaint">${c.paintDark}</color>
			<colorEnd ifSubset="paintSystemForce:darkPaint">${ce.paintDark}</colorEnd>
			<color ifSubset="paintSystemForce:softPaint">${c.paintSoft}</color>
			<colorEnd ifSubset="paintSystemForce:softPaint">${ce.paintSoft}</colorEnd>
			<color ifSubset="paintSystemForce:mediumPaint">${c.paintMedium}</color>
			<colorEnd ifSubset="paintSystemForce:mediumPaint">${ce.paintMedium}</colorEnd>
			<saturation ifSubset="paintSystemForce:mediumPaint">1.05</saturation>
			<color ifSubset="paintSystemForce:vividPaint">${c.paintVivid}</color>
			<colorEnd ifSubset="paintSystemForce:vividPaint">${ce.paintVivid}</colorEnd>
			<color ifSubset="paintSystemForce:paintFull">${c.paintFull}</color>
			<colorEnd ifSubset="paintSystemForce:paintFull">${ce.paintFull}</colorEnd>
			<saturation ifSubset="paintSystemForce:vividPaint|paintFull">1.05</saturation>
			<saturation ifSubset="paintSystemSaturation:75%">0.75</saturation>
			<saturation ifSubset="paintSystemSaturation:50%">0.50</saturation>
			<saturation ifSubset="paintSystemSaturation:25%">0.25</saturation>
			<saturation ifSubset="paintSystemSaturation:0%">0</saturation>
			<opacity>1</opacity>
			<visible ifSubset="randomVideos:asPaint">false</visible>
		</image>
	</view>
	<view name="system" ifSubset="paintSystem:yes,animePaint:yes" >
		<carousel name="systemcarousel">
			<defaultTransition>fade</defaultTransition>
		</carousel>
		<image name="paintSystem" extra="true">
			<minSize>1.2 1</minSize>
			<opacity>0</opacity>
			<storyboard repeat="forever" ifSubset="allowFadeAnim:yes">
        		<animation property="opacity" to="1" begin="350" duration="500" mode="easeIn"/>

        		<animation property="origin" from="0.45 0.5" to="0.55 0.5" begin="0" duration="10000" mode="easeOut"/>

        		<animation property="origin" from="0.55 0.5" to="0.45 0.5" begin="10000" duration="10000" mode="easeOut"/>
				
        		<animation property="opacity" to="0" begin="9000" duration="350" mode="easeIn"/>
        		<animation property="opacity" from="0" to="0" begin="9350" duration="650" mode="easeIn"/>
        		<animation property="opacity" to="1" begin="10350" duration="500" mode="easeIn"/>
        		<animation property="opacity" to="0" begin="19000" duration="350" mode="easeIn"/>
        		<animation property="opacity" from="0" to="0" begin="19350" duration="650" mode="easeIn"/>
			</storyboard>
 			<storyboard repeatAt="19999" ifSubset="allowFadeAnim:no">
        		<animation property="opacity" to="1" begin="350" duration="500" mode="easeIn"/>

        		<animation property="origin" from="0.45 0.5" to="0.55 0.5" begin="0" duration="10000" mode="easeOut"/>
        		<animation property="origin" from="0.55 0.5" to="0.45 0.5" begin="10000" duration="10000" mode="easeInOut"/>
 
				<animation property="origin" from="0.45 0.5" to="0.55 0.5" begin="20000" duration="10000" mode="easeInOut"/>
        		<animation property="origin" from="0.55 0.5" to="0.45 0.5" begin="20000" duration="10000" mode="easeInOut"/>
			</storyboard>
		</image>
	</view>
	<view name="basic,detailed,grid,gamecarousel">
		<image name="background" extra="true">
            <color>505050</color>
            <colorEnd>202020</colorEnd>
			<color ifSubset="backgroundFx:flat|scanlinesFine">303030</color>
			<colorEnd ifSubset="backgroundFx:flat|scanlinesFine">303030</colorEnd>
		</image>
	</view>
	<view name="detailed,grid,gamecarousel">
		<image name="md_fanart" ifSubset="paintGamelist:yes">
			<default>./parts/defaultFanart.jpg</default>
			<default>./../_rcbxCustom/paints/${system.theme}.jpg</default>
			<default ifArch="windows">./../../../../../_rcbxCustom/paints/${system.theme}.jpg</default>
			<default ifNotArch="windows">./../../../_rcbxCustom/paints/${system.theme}.jpg</default>
			<default>./../_rcbxCustom/paints/${system.theme}.png</default>
			<default ifArch="windows">./../../../../../_rcbxCustom/paints/${system.theme}.png</default>
			<default ifNotArch="windows">./../../../_rcbxCustom/paints/${system.theme}.png</default>
			<linearSmooth>true</linearSmooth>
			<zIndex>101</zIndex>
			<pos>0.5 0.5</pos>
			<minSize>1 1</minSize>
			<origin>0.5 0.5</origin>
			<gradientType>horizontal</gradientType>
			<color>${c.paint}</color>
			<colorEnd>${ce.paint}</colorEnd>
			<color ifSubset="paintGamelistForce:darkPaint">${c.paintDark}</color>
			<colorEnd ifSubset="paintGamelistForce:darkPaint">${ce.paintDark}</colorEnd>
			<color ifSubset="paintGamelistForce:softPaint">${c.paintSoft}</color>
			<colorEnd ifSubset="paintGamelistForce:softPaint">${ce.paintSoft}</colorEnd>
			<color ifSubset="paintGamelistForce:mediumPaint">${c.paintMedium}</color>
			<colorEnd ifSubset="paintGamelistForce:mediumPaint">${ce.paintMedium}</colorEnd>
			<saturation ifSubset="paintGamelistForce:mediumPaint">1.05</saturation>
			<color ifSubset="paintGamelistForce:vividPaint">${c.paintVivid}</color>
			<colorEnd ifSubset="paintGamelistForce:vividPaint">${ce.paintVivid}</colorEnd>
			<color ifSubset="paintGamelistForce:paintFull">${c.paintFull}</color>
			<colorEnd ifSubset="paintGamelistForce:paintFull">${ce.paintFull}</colorEnd>
			<saturation ifSubset="paintGamelistForce:vividPaint|paintFull">1.05</saturation>
			<saturation ifSubset="paintGamelistSaturation:75%">0.75</saturation>
			<saturation ifSubset="paintGamelistSaturation:50%">0.50</saturation>
			<saturation ifSubset="paintGamelistSaturation:25%">0.25</saturation>
			<saturation ifSubset="paintGamelistSaturation:0%">0</saturation>
			<opacity>0</opacity>
			<storyboard event="open">
				<animation property="opacity" to="1" mode="easeIn" duration="250" begin="0"/>
			</storyboard>
			<storyboard event="activateNext">
				<animation property="opacity" to="1" mode="easeIn" duration="250" begin="350"/>
			</storyboard>
			<storyboard event="activatePrev">
				<animation property="opacity" to="1" mode="easeIn" duration="250" begin="350"/>
			</storyboard>
			<storyboard event="deactivatePrev">
				<animation property="opacity" to="0" mode="linear" duration="1"/>
			</storyboard>
			<storyboard event="deactivateNext">
				<animation property="opacity" to="0" mode="linear" duration="1"/>
			</storyboard>
			<visible ifSubset="paintGamelist:custom">false</visible>
		</image>
	</view>
	<view name="detailed,grid,gamecarousel" ifSubset="paintGamelist:yes,animePaintGamelist:yes">
		<image name="md_fanart">
			<minSize>1.2 1</minSize>
			<opacity>0</opacity>
			<storyboard event="open" repeatAt="19999">
        		<animation property="opacity" to="1" begin="350" duration="500" mode="easeIn"/>

        		<animation property="origin" from="0.45 0.5" to="0.55 0.5" begin="0" duration="10000" mode="easeOut"/>
        		<animation property="origin" from="0.55 0.5" to="0.45 0.5" begin="10000" duration="10000" mode="easeInOut"/>
 
				<animation property="origin" from="0.45 0.5" to="0.55 0.5" begin="20000" duration="10000" mode="easeInOut"/>
        		<animation property="origin" from="0.55 0.5" to="0.45 0.5" begin="20000" duration="10000" mode="easeInOut"/>
			</storyboard>
			<storyboard event="activateNext" repeatAt="19999">
        		<animation property="opacity" to="1" begin="350" duration="500" mode="easeIn"/>

        		<animation property="origin" from="0.45 0.5" to="0.55 0.5" begin="0" duration="10000" mode="easeOut"/>
        		<animation property="origin" from="0.55 0.5" to="0.45 0.5" begin="10000" duration="10000" mode="easeInOut"/>
 
				<animation property="origin" from="0.45 0.5" to="0.55 0.5" begin="20000" duration="10000" mode="easeInOut"/>
        		<animation property="origin" from="0.55 0.5" to="0.45 0.5" begin="20000" duration="10000" mode="easeInOut"/>
			</storyboard>
			<storyboard event="activatePrev" repeatAt="19999">
        		<animation property="opacity" to="1" begin="350" duration="500" mode="easeIn"/>

        		<animation property="origin" from="0.45 0.5" to="0.55 0.5" begin="0" duration="10000" mode="easeOut"/>
        		<animation property="origin" from="0.55 0.5" to="0.45 0.5" begin="10000" duration="10000" mode="easeInOut"/>
 
				<animation property="origin" from="0.45 0.5" to="0.55 0.5" begin="20000" duration="10000" mode="easeInOut"/>
        		<animation property="origin" from="0.55 0.5" to="0.45 0.5" begin="20000" duration="10000" mode="easeInOut"/>
			</storyboard>
		</image>
	</view>
	<view name="basic,detailed,grid,gamecarousel">
		<image name="paintGamelist" ifSubset="paintGamelist:custom" extra="true">
			<path>./parts/defaultPaint.jpg</path>
			<path>./../_rcbxCustom/paints/${system.theme}.jpg</path>
			<path ifArch="windows">./../../../../../_rcbxCustom/paints/default.jpg</path>
			<path ifArch="windows">./../../../../../_rcbxCustom/paints/gamelist.jpg</path>
			<path ifArch="windows">./../../../../../_rcbxCustom/paints/${system.theme}.jpg</path>
			<path ifNotArch="windows">./../../../_rcbxCustom/paints/default.jpg</path>
			<path ifNotArch="windows">./../../../_rcbxCustom/paints/gamelist.jpg</path>
			<path ifNotArch="windows">./../../../_rcbxCustom/paints/${system.theme}.jpg</path>
			<path>./../_rcbxCustom/paints/${system.theme}.png</path>
			<path ifArch="windows">./../../../../../_rcbxCustom/paints/default.png</path>
			<path ifArch="windows">./../../../../../_rcbxCustom/paints/gamelist.png</path>
			<path ifArch="windows">./../../../../../_rcbxCustom/paints/${system.theme}.png</path>
			<path ifNotArch="windows">./../../../_rcbxCustom/paints/default.png</path>
			<path ifNotArch="windows">./../../../_rcbxCustom/paints/gamelist.png</path>
			<path ifNotArch="windows">./../../../_rcbxCustom/paints/${system.theme}.png</path>
			<linearSmooth>true</linearSmooth>
			<zIndex>101</zIndex>
			<pos>0.5 0.5</pos>
			<minSize>1 1</minSize>
			<origin>0.5 0.5</origin>
			<gradientType>horizontal</gradientType>
			<color>${c.paint}</color>
			<colorEnd>${ce.paint}</colorEnd>
			<color ifSubset="paintGamelistForce:darkPaint">${c.paintDark}</color>
			<colorEnd ifSubset="paintGamelistForce:darkPaint">${ce.paintDark}</colorEnd>
			<color ifSubset="paintGamelistForce:softPaint">${c.paintSoft}</color>
			<colorEnd ifSubset="paintGamelistForce:softPaint">${ce.paintSoft}</colorEnd>
			<color ifSubset="paintGamelistForce:mediumPaint">${c.paintMedium}</color>
			<colorEnd ifSubset="paintGamelistForce:mediumPaint">${ce.paintMedium}</colorEnd>
			<saturation ifSubset="paintGamelistForce:mediumPaint">1.05</saturation>
			<color ifSubset="paintGamelistForce:vividPaint">${c.paintVivid}</color>
			<colorEnd ifSubset="paintGamelistForce:vividPaint">${ce.paintVivid}</colorEnd>
			<color ifSubset="paintGamelistForce:paintFull">${c.paintFull}</color>
			<colorEnd ifSubset="paintGamelistForce:paintFull">${ce.paintFull}</colorEnd>
			<saturation ifSubset="paintGamelistForce:vividPaint|paintFull">1.05</saturation>
			<saturation ifSubset="paintGamelistForce:vividPaint">1.1</saturation>
			<saturation ifSubset="paintGamelistSaturation:75%">0.75</saturation>
			<saturation ifSubset="paintGamelistSaturation:50%">0.50</saturation>
			<saturation ifSubset="paintGamelistSaturation:25%">0.25</saturation>
			<saturation ifSubset="paintGamelistSaturation:0%">0</saturation>
						<opacity>0</opacity>
			<storyboard>
				<animation property="opacity" to="1" mode="easeIn" duration="250" begin="0"/>
			</storyboard>
		</image>
	</view>
	<view name="basic,detailed,grid,gamecarousel" ifSubset="paintGamelist:custom,animePaintGamelist:yes" >
		<image name="paintGamelist" extra="true">
			<minSize>1.2 1</minSize>
			<opacity>0</opacity>
		<storyboard repeat="forever">
        		<animation property="opacity" to="1" begin="350" duration="500" mode="easeIn"/>

        		<animation property="origin" from="0.45 0.5" to="0.55 0.5" begin="0" duration="10000" mode="easeOut"/>

        		<animation property="origin" from="0.55 0.5" to="0.45 0.5" begin="10000" duration="10000" mode="easeOut"/>
				
        		<animation property="opacity" to="0" begin="8000" duration="2000" mode="easeOut"/>
        		<animation property="opacity" to="1" begin="10350" duration="500" mode="easeIn"/>
        		<animation property="opacity" to="0" begin="18000" duration="2000" mode="easeOut"/>
				</storyboard>
		</image>
	</view>
	<view name="system" ifSubset="randomVideos:asPaint">
		<image name="background" extra="true">
            <color>20202066</color>
            <colorEnd>202020cf</colorEnd>
            <colorEnd>20202066</colorEnd>
			<gradientType>horizontal</gradientType>
			<storyboard>
				<animation property="colorEnd" to="202020cf" mode="linear" duration="250" begin="750"/>
			</storyboard>			
			<storyboard tinyScreen="true" ifSubset="tiny:handheld">
				<animation property="colorEnd" to="202020cf" mode="linear" duration="250" begin="1150"/>
			</storyboard>			
		</image>
	</view>
</theme>
