GB & GBC video stuck in top left of the screen
-
Hope someone can help:
The emulators for both Gameboy and Gameboy colour seem to shove the screen in the top left corner, as shown:
Weirdly, when pausing the screen it displays the game back in optimal resolution through the menu:
I can't say for certain this has caused it, but I have recently installed this script which places bezels on all systems. (I didn't test the systems before installing the bezels):
https://github.com/thebezelproject/BezelProjectA quick google says that editing the cfg for the GB emulator may fix the problem, but it doesnt seem to be doing anything:
#Settings made here will only override settings in the global retroarch.cfg if placed above the #include line
input_overlay = "/opt/retropie/configs/all/retroarch/overlay/Nintendo-Game-Boy.cfg"
input_overlay_opacity = "1.000000"input_remapping_directory = "/opt/retropie/configs/gb/"
#19 = Config, 20 = 1:1 PAR, 21 = Core Provided, 22 = 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
custom_viewport_width = "640"
custom_viewport_height = "576"#the following two decide how far from the left and top we offset the above
#use your resolution, minus the screen size, divided by two
#these settings for 1080p screen (1920x1080)
#(1920-640)/2 = 640
custom_viewport_x = "640"
#(1080-480)/2 = 300
custom_viewport_y = "300"#include "/opt/retropie/configs/all/retroarch.cfg"
Any feedback will be appreciated, thanks!
-
I'm trying to see where your problem is, but the info you provided doesn't help.
What file did you pull that info from? When any libretro emulator is loaded, it will generate it's own retroarch.cfg file in the emulator's directory.
so you'll get /opt/retropie/configs.hdmi/gbc for Gameboy color, and a retroarch.cfg in there that will override the global retroarch.cfg in /opt/retropie/configs.hdmi/all
where is the content you posted from? That setting info is basically saying that you want to use an overlay, what overlay and where it's located. Also, how transparent it will look.
The the next line could be the issue, but it's already disabled with "#". But setting a viewport that is core provided sometimes causes issues like this. The rest of the info is just the size and position of the view box. So those can all be tweaked.
Try this... go into your retroarch menu like you did... go to the main menu and select settings... then VIDEO then SCALING... is "Interger Scale " enabled? if so, turn it off. Then change "aspect ratio" to "custom". From there work the screen to the size you want and see if that works. Don't save it yet, I just want to know if that changes anything.
A stock scale of 640 x 576 is tiny on a 1080p screen. That could be the problem.
Mine is 922 wide by 835 high on my settings for example. By the look of your overlay, yours should be even bigger than mine. I have what looks like a Gameboy bezel, so the screen is centered with the Gameboy surrounding it. Yours is open on top and bottom with only the sides being the graphic.
One last question... what version of Retroarch are you using? Easy to find out... go back to the main menu... select "HELP" and look on the bottom left of the menu screen.
-
@jamrom2 Thanks for the reply
Okay, you've pointed me in the right direction. I've never dabbled with Bezels before so its all new to me. Sorted out the scaling and all is well xD
-
@deanoiv try
aspect_ratio_index = "23"
. A previous retroarch update changed the numbering of some of the indices; it's just the selection's position on the list when you select "settings > video> scaling > aspect ratio" in the GUI, remembering that the first item's index is zero. "Custom" is 24th on the list, making it index #23. Somewhere along the line, they added a new resolution to the list but they didn't update the documentation.You also don't need the custom viewport at all. You can remove or comment out (put a
#
in front of them) theaspect_ratio_index
line and all of thecustom_viewport_*
lines, and the display should be full-height and centered (unless you have integer scaling on, then it'll be the tallest integer-multiple height that can fit on your display: ex. for Gameboy that would be 144 x 7 = 1008 pixels with a small black border on top and bottom if you're on 1080p.) -
@sleve_mcdichael I've done this when I first started using overlays. I've found it works with some, not with others. Depends on where the overlay is from.. and if I decide to zoom in or zoom it out a little. I try to set my overlays/bezels to the best possible screen size for the system, and that's not always the stock size.
I eventually switched to manually setting the size and it seems to work really well . Once I'm happy with the bezel, I don't change it anyway.
BTW... Your description is probably the best I've read on the subject. Thanks for sharing it.
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.