﻿<?xml version="1.0" encoding="UTF-8"?>
<theme>
<formatVersion>7</formatVersion>

    <include>./../_rcbxCustom/extendedInfos/${system.theme}.xml</include>
	<include ifArch="windows">./../../../../../_rcbxCustom/extendedInfos/${system.theme}.xml</include>
	<include ifNotArch="windows">./../../../_rcbxCustom/extendedInfos/${system.theme}.xml</include>

	<view name="system">
		<text name="systemInfo" ifSubset="extendedInfos:yes" visible="false"/>
		<text name="systemInfoEx" ifSubset="extendedInfos:no" visible="false"/>
		<text name="systemInfo" tinyScreen="true" ifSubset="tiny:handheld" visible="true"/>

		<text name="systemInfoEx" extra="true">

			<alignment>center</alignment>
			<verticalAlignment>top</verticalAlignment>
			<fontPath>./fonts/Cabin-Bold.ttf</fontPath>
			<fontPath ifSubset="infosFont:regular">./fonts/Cabin-Regular.ttf</fontPath>
			<fontPath ifSubset="infosFont:condensed">./fonts/CabinCondensed-Regular.ttf</fontPath>
			<fontPath ifSubset="infosFont:condensedBold">./fonts/CabinCondensed-Bold.ttf</fontPath>
			<fontPath ifSubset="infosFont:regularBold">./fonts/Cabin-Bold.ttf</fontPath>
			<forceUppercase>true</forceUppercase>
			<fontSize>0.019</fontSize>
			<fontSize if="${notWide}">0.018</fontSize>
			<fontSize if="${ultraWide}">0.020</fontSize>
			<fontSize tinyScreen="true">0.014</fontSize>
			<pos>0.5 0.64</pos>
            <origin>0.5 0</origin>
			<offsetY tinyScreen="true" ifsubset="carousel:legacy">0.02</offsetY>

			<offsetY ifSubset="carousel:bottom">-0.22</offsetY>
			<offsetY tinyScreen="true" ifSubset="carousel:bottom">-0.22</offsetY>

			<offsetY ifSubset="carousel:bottom,randomVideos:inFrame">-0.22</offsetY>
			<offsetY tinyScreen="true" ifSubset="carousel:bottom,randomVideos:inFrame">-0.21</offsetY>

			<offsetY ifSubset="carousel:bottom,allowIllustrationsCustom:yes">-0.28</offsetY>
			<offsetY tinyScreen="true" ifSubset="carousel:bottom,allowIllustrationsCustom:yes">-0.27</offsetY>

			<offsetY ifSubset="carousel:bottom,allowIllustrationsCustom:hexa">-0.21</offsetY>
			<offsetY tinyScreen="true" ifSubset="carousel:bottom,allowIllustrationsCustom:hexa">-0.1825</offsetY>

			<offsetY ifSubset="carousel:vertical|wheel,allowIllustrationsCustom:hexa">0.05</offsetY>
			<offsetY tinyScreen="true" ifSubset="carousel:bottom,allowIllustrationsCustom:hexa">-0.1825</offsetY>

			<size>0.5 0.28</size>
			<size ifSubset="bands:yes">0.3 0.28</size>
            <size ifSubset="carousel:bottom|legacy">0.58 0.28</size>
			<zIndex>1010</zIndex>
			<color>${c.text}</color>
            <glowColor>00000080</glowColor>
            <glowColor ifSubset="paintSystem:yes,paintSystemForce:paintFull">000000</glowColor>
			<glowOffset>1</glowOffset>
			<glowSize>1</glowSize>
			<storyboard>
                <animation property="opacity" from="0" to="0" duration="650" mode="easeIn"/>
                <animation property="opacity" from="0" to="1" duration="250" mode="easeInOut" begin="650"/>
            </storyboard>
			<visible ifSubset="randomVideos:fullScreen">false</visible>

<!----------------------------------------------------------------------------------------------------------------------------------------------------->
<!--STANDARD-->
<!----------------------------------------------------------------------------------------------------------------------------------------------------->

<!--year null-->
            <text>${system.fullName}
                
"${desc}"
                
${lang.games}:  {binding:total}
${lang.favorites}:  {binding:favorites}
${lang.gamesPlayed}:  {binding:gamesPlayed}
${lang.mostPlayed}:  {binding:mostPlayed}
${lang.lastPlayedDate}:  {binding:lastPlayedDate}
            </text>

<!--year available-->
            <text if="{system.releaseYearOrNull} >= '1958'">${system.fullName}  ( ${system.releaseYearOrNull} )
                
"${desc}"

${lang.games}:  {binding:total}
${lang.favorites}:  {binding:favorites}
${lang.gamesPlayed}:  {binding:gamesPlayed}
${lang.mostPlayed}:  {binding:mostPlayed}
${lang.lastPlayedDate}:  {binding:lastPlayedDate}
            </text>

<!--year added in customs-->
            <text if="${custom.year} >= '1958'">${system.fullName}  ( ${custom.year} )
                
"${desc}"

${lang.games}:  {binding:total}
${lang.favorites}:  {binding:favorites}
${lang.gamesPlayed}:  {binding:gamesPlayed}
${lang.mostPlayed}:  {binding:mostPlayed}
${lang.lastPlayedDate}:  {binding:lastPlayedDate}
            </text>
            
        </text>

<!----------------------------------------------------------------------------------------------------------------------------------------------------->
<!--FAVORITES-->
<!----------------------------------------------------------------------------------------------------------------------------------------------------->

        <text name="systemInfoEx" extra="true" if="{custom.type} == 'favorites'">

            <text>${system.fullName}
                
"${desc}"

${lang.games}:  {binding:total}
${lang.gamesPlayed}:  {binding:gamesPlayed}
${lang.mostPlayed}:  {binding:mostPlayed}
${lang.lastPlayedDate}:  {binding:lastPlayedDate}
            </text>
            
		</text>

<!----------------------------------------------------------------------------------------------------------------------------------------------------->
<!--COLLECTIONS-->
<!----------------------------------------------------------------------------------------------------------------------------------------------------->

        <text name="systemInfoEx" extra="true" if="{custom.type} == 'collections'">

            <text>${system.fullName}
                
"${desc}"

${lang.collections}:  {binding:subSystems}		
            </text>
            
		</text>

<!----------------------------------------------------------------------------------------------------------------------------------------------------->
<!--APPLICATIONS-->
<!----------------------------------------------------------------------------------------------------------------------------------------------------->

        <text name="systemInfoEx" extra="true" if="{custom.type} == 'apps'">

            <text>${system.fullName}
                
"${desc}"

${lang.applications}:  {binding:total}
            </text>
            
		</text>

<!----------------------------------------------------------------------------------------------------------------------------------------------------->
<!--ELEMENTS-->
<!----------------------------------------------------------------------------------------------------------------------------------------------------->

        <text name="systemInfoEx" extra="true" if="{custom.type} == 'elements'">

            <text>${system.fullName}
                
"${desc}"

${lang.elements}:  {binding:total}		
            </text>
            
			<text if="{system.releaseYearOrNull} >= '1958'">${system.fullName}  ( ${system.releaseYearOrNull} )
                
"${desc}"

${lang.elements}:  {binding:total}	
            </text>
            
			<text if="${custom.year} >= '1958'">${system.fullName}  ( ${custom.year} )
                
"${desc}"

${lang.elements}:  {binding:total}
            </text>
            
		</text>

<!----------------------------------------------------------------------------------------------------------------------------------------------------->
<!--IMAGES-->
<!----------------------------------------------------------------------------------------------------------------------------------------------------->

        <text name="systemInfoEx" extra="true" if="{custom.type} == 'images'">

            <text>${system.fullName}
                
"${desc}"

${lang.images}:  {binding:total}	
            </text>
            
			<text if="{system.releaseYearOrNull} >= '1958'">${system.fullName}  ( ${system.releaseYearOrNull} )
                
"${desc}"

${lang.images}:  {binding:total}
            </text>
            
			<text if="${custom.year} >= '1958'">${system.fullName}  ( ${custom.year} )
                
"${desc}"

${lang.images}:  {binding:total}
            </text>
            
		</text>

<!----------------------------------------------------------------------------------------------------------------------------------------------------->
<!--VIDEOS-->
<!----------------------------------------------------------------------------------------------------------------------------------------------------->
		<text name="systemInfoEx" extra="true" if="{custom.type} == 'videos'">
			
            <text>${system.fullName}
                
"${desc}"

