forked from Jetup13/es-theme-switch
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy paththeme.xml
More file actions
254 lines (217 loc) · 9.65 KB
/
theme.xml
File metadata and controls
254 lines (217 loc) · 9.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
<!--
theme name: Switch
version: 3.0
author: Lilbud
email: bvw20002010@gmail.com
license: creative commons CC-BY-NC-SA
based on: Switch Theme for Launchbox by Grila
-->
<theme defaultView="grid">
<formatVersion>7</formatVersion>
<include>./settings/16_9.xml</include>
<!--Variables such as theme configuration or font-->
<variables>
<mainFont>./assets/A-OTF UD Shin Go Pro R.ttf</mainFont>
<subset.colorset>Theme Color</subset.colorset>
<logoSubsetName>Choose Logo set</logoSubsetName>
<ESMenuSubsetName>Choose Emulationstation That's In Use</ESMenuSubsetName>
<blinkBorderSubsetName>Blinking borders</blinkBorderSubsetName>
<hidesystemnameSubsetName>Show system name</hidesystemnameSubsetName>
<gamelistviewSubsetName>Change gamelist viewpoint</gamelistviewSubsetName>
<descriptionSubsetName>Show description</descriptionSubsetName>
<uppercaseSubsetName>Uppercase system name</uppercaseSubsetName>
<topandbottomlineSubsetName>Show top and bottom line </topandbottomlineSubsetName>
<uppercasegamelistSubsetName>Uppercase gamelist</uppercasegamelistSubsetName>
<helpSubsetName>Show on-screen help</helpSubsetName>
<videoboxesSubsetName>Videos</videoboxesSubsetName>
</variables>
<!----------------------------------->
<!--Gamelist view options-->
<view name="system, basic, detailed, video, grid">
<helpsystem name="help">
<textColor>22222200</textColor>
<iconColor>22222200</iconColor>
<pos>1 1</pos>
</helpsystem>
<image name="background" extra="true">
<pos>0 0</pos>
<tile>true</tile>
<origin>0 0</origin>
<size>1 1</size>
<path>./assets/box.png</path>
<zIndex>-100</zIndex>
</image>
</view>
<view name="basic, detailed, video">
<textlist name="gamelist">
<fontPath>${mainFont}</fontPath>
<scrollSound>./assets/Move.wav</scrollSound>
<selectSound>./assets/GameSelect.wav</selectSound>
<horizontalMargin>0.01</horizontalMargin>
<lineSpacing>2.3</lineSpacing>
</textlist>
<image name="logo">
<color>00000000</color>
<path>./assets/box.png</path>
<pos>1 1</pos>
</image>
<text name="md_lbl_releasedate, md_lbl_developer, md_lbl_genre, md_lbl_players, md_lbl_lastplayed, md_lbl_playcount, md_developer, md_genre, md_players, md_playcount, md_releasedate, md_description" extra="true">
<forceUppercase>0</forceUppercase>
<fontSize>0.028</fontSize>
<fontPath>${mainFont}</fontPath>
</text>
<text name="md_lbl_lastplayed, md_lbl_publisher, md_publsher, md_lbl_rating, md_lbl_playcount, md_playcount">
<pos>1 1</pos>
</text>
</view>
<view name="detailed, video">
<textlist name="gamelist">
<alignment>left</alignment>
<selectorImagePath>./assets/selector.png</selectorImagePath>
<selectorOffsetY>-0.008</selectorOffsetY>
</textlist>
</view>
<view name="basic">
<textlist name="gamelist">
<pos>0.04 0.182</pos>
<size>0.924 0.69</size>
<alignment>center</alignment>
</textlist>
</view>
<!--System Options (When choosing system to select)-->
<feature supported="carousel">
<view name="system">
<carousel name="systemcarousel">
<type>horizontal</type>
<pos>0 0.3</pos>
<size>1 .4</size>
<color>00000000</color>
<logoScale>1</logoScale>
<logoSize>0.234 0.397</logoSize>
<maxLogoCount>3.5</maxLogoCount>
<scrollSound>./assets/Move.wav</scrollSound>
</carousel>
<text name="systemInfo">
<backgroundColor>dddddd00</backgroundColor>
<forceUppercase>0</forceUppercase>
<fontSize>0.03</fontSize>
<pos>0.5 0.75</pos>
<origin>0.5 0.5</origin>
<forceUppercase>0</forceUppercase>
<fontPath>./assets/A-OTF UD Shin Go Pro R.ttf</fontPath>
</text>
</view>
</feature>
<!--Video Options-->
<!--Gridview Options-->
<view name="grid">
<imagegrid name="gamegrid">
<margin>0.050 0.010</margin>
<pos>0.025 0.10</pos>
<size>0.950 0.84</size>
<scrollDirection>horizontal</scrollDirection>
<autoLayout>3 1</autoLayout>
<autoLayoutSelectedZoom>1.00</autoLayoutSelectedZoom>
<centerSelection>true</centerSelection>
<scrollLoop>true</scrollLoop>
<scrollSound>./assets/Move.wav</scrollSound>
</imagegrid>
<text name="gridtile">
<color>FFFFFF</color>
<backgroundColor>00000000</backgroundColor>
<fontPath>./assets/A-OTF UD Shin Go Pro R.ttf</fontPath>
<fontSize>0.030</fontSize>
<alignment>center</alignment>
<glowColor>00000060</glowColor>
<glowSize>1</glowSize>
<visible>false</visible>
</text>
<text name="md_name">
<pos>0.034 0.05</pos>
<fontPath>./assets/A-OTF UD Shin Go Pro R.ttf</fontPath>
<fontSize>0.030</fontSize>
<size>0.92 0.10</size>
<alignment>left</alignment>
</text>
<image name="logo">
<color>00000000</color>
<path>./assets/box.png</path>
<pos>1 1</pos>
</image>
<gridtile name="default">
<backgroundColor>FFFFFF00</backgroundColor>
<backgroundCornerSize>9 9</backgroundCornerSize>
<selectionMode>image</selectionMode>
<padding>5 5</padding>
</gridtile>
</view>
<view name="screen">
<controllerActivity name="controllerActivity">
<visible>false</visible>
</controllerActivity>
</view>
<!-- Subset options for theme color. Links to variables -->
<subset name="colorset" displayName="${subset.colorset}">
<include name="dark" displayName="${dark}">./settings/colors/dark.xml</include>
<include name="light" displayName="${light}">./settings/colors/light.xml</include>
<include name="black" displayName="${black}">./settings/colors/black.xml</include>
</subset>
<!-- Subset options for help buttons. Links to variables -->
<subset name="logos" displayName="${logoSubsetName}">
<include name="normal" displayName="${normal}">./settings/logos/normallogos.xml</include>
<include name="generic" displayName="${generic}">./settings/logos/genericlogos.xml</include>
</subset>
<subset name="ES Menu" displayName="${ESMenuSubsetName}">
<include name="header" displayName="${header}">./settings/esmenu/header.xml</include>
<include name="fullscreen" displayName="${fullscreen}">./settings/esmenu/fullscreen.xml</include>
</subset>
<!-- Subset options for grid view blinking border colors. Links to variables -->
<subset name="blinkborders" displayName="${blinkBorderSubsetName}" appliesTo="grid">
<include name="no" displayName="${no}"/>
<include name="normal" displayName="${normal}">./settings/gridview/blinkcolors/normal.xml</include>
<include name="dark" displayName="${dark}">./settings/gridview/blinkcolors/dark.xml</include>
<include name="white" displayName="${white}">./settings/gridview/blinkcolors/white.xml</include>
<include name="black" displayName="${black}">./settings/gridview/blinkcolors/black.xml</include>
<include name="red" displayName="${red}">./settings/gridview/blinkcolors/red.xml</include>
<include name="blue" displayName="${blue}">./settings/gridview/blinkcolors/blue.xml</include>
<include name="yellow" displayName="${yellow}">./settings/gridview/blinkcolors/yellow.xml</include>
</subset>
<!-- Subset options for various system views and fonts. Links to variables -->
<subset name="hidesystemnameSubsetName" displayName="${hidesystemnameSubsetName}">
<include name="on" displayName="${on}">./settings/systemname/systemname.xml</include>
<include name="off" displayName="${off}"/>
</subset>
<subset name="gamelistview" displayName="${gamelistviewSubsetName}" appliesTo="detailed, video">
<include name="one" displayName="${one}">./settings/gamelist/gamelistview1.xml</include>
<include name="two" displayName="${two}">./settings/gamelist/gamelistview2.xml</include>
</subset>
<subset name="description" displayName="${descriptionSubsetName}" appliesTo="detailed, video">
<include name="no" displayName="${no}">./settings/descriptions/descriptionoff.xml</include>
<include name="yes" displayName="${yes}">./settings/descriptions/descriptionon.xml</include>
</subset>
<subset name="uppercasesystem" displayName="${uppercaseSubsetName}">
<include name="no" displayName="${no}"/>
<include name="yes" displayName="${yes}">./settings/systemname/systemnameuppercase.xml</include>
</subset>
<subset name="topandbottomline" displayName="${topandbottomlineSubsetName}">
<include name="no" displayName="${no}"/>
<include name="yes" displayName="${yes}">./settings/topandbottomline.xml</include>
</subset>
<subset name="uppercasegamelist" displayName="${uppercasegamelistSubsetName}" appliesTo="detailed, video, basic">
<include name="no" displayName="${no}"/>
<include name="yes" displayName="${yes}">./settings/gamelist/gamelistup.xml</include>
</subset>
<!-- Subset options for help buttons. Links to variables -->
<subset name="help" displayName="${helpSubsetName}">
<include name="no" displayName="${off}"/>
<include name="xb buttons" displayName="${xb buttons}">./settings/helpbuttons.xml</include>
<include name="ps buttons" displayName="${ps buttons}">./settings/helpbuttonsps.xml</include>
</subset>
<!-- Subset options for grid views. Links to variables -->
<subset name="videoboxes" displayName="${videoboxesSubsetName}" appliesTo="grid">
<include name="off" displayName="${off}"/>
<include name="video in box" displayName="${box}">./settings/gridview/gridvideos.xml</include>
<include name="video in background" displayName="${video back}">./settings/gridview/backgroundgridvideos.xml</include>
<include name="video fade in" displayName="${fade in video}">./settings/gridview/fadegridvideos.xml</include>
</subset>
</theme>