Fit overlay height


#1

Hi.

I noticed that when loading overlays Retroarch stretches them to fill the window, usually distorting the image.

Can I set it so that it fits the overlay by height, maintaining the ratio of the overlay image?


#2

there’s an option, overlayX_normalized = true/false. If it’s true, it stretches and uses normalized coords. If it’s false, it should use absolute pixel numbers. (if I remember correctly)


#3

Thanks. Can I set it via the menu?


#4

No, it’s in the overlay’s cfg


#5

Thank you.

I also found a overlay0_full_screen = true setting in the overlay config file.

Is there a reference of all the overlay config files that I can study?


#6

https://docs.libretro.com/specs/overlay/

the fullscreen setting lets the overlay extend beyond the game’s viewport, IIRC. That is, to fill in the black space around the image.