Skip to content

Commit

Permalink
- Moved things around in _inc/templates to allow this theme to supp…
Browse files Browse the repository at this point in the history
…ort both Recalbox/Batocera and RetroPie.

 - Templates are split in to `_inc/templates/recalbox` and
`_inc/templates/retropie`. See the customizing layout section in
README.md.
- Added a 16x9-no_desc.xml template for RetroPie.
- Adjusted `retropie/theme.xml` to disable aditional md_lbl elements
that would appear in 16x9-no_desc.xml template.
  • Loading branch information
asdfgasfhsn committed Aug 20, 2017
1 parent 2abab3f commit 10a79da
Show file tree
Hide file tree
Showing 15 changed files with 1,080 additions and 93 deletions.
31 changes: 22 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
# BatoCRT, an EmulationStation theme for Recalbox/Batocera
A simple EmulationStation theme for Recalbox/Batocera. Bbased on the CRT theme by Anthony that was originally based on the Carbon theme by Eric Hettervik; then tweaked to work with Recalbox/Batocera.
# BatoCRT, an EmulationStation theme for Recalbox/Batocera/RetroPie
A simple EmulationStation theme for Recalbox/Batocera/RetroPie. Based on the CRT theme by Anthony that was originally based on the Carbon theme by Eric Hettervik; then tweaked to work with Recalbox/Batocera.

---

### Updates

