Fit overlay height

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?

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)

Thanks. Can I set it via the menu?

No, it’s in the overlay’s cfg

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?

https://docs.libretro.com/development/retroarch/input/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.

I was checking the doc page you posted but it seems to have moved since the last time.

I updated the link. try again :slight_smile: