• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login

Solution for ES Tate theme ?

Scheduled Pinned Locked Moved Projects and Themes
tateestheme
10 Posts 4 Posters 1.2k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V
    Vlad
    last edited by Vlad 27 Feb 2020, 19:42

    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

    M 1 Reply Last reply 27 Feb 2020, 19:59 Reply Quote 0
    • M
      mitu Global Moderator @Vlad
      last edited by 27 Feb 2020, 19:59

      EmulationStation can be rotated, just like RetroArch. Use the --rotate <x> parameter (where x is 1 to 3, each unit adding a 90 deg rotation) and adjust the size using the --resolution <w> <h> parameter.

      1 Reply Last reply Reply Quote 0
      • V
        Vlad
        last edited by Vlad 28 Feb 2020, 06:07

        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...

        R 1 Reply Last reply 28 Feb 2020, 13:03 Reply Quote 0
        • R
          ruckage @Vlad
          last edited by ruckage 28 Feb 2020, 13:03

          @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.

          SNES mini/Nes mini/Famicom mini theme developer.

          If you'd like to support my work you can donate here: Donate

          1 Reply Last reply Reply Quote 0
          • V
            Vlad
            last edited by Vlad 28 Feb 2020, 15:43

            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!

            1 Reply Last reply Reply Quote 0
            • J
              jdrassa
              last edited by 29 Feb 2020, 04:21

              @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

              Get latest build of EmulationStation for Windows here

              V 1 Reply Last reply 1 Mar 2020, 16:04 Reply Quote 0
              • V
                Vlad @jdrassa
                last edited by 1 Mar 2020, 16:04

                @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).

                1 Reply Last reply Reply Quote 0
                • V
                  Vlad
                  last edited by Vlad 3 Feb 2020, 08:20 2 Mar 2020, 07:41

                  --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 ?

                  J 1 Reply Last reply 2 Mar 2020, 13:34 Reply Quote 0
                  • J
                    jdrassa @Vlad
                    last edited by 2 Mar 2020, 13:34

                    @Vlad The only place I know of is in the source code.

                    Get latest build of EmulationStation for Windows here

                    V 1 Reply Last reply 2 Mar 2020, 20:33 Reply Quote 0
                    • V
                      Vlad @jdrassa
                      last edited by 2 Mar 2020, 20:33

                      @jdrassa thanks, I was looking for screen offset also. Perfect

                      1 Reply Last reply Reply Quote 0
                      10 out of 10
                      • First post
                        10/10
                        Last post

                      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.

                        This community forum collects and processes your personal information.
                        consent.not_received