﻿<?xml version="1.0" encoding="UTF-8"?>

<theme>
<formatVersion>7</formatVersion>

<view name="system">

<sound name="bgsound" ifSubset="customMusic:yes">
<path>${music.path}${system.theme}.mp3</path>
<path>${music.path}${system.theme}.ogg</path>
</sound>


<sound name="bgsound" ifSubset="mode:customAudio|customStaticAudio">
<path>./_assets/silence.ogg</path>
</sound>

<video name="staticBackgroundVideo" ifSubset="mode:default|customStatic|customStaticAudio">
<maxSize>99 1</maxSize>
<pos>0.5 0.5</pos>
<origin>0.5 0.5</origin>
<path>./_assets/loops/${background}.mp4</path>
<path ifSubset="mode:customStatic|customStaticAudio">./_customBackgrounds/custom.mp4</path>
<color>${colorset}bf</color>
<zIndex>1</zIndex>
<audio>false</audio>
<audio ifSubset="mode:customStaticAudio">true</audio>
</video>

<video name="staticBackgroundVideo" ifSubset="biChrome:yes">
<color>ffffffbf</color>
</video>

<video name="BackgroundVideo" extra="true" ifSubset="mode:custom|customAudio">
<maxSize>99 1</maxSize>
<pos>0.5 0.5</pos>
<origin>0.5 0.5</origin>
<path>./_customBackgrounds/default.mp4</path>
<path>./_customBackgrounds/${system.theme}.mp4</path>
<color>${colorset}bf</color>
<color ifSubset="biChrome:yes">ffffffbf</color>
<zIndex>1</zIndex>
<delay>0</delay>
<audio>false</audio>
</video>

<video name="BackgroundVideo" extra="true" ifSubset="mode:customAudio">
<audio>true</audio>
</video>
	
<carousel name="systemcarousel">
<type>horizontal</type>      
<size>1 0.2</size>
<pos>0 0.65</pos>
<logoAlignment>center</logoAlignment>
<color>00000000</color>
<colorEnd>00000000</colorEnd>
<gradientType>vertical</gradientType>
<logoScale>2</logoScale>
<logoSize>0.15 0.09</logoSize>
<zIndex>10000</zIndex>
<defaultTransition>instant</defaultTransition>
</carousel>

<image name="backCarouselUp" extra="true">
<path>./_assets/white.png</path>
<zIndex>9997</zIndex>
<size>1 0.015</size>
<origin>0 1</origin>
<pos>0 0.65</pos>
<color>00000000</color>
<colorEnd>00000099</colorEnd>
<gradientType>vertical</gradientType>
</image>

<image name="backCarouselCenter" extra="true">
<path>./_assets/white.png</path>
<zIndex>9997</zIndex>
<size>1 0.2</size>
<pos>0 0.65</pos>
<color>00000099</color>
<colorEnd>00000099</colorEnd>
<gradientType>vertical</gradientType>
</image>

<image name="backCarouselDown" extra="true">
<path>./_assets/white.png</path>
<zIndex>9997</zIndex>
<size>1 0.015</size>
<pos>0 0.85</pos>
<color>00000099</color>
<colorEnd>00000000</colorEnd>
<gradientType>vertical</gradientType>
</image>

<image name="backCarouselLeft" extra="true">
<path>./_assets/white.png</path>
<zIndex>9998</zIndex>
<size>0.5 0.2</size>
<pos>0 0.65</pos>
<color>ffffff00</color>
<colorEnd>ffffff99</colorEnd>
<gradientType>horizontal</gradientType>
</image>

<image name="backCarouselRight" extra="true">
<path>./_assets/white.png</path>
<zIndex>9998</zIndex>
<size>0.5 0.2</size>
<pos>0.5 0.65</pos>
<color>ffffff99</color>
<colorEnd>ffffff00</colorEnd>
<gradientType>horizontal</gradientType>
</image>

<image name="backCarouselLineUp" extra="true">
<path>./_assets/white.png</path>
<zIndex>9999</zIndex>
<size>1 0.005</size>
<origin>0 0</origin>
<pos>0 0.65</pos>
<color>000000</color>
<colorEnd>00000000</colorEnd>
<gradientType>vertical</gradientType>
</image>