${lang.videos}:  {binding:total}
            </text>
            
			<text if="{system.releaseYearOrNull} >= '1958'">${system.fullName}  ( ${system.releaseYearOrNull} )
                
"${desc}"

${lang.videos}:  {binding:total}
            </text>
            
			<text if="${custom.year} >= '1958'">${system.fullName}  ( ${custom.year} )
                
"${desc}"

${lang.videos}:  {binding:total}
            </text>
            
		</text>

<!----------------------------------------------------------------------------------------------------------------------------------------------------->
<!--MUSIC-->
<!----------------------------------------------------------------------------------------------------------------------------------------------------->

        <text name="systemInfoEx" extra="true" if="{custom.type} == 'music'">
            
			<text>${system.fullName}
                
"${desc}"

${lang.music}:  {binding:total}
            </text>
            
			<text if="{system.releaseYearOrNull} >= '1958'">${system.fullName}  ( ${system.releaseYearOrNull} )
                
"${desc}"

${lang.music}:  {binding:total}
            </text>
            
			<text if="${custom.year} >= '1958'">${system.fullName}  ( ${custom.year} )
                
"${desc}"

${lang.music}:  {binding:total}
            </text>
            
		</text>

<!----------------------------------------------------------------------------------------------------------------------------------------------------->
<!--INDIVIDUAL PORTS-->
<!----------------------------------------------------------------------------------------------------------------------------------------------------->

        <text name="systemInfoEx" extra="true" if="{custom.type} == 'port'">

            <text if="{system.releaseYear} >= '1958'">${system.fullName}  ( ${system.releaseYear} )
                
"${desc}"

${lang.lastPlayedDate}:  {binding:lastPlayedDate}
            </text>

            <text if="{system.releaseYear} <= '1957'">${system.fullName}
                
"${desc}"

${lang.lastPlayedDate}:  {binding:lastPlayedDate}
            </text>

			<text if="${custom.year} >= '1958'">${system.fullName}  ( ${custom.year} )
                
"${desc}"

${lang.music}:  {binding:total}
            </text>
 
        </text>

<!----------------------------------------------------------------------------------------------------------------------------------------------------->
<!--PINBALLS-->
<!----------------------------------------------------------------------------------------------------------------------------------------------------->

        <text name="systemInfoEx" extra="true" if="{custom.type} == 'pinball' || {system.hardwareType} == 'pinball'">

		<!--year null-->
            <text>${system.fullName}
                
"${desc}"

${lang.tables}:  {binding:total}
${lang.favorites}:  {binding:favorites}
${lang.tablesPlayed}:  {binding:gamesPlayed}
${lang.mostPlayedTable}:  {binding:mostPlayed}
${lang.lastPlayedDate}:  {binding:lastPlayedDate}
            </text>

		<!--year available-->
            <text if="{system.releaseYearOrNull} >= '1958'">${system.fullName}  ( ${system.releaseYearOrNull} )
                
"${desc}"

${lang.tables}:  {binding:total}
${lang.favorites}:  {binding:favorites}
${lang.tablesPlayed}:  {binding:gamesPlayed}
${lang.mostPlayedTable}:  {binding:mostPlayed}
${lang.lastPlayedDate}:  {binding:lastPlayedDate}
            </text>

		<!--year added in customs-->
            <text if="${custom.year} >= '1958'">${system.fullName}  ( ${custom.year} )
                
"${desc}"

${lang.tables}:  {binding:total}
${lang.favorites}:  {binding:favorites}
${lang.tablesPlayed}:  {binding:gamesPlayed}
${lang.mostPlayedTable}:  {binding:mostPlayed}
${lang.lastPlayedDate}:  {binding:lastPlayedDate}
            </text>

        </text>

		<!--vertical carousels pos-->
		<text name="systemInfoEx" extra="true" ifSubset="carousel:vertical|wheel">
			<pos>0.61 0.405</pos>
			<x ifSubset="carousel:vertical|wheel,bands:no">0.7098958333333333</x>
		</text>

    </view>

    <include>./../_rcbxCustom/extendedInfos/${system.theme}_replace.xml</include>
	<include ifArch="windows">./../../../../../_rcbxCustom/extendedInfos/${system.theme}_replace.xml</include>
	<include ifNotArch="windows">./../../../_rcbxCustom/extendedInfos/${system.theme}_replace.xml</include>
</theme>