Custom viewports not working?!?
-
I got a pi3B+ for Christmas and went to setting it up with a fresh install of retropie 4.4
After struggling with getting overlays working (turns out RetroArch doesn't like images bigger than 1920x1080) I'm trying to get my viewport to fit inside the overlay. No matter what settings I change I either have a "full screen" default display or a display that's seems to be correct but cannot be changed by the custom_viewport_width/height options.
video_scale_integer is the only option that seems to work and is what changes between the 2 sizes.This is my .cfg in /opt/retropie/configs/snes/
# All settings made here will override the global settings for the current emulator core #video_shader = /opt/retropie/emulators/retroarch/shader/ntsc-pass4.glsl #video_shader_enable = true #video_smooth = false input_overlay = "/opt/retropie/emulators/retroarch/overlays/arcade-bezels/SuperNintendoEurope-glare.cfg" input_overlay_enable = "True" input_overlay_opacity = "0.900000" input_overlay_scale = "1.000000" video_scale_integer = false # 20 = Config, 21 = 1:1 PAR, 22 = Core Provided, 23 = Custom Viewport aspect_ratio_index = “22” # these two define the pixel size of the emulated screen # keep this in the same ratio as the original console # eg: GBA 240x160 * 3 = 720 x 480 custom_viewport_width = “960” custom_viewport_height = "720” # the following two decide how far from the left and top the game screen is shown # to centre the game display use your original resolution, minus the screen size, divided by two # this example for 1080p screen (1920x1080) # (1920 - 720) / 2 = 600 custom_viewport_x = “480” custom_viewport_y = “180” #include "/opt/retropie/configs/all/retroarch.cfg"
On a side note, the irc doesn't work anymore? It says I have to register or something.
-
@Ronoh55 There was a change in RetroArch at some point, you need to use
aspect_ratio_index=23
now since they've added a new resolution in the list. See this topic for the change. -
I saw this, and had changed it between the 2 options with no difference in the problem.
Fortunately I was finally able to pull the old cfg from my pi2 to the new pi and got it working!Now if only I could get the irc channel working lol
-
@Ronoh55
FYI - think your issue with this one would be wrong quote signs used. eg:custom_viewport_width = “960” custom_viewport_height = "720”
note the different types of quote signs you’ve used around the numbers. only the vertical ones are right - " - not the slanted type. in fact, i’m not sure you need quotes around things like the aspect ratio index, but check an existing config to be sure.
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.