Where can you change the position of the Games Available in a theme
-
Ok, I've looked hi and lo, I keep getting pointed to the help files for themes but NOWHERE is there a definitive answer as to where the code is to move/re-position the Games Available on the main screen. This should have been simple but it is frustrating the bejeebies outta me.
Any and all help appreciated.
Cheers.
-
I've never developed a theme before, but looking at other people's theme xml I think I found what section you want.
<text name="systemInfo"> <pos>0.010 0.930</pos> <size>0.980 0.050</size> <backgroundColor>FFFFFF00</backgroundColor> <color>FFFFFF</color> <fontPath>./_inc/font/Roboto-Light.ttf</fontPath> <fontSize>0.025</fontSize> </text>
It's inside this xml file: https://github.com/mattrixk/es-toolkit/blob/master/emulationstation/.emulationstation/themes/basevid/basevid.xml
If you want to see an example of where the text gets displayed. There are images on the main page: https://github.com/mattrixk/es-toolkit/tree/master/emulationstation/.emulationstation/themes/basevid
Good Luck!
-
@hurricanefan Thanks, I saw that part of the code, but it didn't seem to be connected to the 'games available' in any way that I could ascertain. I will give it a try.
-
@tanstaafl Try changing the
<pos>
value to something else to see if Games Available moves in your theme. :) -
@hurricanefan I kinda figured that, but it made no difference no matter how I set the pos. Somebody has to know where in the code that is set.. I would hate to think I need to systematically change ever <pos> tag to see what happens.
-
@tanstaafl The answer that @HurricaneFan posted is correct. Can you post your xml so we can see if something else is wrong?
-
@tanstaafl After you change the values make sure you do two things. 1. Save the change. 2. Reload emulationstation. As previously said this is most definitely the element in the xml that controls the "games available" text.
-
@jonnykesh I understand you need to save them after modifying, I also didn't just reload es, I rebooted the system. Several times. Tried three different themes, tried various <pos> settings, never any change so I am obviously doing something wrong.
Here is the code I am attempting to modify:
<?xml version="1.0" encoding="UTF-8"?>
<theme>
<formatVersion>4</formatVersion><feature supported="carousel">
<view name="system">
<carousel name="systemcarousel">
<type>vertical</type>
<pos>0 0.020</pos>
<size>0.200 0.890</size>
<logoScale>1.1</logoScale>
<logoSize>0.15 0.180</logoSize>
<color>00000000</color>
<maxLogoCount>7</maxLogoCount>
</carousel><text name="systemInfo"> <pos>0.4 0.02</pos> <backgroundColor>00000000</backgroundColor> <color>FFFFFF</color> <fontPath>./_inc/fonts/OpenSans-Bold.ttf</fontPath> <fontSize>0.025</fontSize> </text>
</view>
</feature> -
@tanstaafl What version of Emulationstation are you using?
-
@tanstaafl Here is an xml from one of mine. You seem to be missing the <size> tag. I don't see how that would change things but add it and see.
<text name="systemInfo"> <pos>0.010 0.637</pos> <size>0.98 0.050</size> <backgroundColor>ffffff00</backgroundColor> <color>ffffffcc</color> <fontPath>./_resources/Roboto-Regular.ttf</fontPath> <fontSize>0.03</fontSize> </text>
-
@hurricanefan Ha, good point. Which version of ES? It is a relatively new addition.
-
@hurricanefan Well, it seems you had the answer all the time. I am not sure what was causing it, but I restored an image I had made of my SD, made the change and it now works. Not a clue. I had checked the permissions, moved, copied, spit at it, everything I could think of and it didn't affect the screen. Did a restore, and viola!! It works.
Thanks to everyone for your help!!
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.