*20/08/2017*
- Moved things around in `_inc/templates` to allow this theme to support both Recalbox/Batocera and RetroPie.
- Templates are split in to `_inc/templates/recalbox` and `_inc/templates/retropie`. See the [customizing layout section](#customizing-layout) below.
- Added a 16x9-no_desc.xml template for RetroPie.
- Adjusted `retropie/theme.xml` to disable aditional md_lbl elements that would appear in 16x9-no_desc.xml template.

*07/08/2017*
- Initial fork and edit of CRT Theme.
- Removed unsupport ES theme items such as video/z-index/etc as they do not work in Recalbox/Batocera.
Expand Down Expand Up @@ -34,7 +40,7 @@ TBC
### Installation
Copy the theme directory to `\\RECALBOX\share\system\.emulationstation\themes\` and then select the theme in the UI settings menu.

### Customizing layout
### Customizing Layout
In `theme.xml` you can uncomment the layout template you wish to use. The default layout is 16x9 with no bezel.

~~~
Expand All @@ -43,13 +49,20 @@ In `theme.xml` you can uncomment the layout template you wish to use. The defaul
<!--
Uncomment the template vesion below that you want to use...
-->
<!-- This Section for Recalbox/Batocera templates... -->
<!-- <include>./_inc/templates/recalbox/4x3.xml</include> -->
<!-- <include>./_inc/templates/recalbox/16x9-no_desc.xml</include> -->
<!-- <include>./_inc/templates/recalbox/16x10.xml</include> -->
<!-- <include>./_inc/templates/recalbox/4x3-bezel.xml</include> -->
<!-- <include>./_inc/templates/recalbox/16x9-bezel.xml</include> -->
<!-- <include>./_inc/templates/recalbox/16x10-bezel.xml</include> -->
<!-- <include>./_inc/templates/4x3.xml</include> -->
<include>./_inc/templates/16x9.xml</include>
<!-- <include>./_inc/templates/16x10.xml</include> -->
<!-- <include>./_inc/templates/4x3-bezel.xml</include> -->
<!-- <include>./_inc/templates/16x9-bezel.xml</include> -->
<!-- <include>./_inc/templates/16x10-bezel.xml</include> -->
<!-- This Section for RetroPie templates... -->
<!-- <include>./_inc/templates/retropie/4x3.xml</include> -->
<!-- <include>./_inc/templates/retropie/16x9.xml</include> -->
<include>./_inc/templates/retropie/16x9-no_desc.xml</include>
<!-- <include>./_inc/templates/retropie/16x10.xml</include> -->
</theme>
~~~

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<pos>0 0</pos>
<size>1 1</size>
<tile>true</tile>
<path>./../images/background.png</path>
<path>./../../images/background.png</path>
</image>
</view>

Expand All @@ -29,10 +29,10 @@
<selectedColor>bba358</selectedColor>
<primaryColor>eaeaea</primaryColor>
<secondaryColor>eaeaea</secondaryColor>
<fontPath>./../fonts/Cabin-Bold-TTF.ttf</fontPath>
<fontPath>./../../fonts/Cabin-Bold-TTF.ttf</fontPath>
<fontSize>0.03375</fontSize>
<forceUppercase>1</forceUppercase>
<scrollSound>./../sounds/select.wav</scrollSound>
<scrollSound>./../../sounds/select.wav</scrollSound>
<alignment>center</alignment>
</textlist>
</view>
Expand All @@ -46,28 +46,28 @@
</datetime>
<text name="md_description,md_lastplayed,md_lbl_lastplayed,md_lbl_players,md_players,md_releasedate,md_genre">
<color>555555</color>
<fontPath>./../fonts/Cabin-Bold-TTF.ttf</fontPath>
<fontPath>./../../fonts/Cabin-Bold-TTF.ttf</fontPath>
<fontSize>0.02</fontSize>
</text>

<rating name="md_rating">
<pos>0.2015625 0.58</pos>
<size>0.2515625 0.025</size>
<filledPath>./../images/star_filled.svg</filledPath>
<unfilledPath>./../images/star_empty.svg</unfilledPath>
<filledPath>./../../images/star_filled.svg</filledPath>
<unfilledPath>./../../images/star_empty.svg</unfilledPath>
</rating>
<image name="md_hidden">
<origin>0 0</origin>
<pos>0.390625 0.58</pos>
<maxSize>0.02109375 0.025</maxSize>
<path>./../images/hidden.svg</path>
<path>./../../images/hidden.svg</path>
<color>bba35880</color>
</image>
<image name="md_kidgame">
<origin>0 0</origin>
<pos>0.4171875 0.58</pos>
<maxSize>0.0125 0.025</maxSize>
<path>./../images/kid.svg</path>
<path>./../../images/kid.svg</path>
<color>bba35880</color>
</image>
<text name="md_lbl_favorite">
Expand All @@ -84,7 +84,7 @@
<origin>0 0</origin>
<pos>0.2015625 0.63</pos>
<maxSize>0.00703125 0.025</maxSize>
<path>./../images/metadata.svg</path>
<path>./../../images/metadata.svg</path>
</image>
<text name="md_lbl_lastplayed">
<pos>0.21015625 0.63</pos>
Expand All @@ -99,7 +99,7 @@
<origin>0 0</origin>
<pos>0.2015625 0.6675</pos>
<maxSize>0.00703125 0.025</maxSize>
<path>./../images/metadata.svg</path>
<path>./../../images/metadata.svg</path>
</image>
<text name="md_lbl_players">
<pos>0.21015625 0.6675</pos>
Expand All @@ -114,7 +114,7 @@
<origin>0 0</origin>
<pos>0.2859375 0.6675</pos>
<maxSize>0.00703125 0.025</maxSize>
<path>./../images/metadata.svg</path>
<path>./../../images/metadata.svg</path>
</image>
<datetime name="md_releasedate">
<pos>0.29453125 0.6675</pos>
Expand All @@ -125,7 +125,7 @@
<origin>0 0</origin>
<pos>0.3703125 0.6675</pos>
<maxSize>0.00703125 0.025</maxSize>
<path>./../images/metadata.svg</path>
<path>./../../images/metadata.svg</path>
</image>
<text name="md_genre">
<pos>0.37890625 0.6675</pos>
Expand All @@ -152,7 +152,7 @@
<origin>0.5 0.5</origin>
<pos>0.32734375 0.38</pos>
<maxSize>0.2671875 0.3275</maxSize>
<path>./../images/crt-bezel.svg</path>
<path>./../../images/crt-bezel.svg</path>
</image>
<image name="md_image">
<origin>0.5 0.5</origin>
Expand All @@ -163,7 +163,7 @@
<origin>0.5 0.5</origin>
<pos>0.32734375 0.38</pos>
<maxSize>0.25 0.3</maxSize>
<path>./../images/crt-screen.svg</path>
<path>./../../images/crt-screen.svg</path>
</image>
</view>

Expand Down
24 changes: 12 additions & 12 deletions _inc/templates/16x10.xml → _inc/templates/recalbox/16x10.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<pos>0 0</pos>
<size>1 1</size>
<tile>true</tile>
<path>./../images/background.png</path>
<path>./../../images/background.png</path>
</image>
</view>

Expand All @@ -29,10 +29,10 @@
<selectedColor>bba358</selectedColor>
<primaryColor>eaeaea</primaryColor>
<secondaryColor>eaeaea</secondaryColor>
<fontPath>./../fonts/Cabin-Bold-TTF.ttf</fontPath>
<fontPath>./../../fonts/Cabin-Bold-TTF.ttf</fontPath>
<fontSize>0.03375</fontSize>
<forceUppercase>1</forceUppercase>
<scrollSound>./../sounds/select.wav</scrollSound>
<scrollSound>./../../sounds/select.wav</scrollSound>
<alignment>center</alignment>
</textlist>
</view>
Expand All @@ -46,28 +46,28 @@
</datetime>
<text name="md_description,md_lastplayed,md_lbl_lastplayed,md_lbl_players,md_players,md_releasedate,md_genre">
<color>555555</color>
<fontPath>./../fonts/Cabin-Bold-TTF.ttf</fontPath>
<fontPath>./../../fonts/Cabin-Bold-TTF.ttf</fontPath>
<fontSize>0.02</fontSize>
</text>

<rating name="md_rating">
<pos>0.2015625 0.58</pos>
<size>0.2515625 0.025</size>
<filledPath>./../images/star_filled.svg</filledPath>
<unfilledPath>./../images/star_empty.svg</unfilledPath>
<filledPath>./../../images/star_filled.svg</filledPath>
<unfilledPath>./../../images/star_empty.svg</unfilledPath>
</rating>
<image name="md_hidden">
<origin>0 0</origin>
<pos>0.390625 0.58</pos>
<maxSize>0.02109375 0.025</maxSize>
<path>./../images/hidden.svg</path>
<path>./../../images/hidden.svg</path>
<color>bba35880</color>
</image>
<image name="md_kidgame">
<origin>0 0</origin>
<pos>0.4171875 0.58</pos>
<maxSize>0.0125 0.025</maxSize>
<path>./../images/kid.svg</path>
<path>./../../images/kid.svg</path>
<color>bba35880</color>
</image>
<text name="md_lbl_favorite">
Expand All @@ -84,7 +84,7 @@
<origin>0 0</origin>
<pos>0.2015625 0.63</pos>
<maxSize>0.00703125 0.025</maxSize>
<path>./../images/metadata.svg</path>
<path>./../../images/metadata.svg</path>
</image>
<text name="md_lbl_lastplayed">
<pos>0.21015625 0.63</pos>
Expand All @@ -99,7 +99,7 @@
<origin>0 0</origin>
<pos>0.2015625 0.6675</pos>
<maxSize>0.00703125 0.025</maxSize>
<path>./../images/metadata.svg</path>
<path>./../../images/metadata.svg</path>
</image>
<text name="md_lbl_players">
<pos>0.21015625 0.6675</pos>
Expand All @@ -114,7 +114,7 @@
<origin>0 0</origin>
<pos>0.2859375 0.6675</pos>
<maxSize>0.00703125 0.025</maxSize>
<path>./../images/metadata.svg</path>
<path>./../../images/metadata.svg</path>
</image>
<datetime name="md_releasedate">
<pos>0.29453125 0.6675</pos>
Expand All @@ -125,7 +125,7 @@
<origin>0 0</origin>
<pos>0.3703125 0.6675</pos>
<maxSize>0.00703125 0.025</maxSize>
<path>./../images/metadata.svg</path>
<path>./../../images/metadata.svg</path>
</image>
<text name="md_genre">
<pos>0.37890625 0.6675</pos>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<pos>0 0</pos>
<size>1 1</size>
<tile>true</tile>
<path>./../images/background.png</path>
<path>./../../images/background.png</path>
</image>
</view>

Expand All @@ -28,10 +28,10 @@
<selectedColor>bba358</selectedColor>
<primaryColor>eaeaea</primaryColor>
<secondaryColor>eaeaea</secondaryColor>
<fontPath>./../fonts/Cabin-Bold-TTF.ttf</fontPath>
<fontPath>./../../fonts/Cabin-Bold-TTF.ttf</fontPath>
<fontSize>0.0375</fontSize>
<forceUppercase>1</forceUppercase>
<scrollSound>./../sounds/select.wav</scrollSound>
<scrollSound>./../../sounds/select.wav</scrollSound>
<alignment>center</alignment>
</textlist>
</view>
Expand All @@ -45,27 +45,27 @@
</datetime>
<text name="md_description,md_lastplayed,md_lbl_lastplayed,md_lbl_players,md_players,md_releasedate,md_genre">
<color>555555</color>
<fontPath>./../fonts/Cabin-Bold-TTF.ttf</fontPath>
<fontPath>./../../fonts/Cabin-Bold-TTF.ttf</fontPath>
<fontSize>0.0222222222222222</fontSize>
</text>
<rating name="md_rating">
<pos>0.2015625 0.5888888888888889</pos>
<size>0.2515625 0.0277777777777778</size>
<filledPath>./../images/star_filled.svg</filledPath>
<unfilledPath>./../images/star_empty.svg</unfilledPath>
<filledPath>./../../images/star_filled.svg</filledPath>
<unfilledPath>./../../images/star_empty.svg</unfilledPath>
</rating>
<image name="md_hidden">
<origin>0 0</origin>
<pos>0.390625 0.5888888888888889</pos>
<maxSize>0.02109375 0.0277777777777778</maxSize>
<path>./../images/hidden.svg</path>
<path>./../../images/hidden.svg</path>
<color>bba35880</color>
</image>
<image name="md_kidgame">
<origin>0 0</origin>
<pos>0.4171875 0.5888888888888889</pos>
<maxSize>0.0125 0.0277777777777778</maxSize>
<path>./../images/kid.svg</path>
<path>./../../images/kid.svg</path>
<color>bba35880</color>
</image>
<text name="md_lbl_favorite">
Expand All @@ -83,7 +83,7 @@
<origin>0 0</origin>
<pos>0.2015625 0.6444444444444444</pos>
<maxSize>0.00703125 0.0277777777777778</maxSize>
<path>./../images/metadata.svg</path>
<path>./../../images/metadata.svg</path>
</image>
<text name="md_lbl_lastplayed">
<pos>0.21015625 0.6444444444444444</pos>
Expand All @@ -98,7 +98,7 @@
<origin>0 0</origin>
<pos>0.2015625 0.6861111111111111</pos>
<maxSize>0.00703125 0.0277777777777778</maxSize>
<path>./../images/metadata.svg</path>
<path>./../../images/metadata.svg</path>
</image>
<text name="md_lbl_players">
<pos>0.21015625 0.6861111111111111</pos>
Expand All @@ -113,7 +113,7 @@
<origin>0 0</origin>
<pos>0.2859375 0.6861111111111111</pos>
<maxSize>0.00703125 0.0277777777777778</maxSize>
<path>./../images/metadata.svg</path>
<path>./../../images/metadata.svg</path>
</image>
<datetime name="md_releasedate">
<pos>0.29453125 0.6861111111111111</pos>
Expand All @@ -124,7 +124,7 @@
<origin>0 0</origin>
<pos>0.3703125 0.6861111111111111</pos>
<maxSize>0.00703125 0.0277777777777778</maxSize>
<path>./../images/metadata.svg</path>
<path>./../../images/metadata.svg</path>
</image>
<text name="md_genre">
<pos>0.37890625 0.6861111111111111</pos>
Expand All @@ -151,7 +151,7 @@
<origin>0.5 0.5</origin>
<pos>0.32734375 0.3666666666666667</pos>
<maxSize>0.2671875 0.3638888888888889</maxSize>
<path>./../images/crt-bezel.svg</path>
<path>./../../images/crt-bezel.svg</path>
</image>
<image name="md_image">
<origin>0.5 0.5</origin>
Expand All @@ -162,7 +162,7 @@
<origin>0.5 0.5</origin>
<pos>0.32734375 0.3666666666666667</pos>
<maxSize>0.25 0.3333333333333333</maxSize>
<path>./../images/crt-screen.svg</path>
<path>./../../images/crt-screen.svg</path>
</image>
</view>

Expand Down
Loading

0 comments on commit 10a79da

Please sign in to comment.