Page 1 of 1

Main menu Hi Res

Posted: 27 Jun 2020, 11:15
by Genexus
Hello there, is there a chance for widescreen main menu?

Re: Main menu Hi Res

Posted: 27 Jun 2020, 11:43
by CMAugust
Open your settings.cfg, and under [GUI], paste stretch menu background = true. It will not fit your entire screen, and you can use a widescreen HD menu replacer of your choosing.

Re: Main menu Hi Res

Posted: 27 Jun 2020, 11:57
by Genexus
It works, https://staticdelivery.nexusmods.com/mo ... 929716.png OMG THANKS!

If anyone would be interested in this replacer here is the link: https://www.nexusmods.com/morrowind/mods/48364

Re: Main menu Hi Res

Posted: 27 Jun 2020, 12:39
by CMAugust
No worries, glad everything's good to go. :)

Re: Main menu Hi Res

Posted: 27 Jun 2020, 15:31
by Chris
Note that it'll only work correctly if your screen/window has the same aspect ratio as the image. If they're different, the image will be stretched horizontally or vertically to fill the background. A proper fix would be for the engine to scale the image while maintaining its aspect ratio, which it can't currently do.

Re: Main menu Hi Res

Posted: 27 Jun 2020, 18:06
by Capostrophic
It's not that it can't do it but that the image's physical aspect ratio can be arbitrary. For vanilla it's 2:1 even though the content is 4:3. It'll look very wrong if openmw tries to be smart with the scaling.

Re: Main menu Hi Res

Posted: 05 Jan 2021, 12:28
by loinbread
Is it possible to add an option to force the menu/splash textures to scale to a certain aspect ratio? I'm playing at a 21:9 resolution (2560x1080) but at the moment the only options for me are to:
  • disable this option, with the result that the 16:9 textures squish to a 4:3 resolution
  • enable this option, with the result that the 16:9 textures stretch to a 21:9 resolution
It'd be great if you could either enable, disable or enter an arbitary scaling value factor (so in this case, 1.78 so the textures will fill to 16:9). Hopefully this makes sense!

Re: Main menu Hi Res

Posted: 06 Jan 2021, 08:52
by akortunov
There are mods which add a proper widescreen background (including intro video). There is nothing we can do from the engine side.

Re: Main menu Hi Res

Posted: 06 Jan 2021, 20:10
by Chris
akortunov wrote: 06 Jan 2021, 08:52 There are mods which add a proper widescreen background (including intro video). There is nothing we can do from the engine side.
The engine needs a way to know what aspect ratio a background image is supposed to be. As it is now, the engine only has two options: assume/force 4:3, or fill screen. So the only way to get proper background images on 21:9 (or 16:10) displays is to get images in those exact ratios. If there's any image formats that can embed the display ratio separate from the image ratio (like video files do), it would be beneficial for the engine being able to support that information (like it does with video files). But short of that, having a way to externally define what ratio a particular image file uses would be another option.

Or as a lazier option, expand the background image scaling options to include specific ratios other than 4:3 (i.e. rather than just "assume all background images are meant to display in 4:3", have other modes like "assume all background images are meant to display in 16:9" or "assume all background images are meant to display with square texels"). Perhaps make it so any image that isn't stored with a 1:1 ratio (which gets stretched to 4:3), assume any images using other ratios are meant to display in those ratios.

These are certainly things in the purview of the engine.