<image name="backCarouselLineDown" extra="true">
<path>./_assets/white.png</path>
<zIndex>9999</zIndex>
<size>1 0.005</size>
<origin>0 1</origin>
<pos>0 0.85</pos>
<color>00000000</color>
<colorEnd>000000</colorEnd>
<gradientType>vertical</gradientType>
</image>

<image name="backCarouselShadow" extra="true">
<path>./_assets/white.png</path>
<zIndex>9996</zIndex>
<size>1 0.025</size>
<pos>0 0.85</pos>
<color>00000099</color>
<colorEnd>00000000</colorEnd>
<gradientType>vertical</gradientType>
</image>

<text name="systemInfo">
<zIndex>200</zIndex>
<backgroundColor>00000000</backgroundColor>
<size>1 0.03</size>
<fontPath>./_assets/Staatliches-Regular.ttf</fontPath>
<color>dddddd</color>
<glowSize>2</glowSize>
<glowColor>00000099</glowColor>
<glowOffset>0</glowOffset>
<pos>0 0.9</pos>
</text>

<image name="logo">
<linearSmooth>true</linearSmooth>
<path>./_assets/logos/${system.theme}.png</path>
<path>./_assets/logos/${system.theme}.svg</path>
<path>./_assets/logos/${system.theme}-${lang}.png</path>
<path>./_assets/logos/${system.theme}-${lang}.svg</path>
<path>./_customLogos/${system.theme}.png</path>
<path>./_customLogos/${system.theme}.svg</path>
<path>./_customLogos/${system.theme}-${lang}.png</path>
<path>./_customLogos/${system.theme}-${lang}.svg</path>
<scale>0.5</scale>
<storyboard event="activate">
<animation property="scale" from="0.5" to="1" duration="250" mode="EaseOut"/>
<animation property="opacity" from="1" to="1" duration="1" mode="Linear"/>
<animation property="origin" from="0.5 0.5" to="0.55 0.5" begin="50" duration="125" mode="EaseOut"/>
<animation property="origin" from="0.55 0.5" to="0.5 0.5" begin="175" duration="500" autoreverse="true" repeat="1" mode="EaseInOut"/>
</storyboard>
<storyboard event="scroll">
<animation property="scale" from="0.5" to="0.5" duration="1" mode="EaseOut"/>
<animation property="opacity" from="1" to="1" duration="1" mode="Linear"/>
</storyboard>
<storyboard event="deactivate">
<animation property="scale" from="1" to="0.5" duration="1" mode="EaseOut"/>
<animation property="opacity" from="1" to="1" duration="1" mode="Linear"/>
</storyboard>
</image>

<image name="logo" region="us">
<path>./_assets/logos/us/${system.theme}.png</path>
<path>./_assets/logos/us/${system.theme}.svg</path>
<path>./_customLogos/us/${system.theme}.png</path>
<path>./_customLogos/us/${system.theme}.svg</path>
</image>

<image name="logo" region="jp">
<path>./_assets/logos/jp/${system.theme}.png</path>
<path>./_assets/logos/jp/${system.theme}.svg</path>
<path>./_customLogos/jp/${system.theme}.png</path>
<path>./_customLogos/jp/${system.theme}.svg</path>
</image>

<image name="illustrations" extra="true">
<linearSmooth>true</linearSmooth>
<path>./_assets/illustrations/default.png</path>
<path>./_assets/illustrations/${system.theme}.png</path>
<path>./_assets/illustrations/${system.theme}.svg</path>
<path>./_assets/illustrations/${system.theme}-${lang}.png</path>
<path>./_assets/illustrations/${system.theme}-${lang}.svg</path>
<path>./_customIllustrations/${system.theme}.png</path>
<path>./_customIllustrations/${system.theme}.svg</path>
<path>./_customIllustrations/${system.theme}-${lang}.png</path>
<path>./_customIllustrations/${system.theme}-${lang}.svg</path>
<zIndex>10000</zIndex>
<origin>0.5 0.5</origin>
<pos>0.3 0.4</pos>
<maxSize>0.3 0.3</maxSize>
<storyboard>
<animation property="pos" from="0.5 0.4" to="0.5 0.4" duration="750" mode="EaseOut"/>
<animation property="pos" to="0.3 0.4" duration="1000" mode="EaseOut" begin="750"/>
</storyboard>
</image>

<image name="illustrations" region="us" extra="true">
<path>./_assets/illustrations/us/${system.theme}.png</path>
<path>./_assets/illustrations/us/${system.theme}.svg</path>
<path>./_customIllustrations/us/${system.theme}.png</path>
<path>./_customIllustrations/us/${system.theme}.svg</path>
</image>

<image name="illustrations" region="jp" extra="true">
<path>./_assets/illustrations/jp/${system.theme}.png</path>
<path>./_assets/illustrations/jp/${system.theme}.svg</path>
<path>./_customIllustrations/jp/${system.theme}.png</path>
<path>./_customIllustrations/jp/${system.theme}.svg</path></image>


<image name="hud" extra="true">
<linearSmooth>true</linearSmooth>
<path>./_assets/hud.png</path>
<zIndex>9995</zIndex>
<size>0.4 0.4575</size>
<origin>0.495 0.4925</origin>
<pos>0.7 0.35</pos>
<color>${colorset}</color>
</image>

<image name="hudBack" extra="true">
<linearSmooth>true</linearSmooth>
<path>./_assets/white.png</path>
<zIndex>9980</zIndex>
<size>0.3275 0.3275</size>
<origin>0.5 0.5</origin>
<pos>0.7 0.35</pos>
<color>000000</color>
</image>

<video name="randomVideo" extra="true">
<default>./_assets/noise.mp4</default>
<path>{random}</path>
<path>${randomVideo.path}${system.theme}.mp4</path>
<size>0.3275 0.3275</size>
<origin>0.5 0.5</origin>
<pos>0.7 0.35</pos>
<audio>true</audio>
<delay>0</delay>
<effect>none</effect>
<zIndex>9990</zIndex>
</video>

<video name="randomVideo" extra="true" ifSubset="cutAudioVideos:yes">
<audio>false</audio>
</video>

<video name="randomVideo" extra="true" ifSubset="customScreen:carouselOnly|videoOnly|nothing">
<audio>false</audio>
</video>

<video name="randomVideo" extra="true" ifSubset="mode:customAudio|customStaticAudio">
<audio>false</audio>
</video>

<control name="randomVideo,hudBack,hud">
<storyboard>
<animation property="opacity" from="0" to="0" duration="1200" mode="linear" begin="0"/>
<animation property="opacity" from="0" to="1" duration="550" mode="linear" begin="1200"/>
</storyboard>
</control>

<control name="illustrations" ifSubset="customScreen:carouselOnly|videoOnly|nothing">
<storyboard>
<animation property="pos" from="0.5 0.4" to="0.5 0.4" duration="1" mode="EaseOut"/>
<animation property="opacity" to="0" duration="300" mode="EaseOut" begin="1500"/>
<animation property="offsetY" to="-0.4" duration="300" mode="EaseIn" begin="1500"/>
</storyboard>
</control>

<control name="randomVideo,hud,hudBack" ifSubset="customScreen:carouselOnly|videoOnly|nothing">
<storyboard>
<animation property="opacity" to="0" duration="1" mode="EaseOut"/>
<animation property="audio" to="false" duration="1" mode="EaseOut"/>
</storyboard>
</control>

<!--Carousel fade-->

<control name="logo" ifSubset="customScreen:videoOnly|nothing">
<storyboard event="activate">
<animation property="opacity" to="0" duration="300" mode="EaseOut" begin="1500"/>
</storyboard>
<storyboard event="scroll">
<animation property="opacity" to="0" duration="300" mode="EaseOut" begin="1500"/>
</storyboard>
<storyboard event="deactivate">
<animation property="opacity" to="0" duration="300" mode="EaseOut" begin="1500"/>
</storyboard>
</control>

<control name="backCarouselUp,backCarouselDown,backCarouselLeft,backCarouselRight,backCarouselCenter,backCarouselLineUp,backCarouselLineDown,backCarouselLineShadow,backCarouselShadow" ifSubset="customScreen:videoOnly|nothing">
<storyboard>
<animation property="opacity" to="0" duration="300" mode="EaseOut" begin="1500"/>
</storyboard>
</control>
<!---->

<control name="systemInfo,systemText" ifSubset="customScreen:nothing">
<storyboard>
<animation property="opacity" to="0" duration="300" mode="EaseOut" begin="1500"/>
</storyboard>
</control>

</view>

</theme>
