RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Problem with NES overlays.

    Scheduled Pinned Locked Moved Help and Support
    retropieoverlayhelpnesvideo
    24 Posts 8 Posters 11.3k 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.
    • OmnijaO
      Omnija
      last edited by Omnija

      You're probably better setting up your own custom size and pos in the NES retroarch.cfg with.

      custom_viewport_width =
      custom_viewport_height =
      custom_viewport_x =
      custom_viewport_y =

      Then adjusting the overlay with something similar to this. This can save the head aches of random size variation and mis- alignment. Also alot of people who create Bezel overlays don't seem to center them properly as well. Which is why it's probably better off making it yourself.
      0_1501718618339_Untitled.png

      Systems: Raspberry Pi 2
      Overclocked: 1050 | 525 | 350 | 425 | 256
      My Themes: Metro Theme | Simpler Turtlepi | Future Mini

      beastmodeB 1 Reply Last reply Reply Quote 0
      • beastmodeB
        beastmode @Omnija
        last edited by

        @omnija Thanks. I'll give that a try.

        1 Reply Last reply Reply Quote 0
        • beastmodeB
          beastmode
          last edited by beastmode

          @pjft @tmntturtlguy I'm having some trouble fitting my NES games to any of the 1920x1080 overlays.

          Following 3 images show these settings:

          Aspect Ratio: 4:3
          Video Scale Integer: Disabled
          Nestopia Overscan V = "disabled"
          Nestopia Overscan H = "disabled"

          Everything looks fine at the start screen.
          alt text

          Some black bars on the sides, but able to see the complete image without cropping.
          alt text

          Right side of the screen seems to be placed correctly, but the left and bottom sides of the screen are completely messed up.
          alt text

          Following 3 images show these settings:

          Aspect Ratio: 4:3
          Video Scale Integer: Disabled
          Nestopia Overscan V = "enabled"
          Nestopia Overscan H = "enabled"

          Everything looks fine at the start screen.
          alt text

          The game fits the overlay, but there seems to be cropping on the top and bottom.
          alt text

          Cropping on the top left, right, and bottom right of the screen resulting in image loss. Notice the spider webs are missing.
          alt text

          This is the overlay file I am using:

          alt text

          TMNTturtlguyT 1 Reply Last reply Reply Quote 0
          • TMNTturtlguyT
            TMNTturtlguy @beastmode
            last edited by

            @beastmode try going into retroarch and changing the video aspect ratio to set by core and see if that works.

            beastmodeB 1 Reply Last reply Reply Quote 0
            • beastmodeB
              beastmode @TMNTturtlguy
              last edited by

              @tmntturtlguy that gives me pretty much the same output as in the first 3 images. Black bars are on the left and bottom.

              TMNTturtlguyT 1 Reply Last reply Reply Quote 0
              • TMNTturtlguyT
                TMNTturtlguy @beastmode
                last edited by

                @beastmode What about setting a custom ratio? i would still set it to 4:3 but do it manually. Have you tried it with other roms in your NES folder? Could it be something weird within the rom itself?

                beastmodeB 1 Reply Last reply Reply Quote 0
                • beastmodeB
                  beastmode @TMNTturtlguy
                  last edited by beastmode

                  @tmntturtlguy It happens with pretty much all of the NES roms and most Sega Master Drive as well. I'll try setting a custom ratio. SNES, Genesis work perfectly.

                  TMNTturtlguyT 1 Reply Last reply Reply Quote 0
                  • TMNTturtlguyT
                    TMNTturtlguy @beastmode
                    last edited by

                    @beastmode Well it is good to know that you have a few systems working correctly. I know that i have some roms that have slightly different aspect ratios than others, so that is why I was asking it it happened on all of your roms in that system. It sound like it is.

                    Just for the heck of it, have you tried to see what happens in lr-fceumm?

                    beastmodeB 1 Reply Last reply Reply Quote 0
                    • beastmodeB
                      beastmode @TMNTturtlguy
                      last edited by

                      @tmntturtlguy Same exact problem in lr-fceumm. I first had problems with that emulator before moving to lr-nestopia =).

                      1 Reply Last reply Reply Quote 0
                      • pjftP
                        pjft
                        last edited by

                        I'd definitely ask you to post your RetroArch configurations for "all" and "NES" over pastebin if possible.

                        It is normal that some particular games seem to use different resolutions at times - on an original CRT things would either be cropped or sometimes have actual black borders. I'm not sure there will be a lot you can do in those cases.

                        That being said, we should probably at least attempt to minimize that effect here.

                        Send those over for us to take a closer look.

                        beastmodeB 1 Reply Last reply Reply Quote 0
                        • beastmodeB
                          beastmode @pjft
                          last edited by

                          @pjft Okay. Here are the links.

                          All Config: https://pastebin.com/LZnWbs4V
                          Core Config: https://pastebin.com/uJLE3V7H
                          NES Config: https://pastebin.com/T6kzhbGx

                          1 Reply Last reply Reply Quote 0
                          • beastmodeB
                            beastmode
                            last edited by

                            @pjft @tmntturtlguy I was messing around with a few different overlay files and settings and have come up with different results. It does seem that some games have different aspect ratios or something.

                            Following images show these settings:

                            aspect ratio index = 22
                            custom_viewport_width = 1356
                            custom_viewport_height = 1012
                            custom_viewport_x = 281
                            custom_viewport_y = 22
                            video_scale = "5.000000"
                            video_scale_integer = "false"

                            Overlay File.
                            alt text

                            Ninja Gaiden
                            alt text

                            Pugsley's Scavenger Hunt
                            alt text

                            RoboCop
                            alt text

                            Super Mario Bros. 2
                            alt text

                            Teenage Mutant Ninja Turtles
                            alt text

                            The Simpsons - Bartman Meets Radioactive Man
                            alt text

                            TMNTturtlguyT 1 Reply Last reply Reply Quote 0
                            • TMNTturtlguyT
                              TMNTturtlguy @beastmode
                              last edited by

                              @beastmode It seems odd, but to me it almost looks like you might have to set the aspect ratio and location of each of your roms individually to get them centered. Hopefully @pjft can pull something from the config files you sent.

                              beastmodeB 1 Reply Last reply Reply Quote 0
                              • beastmodeB
                                beastmode @TMNTturtlguy
                                last edited by

                                @tmntturtlguy Indeed. If not, I'll just set them manually since there doesn't seem to be many. Much less than I originally thought. Do your NES roms glitch at all? Perhaps it's normal for them to do so, or maybe I have a bad rom file. In some of the games the characters will blink white, or disappear for a few milliseconds. Mega Man for example.

                                1 Reply Last reply Reply Quote 0
                                • pjftP
                                  pjft
                                  last edited by

                                  Sorry for the delay here.

                                  I don't have a lot of experience with these kind of "border" overlays so maybe I haven't noticed this behavior in the past, even though it happens.

                                  The top and lower borders are fine by me, but the left margin isn't right. It seems you're also using a shader - have you tried disabling the shader and seeing if it's affecting that in any way?

                                  Reading your configs, and knowing that the NES resolution is 256x240, I'm wondering: in a 1920x1080p you shouldn't be able to fit a view screen of those dimensions with 5x video scale. Now, the fact that it's set to "integer" false, I'm not sure how it affects, but the actual scale is 4.21 for your values. Maybe change that and see if it helps in any way.

                                  Have you tried setting it to "true" and "4" for scale, removing the width/height/x/y settings and seeing if the image in those games is effectively still off-center?

                                  Sorry I can't help more here.

                                  beastmodeB 1 Reply Last reply Reply Quote 0
                                  • beastmodeB
                                    beastmode @pjft
                                    last edited by

                                    @pjft Thanks. I'll give that a try.

                                    1 Reply Last reply Reply Quote 1
                                    • 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.