Solution for ES Tate theme ?
-
Hello,
I would want to display verticaly my ES Theme for TATE mode. But since the "rotate_display" parameter in pi config is not the best way to keep good perfs, I would want to rotate game in retroarch only and just adapt my theme vertical friendly to another one. But how I can make that : It seems it's impossible to rotate text and textlist with the currents properties as we can do with image ?
Is there another way to display ES vertically or I must use attract mode instead of ?
Thanks -
EmulationStation can be rotated, just like RetroArch. Use the
--rotate <x>
parameter (wherex
is 1 to 3, each unit adding a 90 deg rotation) and adjust the size using the--resolution <w> <h>
parameter. -
Thanks ! The syntaxe is --screenrotate , it work well even I don't success to center vertically my theme for the moment.
It is a pity that the <origin>0.5 0.5</origin> value of the theme elements indicating the want a position relative to center on screen seems doesn't take account of the ES rotation... -
@Vlad said in Solution for ES Tate theme ?:
It is a pity that the <origin>0.5 0.5</origin> value of the theme elements indicating the want a position relative to center on screen seems doesn't take account of the ES rotation...
I think you're misunderstanding what <origin> does.
Origin sets the point on the image that ES will use position it, it's not in relation to the centre of the screen.For example
<origin>0 0</origin> the top left corner will be used.
<origin>0.5 0.5</origin> the centre of the image will be used.
<origin>1 1</origin> the bottom right will be used.When you use the <pos> tags you're telling ES where to position the image but in relation to the origin you have set.
So if you wanted an image centred on the screen one way to do that would be to set the origin to <origin>0.5 0.5</origin> and the pos to <pos>0.5 0.5</pos>. This tells ES to use the centre of the image as the control point and to place it in the centre of the screen.
If you instead had <origin>0.5 0.5</origin> and <pos>0 0</pos> this would still tell ES to use the centre of the image as the control point but it would position it in the top left corner. This would result in the centre of you image being placed at the top left so only the bottom right corner of the image would be on screen.
I hope that isn't too confusing, it's probably easier to understand if you experiment with the <origin> and <pos> values to see what actually happens.
-
Thanks for the explanation but no mistake, all my "full screen" elements are with origin and pos at 0,5 for x and y. In horizontal view (no rotate) all are centered.
And because ES keep the aspect ratio in rotate mode, it would just be nice if the same theme would have been perfectly centered too once rotated . Instead of ,my theme is completly diplay at the right (or on top if you prefer if you look as tate) and with white area out the viewport. So, the position <0.5 0.5> is not relative to screen but still relative to the viewport resolution I think..
If there is no offset or position parameter, I understand it need to change resolution too, to fit full screen. But in this case, it need a complete reconfigured theme too (it's not a hard work). Whereas the exact same theme as I can see rotated but simply centered and with custom color background would be perfect for me.
But I have the solution for what I want with rotation possibility thanks! -
@Vlad I think the issue may be that you are not using the proper combination of arguments to rotate ES properly. You need to use
--screensize
not--resolution
.--resolution
controls the size of the display area, where as--screensize
controls how ES is rendered within the display area.If you are running fullscreen,
--resolution
typically isn't necessary, as it will be auto detected. It is more useful if you are running with--windowed
and want the window to be smaller than your screen.For example, if you want to run ES at 720x1280 you would do the following
./emulationstation --screensize 720 1280 --screenrotate 1
However, if you are using
--windowed
, you would need to do the following
./emulationstation --resolution 1280 720 --screensize 720 1280 --screenrotate 1
-
@jdrassa thank you , I will try with screensize☺, perhaps it will resolve another pb I have ( when I try to get the larger resolution screen I can on crt (288p) the ratio 4:3 in ES is not respected whereas in 240p it is perfect, I don't understand all yet).
-
--screensize does the job about rotate screen, thanks !
When I ask for emulationstation --help, I don't see some arguments, neither --screensize nor --screenrotate for example are showing... Is there a wiki or other where I can see an exhaustive list of possible arguments ?
-
@Vlad The only place I know of is in the source code.
-
@jdrassa thanks, I was looking for screen offset also. Perfect
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.