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

    Custom viewport problem retroarch 1.7.5

    Scheduled Pinned Locked Moved Help and Support
    retroarch.cfgretropie 4.4retroarch 1.7.5viewport
    13 Posts 8 Posters 6.4k 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.
    • Keltron3030K
      Keltron3030
      last edited by Keltron3030

      Hi guys,

      I just updated retroarch to 1.7.5 from 1.7.3 and now my custom viewport configuration is not working. The other emulator specific retroarch.cfg settings are fine, for example my overlays are working

      input_remapping_directory = "/opt/retropie/configs/gba/"

      aspect_ratio_index = "22"
      input_overlay_enable = "true"
      input_overlay = "/home/pi/.config/retroarch/overlay/borders/gba.cfg"
      custom_viewport_width = "720"
      custom_viewport_height = "480"
      custom_viewport_x = "600"
      custom_viewport_y = "300"
      input_overlay_opacity = ".70"
      input_overlay_scale = "1.00"

      Anybody else have any trouble with this?

      My setup was based on the latest v4.4 image. 3B+

      1 Reply Last reply Reply Quote 2
      • Keltron3030K
        Keltron3030
        last edited by Keltron3030

        Well, I figured it out...

        Custom viewport option is now "23"

        aspect_ratio_index = "23"

        Documentation needs updating:

        https://retropie.org.uk/docs/Smaller-RetroArch-Screen/

        UDb23U W 2 Replies Last reply Reply Quote 1
        • UDb23U
          UDb23 @Keltron3030
          last edited by

          @keltron3030 said in Custom viewport problem retroarch 1.7.5:

          Custom viewport option is now "23"

          Where did you find this info ?
          That would mean Retroarch developers are deliberately messing up all existing configurations people created using the "22" setting ?!!
          Sounds quite strange.

          Keltron3030K 1 Reply Last reply Reply Quote 0
          • Keltron3030K
            Keltron3030 @UDb23
            last edited by Keltron3030

            @udb23 yeah, I know... They did. They must have added another resolution setting but not at the end of the list.

            You can check it yourself by changing the setting in the GUI and then verifying the selection in the .cfg file.

            I'd have to install 1.7.4 to confirm when the change took place since I went from 1.7.3 to 1.7.5.

            There's currently 24 aspect ratio options in 1.7.5. I imagine there used to be 23 with "custom" previously being the last on the list as "22"

            Was:
            0=.....
            1= ...
            2= ...
            ....
            19=Config
            20=1:1 PAR
            21=core selected
            22=Custom

            Now:

            "23"=custom and it's option 24.

            Keltron3030K 1 Reply Last reply Reply Quote 1
            • Keltron3030K
              Keltron3030 @Keltron3030
              last edited by Keltron3030

              Ok, I confirmed. The change took place with 1.7.4.

              On that version they added a new aspect ratio "21:9", and this was added as the 5th option between "16:15" and "1:1" thus pushing custom from "22 to 23"

              I suppose most retroarch users would just change to custom in the GUI after updating if needed and not think anything of it.

              Anyway, I updated the docs wiki. Hopefully someone will confirm my findings and make my change live so new users don't bang their heads against the wall using "22" for custom.

              BuZzB UDb23U 2 Replies Last reply Reply Quote 2
              • BuZzB
                BuZz administrators @Keltron3030
                last edited by

                @keltron3030 Thanks. I will update the code for the config editor.

                To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                1 Reply Last reply Reply Quote 0
                • UDb23U
                  UDb23 @Keltron3030
                  last edited by

                  @keltron3030 Thanks for confirming.
                  I therefore need to check impacted overlays in my Repo.. For sure some console overlay cfgs in there must be changed (e.g. atari2600, GBA).

                  Not sure if aspect ratio is also used by @meleu overlay install script.

                  meleuM 1 Reply Last reply Reply Quote 0
                  • meleuM
                    meleu @UDb23
                    last edited by

                    @udb23 It's been a while since I put my eyes on that code, but IIRC it only handles file paths. Then I think this change in RetroArch doesn't impact anything on my script.

                    But please, ping me if you find some problem. ;)

                    • Useful topics
                    • joystick-selection tool
                    • rpie-art tool
                    • achievements I made
                    UDb23U 1 Reply Last reply Reply Quote 0
                    • UDb23U
                      UDb23 @meleu
                      last edited by

                      @meleu Ok! Thanks

                      1 Reply Last reply Reply Quote 0
                      • hooperreH
                        hooperre
                        last edited by hooperre

                        Has this been changed again? I don't think so, because everything with a custom overlay works for me.

                        But everything that doesn't have a defined custom overlay is showing up black still with sound and retroarch overlays. I'm confused.

                        Edit: RetroArch.cfg included.

                        Edit 2: Changing my \arcade\retroarch.cfg aspect ratio to 22 from 23 fixed it. Still kind of begs the question... should it be 22 again?

                        4B ~ RPi PSU 5.1V / 3.0A ~ 32GB SanDisk microSD ~ 128GB USB

                        1 Reply Last reply Reply Quote 0
                        • W
                          wdrobertsonjr @Keltron3030
                          last edited by

                          @Keltron3030 Confirmed. It works on 23. I was beginning to think I had completely misunderstood the order of precedence for config. Whew! Thanks

                          1 Reply Last reply Reply Quote 0
                          • CapemanC
                            Capeman
                            last edited by

                            Ah this totally makes sense! I was confused last time I was setting up a 240p setup and “22” wasn’t making my resolutions work on my new setup.

                            Vector Artist, Designer and Maker of Stuff: Laser Cut Atari / Pixel Theme Bartop

                            1 Reply Last reply Reply Quote 0
                            • AlturisA
                              Alturis
                              last edited by

                              Hmm... I recently updated as well and am seeing that my overlays now stretch over onto the game display when they didn't used to. But I am not using the aspect ratio indexing at all.

                              My Frogger cfg for example:

                              input_overlay = /opt/retropie/emulators/retroarch/overlays/arcade-bezels/Final_Arcade_Frogger.cfg
                              input_overlay_enable = true
                              input_overlay_opacity = 0.900000
                              input_overlay_scale = 1.000000
                              
                              video_shader_enable = "true"
                              video_shader = "~/.config/retroarch/shaders/crt-pi-curvature-vertical.glslp"
                              

                              RP 4.7.1 • Pi4 4Gig • CanaKit Aluminum • 64GB microSD • 1920x1080 BarTop [2 Sanwa sticks]

                              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.