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

    Long standing ES bugs

    Scheduled Pinned Locked Moved Ideas and Development
    es bugsemultionstationbugs
    57 Posts 6 Posters 19.8k 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.
    • J
      jdrassa @ruckage
      last edited by

      @ruckage Yes it will still scroll the text when the end is chopped off. I did see that bug where it wouldn't scroll sometimes and fixed it. Your guess is correct, it was only considering the full width.

      Get latest build of EmulationStation for Windows here

      ruckageR 1 Reply Last reply Reply Quote 1
      • ruckageR
        ruckage @jdrassa
        last edited by

        @jdrassa said in Long standing ES bugs:

        @ruckage Yes it will still scroll the text when the end is chopped off. I did see that bug where it wouldn't scroll sometimes and fixed it. Your guess is correct, it was only considering the full width.

        Thanks. I really appreciate you fixing this, I wasn't expecting anything so quickly.
        Any idea when these fixes will appear in retropie itself as I know the line spacing bug fix will definitely break my themes as I modified a font to specifically work around it?

        SNES mini/Nes mini/Famicom mini theme developer.

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

        J 1 Reply Last reply Reply Quote 0
        • J
          jdrassa @ruckage
          last edited by

          @ruckage No timeframe yet. Unless it gives me trouble, I was hoping to fix the scaling issue and submit them all together. If you prefer, I can submit the first 2 fixes sooner. Regardless, I will make sure to post a build beforehand so that you can test it out with your theme.

          Get latest build of EmulationStation for Windows here

          ruckageR 1 Reply Last reply Reply Quote 1
          • ruckageR
            ruckage @jdrassa
            last edited by

            @jdrassa said in Long standing ES bugs:

            @ruckage No timeframe yet. Unless it gives me trouble, I was hoping to fix the scaling issue and submit them all together. If you prefer, I can submit the first 2 fixes sooner. Regardless, I will make sure to post a build beforehand so that you can test it out with your theme.

            No need to rush, it's been a problem for a long while so it's just nice to know that it's going to be fixed.
            I'll definitely give the fixed build a test though when it's ready, keep us posted.

            SNES mini/Nes mini/Famicom mini theme developer.

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

            J 1 Reply Last reply Reply Quote 0
            • J
              jdrassa @ruckage
              last edited by

              @ruckage I think I have the scaling issue fixed. I need to clean up the code some and I will get a build for you to test.

              Get latest build of EmulationStation for Windows here

              ruckageR 1 Reply Last reply Reply Quote 4
              • ruckageR
                ruckage @jdrassa
                last edited by

                @jdrassa
                That's great :). I'd be happy to test it.

                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 1
                • J
                  jdrassa
                  last edited by

                  Fixes are ready for testing.

                  I tested it against all of themes that are currently installable through RetroPie-Setup. There are a few that have the side effect of the last entry being cut off slightly. Before I submit this I plan to go through and submit the necessary fixes for those themes.

                  Code is here:
                  https://github.com/jrassa/EmulationStation/tree/gamelist-fixes

                  Windows build can be downloaded here:
                  https://ci.appveyor.com/api/buildjobs/yolhkm014epxeqpk/artifacts/EmulationStation-Win32.zip

                  Get latest build of EmulationStation for Windows here

                  ruckageR 2 Replies Last reply Reply Quote 1
                  • ruckageR
                    ruckage @jdrassa
                    last edited by

                    @jdrassa
                    Fantastic, I'm downloading it now to test, I'll let you know how it goes. I'm expecting my themes to break due to the font hack I'm currently using but that should be an easy fix (just a font change).

                    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
                    • ruckageR
                      ruckage @jdrassa
                      last edited by

                      @jdrassa
                      Sadly seems to have broken my theme. The text now lines up and is spaced exactly as you would expect based on what's in the xml so that's good but the selector bar itself is huge. I've attached a screenshot, before the selector bar would fit within the boxes in the background but now it's much higher than the text and overhangs by a huge margin.

                      0_1496003857754_selector bar.jpg

                      SNES mini/Nes mini/Famicom mini theme developer.

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

                      pjftP J 2 Replies Last reply Reply Quote 0
                      • pjftP
                        pjft @ruckage
                        last edited by

                        @ruckage Complete tangent on this topic, but your theme looks really good!

                        1 Reply Last reply Reply Quote 1
                        • J
                          jdrassa @ruckage
                          last edited by

                          @ruckage I saw that same behavior. I believe the issue is with your font. The font you are using appears to have a some empty space below the actual characters. I assumed that this is what you had to do to work around the bugs. You mentioned this above.

                          @ruckage said in Long standing ES bugs:

                          I know the line spacing bug fix will definitely break my themes as I modified a font to specifically work around it

                          I disabled your custom font and with a little tweaking to the font size and line spacing I got the following.

                          0_1496019385098_Screenshot from 2017-05-28 20-50-58.png

                          Get latest build of EmulationStation for Windows here

                          ruckageR 1 Reply Last reply Reply Quote 0
                          • ruckageR
                            ruckage @jdrassa
                            last edited by ruckage

                            @jdrassa said in Long standing ES bugs:

                            @ruckage I saw that same behavior. I believe the issue is with your font. The font you are using appears to have a some empty space below the actual characters. I assumed that this is what you had to do to work around the bugs. You mentioned this above.

                            @ruckage said in Long standing ES bugs:

                            I know the line spacing bug fix will definitely break my themes as I modified a font to specifically work around it

                            I disabled your custom font and with a little tweaking to the font size and line spacing I got the following.

                            0_1496019385098_Screenshot from 2017-05-28 20-50-58.png

                            Hi, the original font was shifted down below the baseline to make it line up with the selector bar however the screenshot I posted above was with the unedited font. The fonts were designed in bitfontmaker2 which is an online tool for designing pixel fonts.
                            Obviously I need that font as my theme relies on keeping that particular look. Previously the selector bar was the correct size with my font, it just didn't line up with if I altered the line spacing.

                            SNES mini/Nes mini/Famicom mini theme developer.

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

                            J 1 Reply Last reply Reply Quote 0
                            • J
                              jdrassa @ruckage
                              last edited by

                              @ruckage If you can post a link to the unedited font, I can test it out and see what I can come up with. Currently, the height of the selector bar is 1.5 times the size of the text. This corresponds to the default line spacing. Worst case scenario, I may just need to add an additional theme option to make the selector bar size configurable.

                              Get latest build of EmulationStation for Windows here

                              ruckageR 1 Reply Last reply Reply Quote 0
                              • ruckageR
                                ruckage @jdrassa
                                last edited by

                                @jdrassa said in Long standing ES bugs:

                                @ruckage If you can post a link to the unedited font, I can test it out and see what I can come up with. Currently, the height of the selector bar is 1.5 times the size of the text. This corresponds to the default line spacing. Worst case scenario, I may just need to add an additional theme option to make the selector bar size configurable.

                                Thanks. Heres a link to the font : http://www.pentacom.jp/pentacom/bitfontmaker2/gallery/?action=dl&id=2639

                                I actually think having the ability to define the selector bar height would be a real bonus if you could add it - along with an option to change the 'y offset' so that it's vertical position in relation to the text could be set as well. The more we can edit ourselves the better, gives us more freedom with design options.

                                SNES mini/Nes mini/Famicom mini theme developer.

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

                                J 1 Reply Last reply Reply Quote 0
                                • J
                                  jdrassa @ruckage
                                  last edited by

                                  @ruckage I have added <selectorScale>and <selectorOffsetY> options to the textlist. Default values are 1.5 and 0. '<selectorOffsetY>' works like size and position where it is a fractional value based on the screen size.

                                  Updated Windows build:
                                  https://ci.appveyor.com/api/buildjobs/m089lslea07kxe1i/artifacts/EmulationStation-Win32.zip

                                  Get latest build of EmulationStation for Windows here

                                  ruckageR 1 Reply Last reply Reply Quote 1
                                  • ruckageR
                                    ruckage @jdrassa
                                    last edited by ruckage

                                    @jdrassa said in Long standing ES bugs:

                                    <selectorOffsetY>

                                    Thanks, those new options work brilliantly - perfect, I love it. It's really nice to have that extra control.

                                    Are the <horizontalMargin> fixes in this build as well? I only ask because when the name scrolls it's still not scrolling enough to show the end of the game name.

                                    Are the scaling fixes in place as well? If so I'll test that next.

                                    Thanks again.

                                    @pjft said in Long standing ES bugs:

                                    @ruckage Complete tangent on this topic, but your theme looks really good!

                                    Sorry for not replying sooner. Thank you, it's really nice to know people like it. It's been far more popular than I expected. It was made for personal use originally and only covered, nes and gameboy but has grown dramatically.

                                    SNES mini/Nes mini/Famicom mini theme developer.

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

                                    J 1 Reply Last reply Reply Quote 0
                                    • J
                                      jdrassa @ruckage
                                      last edited by

                                      @ruckage The build should have had fixes for all 3 of the issues that you called out, but I retested and you are correct that it still wasn't scrolling enough. I have a new build running and will post a link when it is done.

                                      Get latest build of EmulationStation for Windows here

                                      ruckageR 2 Replies Last reply Reply Quote 2
                                      • ruckageR
                                        ruckage @jdrassa
                                        last edited by

                                        @jdrassa
                                        Thanks.
                                        I'll check the scaling next then and give feedback on how that's working.

                                        SNES mini/Nes mini/Famicom mini theme developer.

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

                                        J 1 Reply Last reply Reply Quote 0
                                        • J
                                          jdrassa @ruckage
                                          last edited by

                                          @ruckage Here is the updated build.

                                          https://ci.appveyor.com/api/buildjobs/3m688cj649xnp2m4/artifacts/EmulationStation-Win32.zip

                                          Get latest build of EmulationStation for Windows here

                                          1 Reply Last reply Reply Quote 2
                                          • ruckageR
                                            ruckage @jdrassa
                                            last edited by

                                            @jdrassa

                                            I just tested the scaling between resolutions and it's still off a bit. Below you can see that at 1920x1080 the selector bar text fits the box exactly but at 1280x720 it doesn't quite line up.

                                            0_1496082627961_1080p.png
                                            0_1496082633656_720p.png

                                            SNES mini/Nes mini/Famicom mini theme developer.

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

                                            J 1 Reply Last reply Reply Quote 0
                                            • First post
                                              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.