scummvm SDL1 resolution

Ask for help with ScummVM problems

Moderator: ScummVM Team

Post Reply
User avatar
theelf
Posts: 26
Joined: Sun Feb 19, 2006 2:10 pm
Contact:

scummvm SDL1 resolution

Post by theelf »

Hi, i buy a nice laptop dell e4300, with 1280x800 screen intel x4500, i installed XP SP3, and downloaded latest scummvm 2.1.1

Works fine, but give me problems with garbage on screen at exit. Is not scummvm problem, is a sdl2 problem, i realize other software that use sdl2 do the same

Anyways, i decide to compile scummvm myself using SDL1. No problem with mingw, i build latest source, 2.2.0git with sdl1


My question is: in scummvm with SDL2 when i select "Normal - No scaling" scummvm NO change resolution, keep 1280x800 and scale the theme. Because i always use the classic one, looks like im using 320x200 even at 1280x800, great

In the SDL1 build, if i use Normal, it change screen resolution to 320x200 (great for my CRT desktop PC, but not for my laptop)


Any ideas if possible to do the same in SDL1 build? use fix screen resolution, 1280x800 and just scale the theme?

thanks
User avatar
rootfather
ScummVM Lead
Posts: 181
Joined: Tue Mar 31, 2015 11:59 am
Location: Germany
Contact:

Re: scummvm SDL1 resolution

Post by rootfather »

Sadly, that's not possible since SDL1 will automatically change the screen's resolution to adapt to the one selected in ScummVM. You could try the SDL1 version with the OpenGL renderer to see if that improves things for you.
User avatar
theelf
Posts: 26
Joined: Sun Feb 19, 2006 2:10 pm
Contact:

Re: scummvm SDL1 resolution

Post by theelf »

rootfather wrote: Sun Feb 09, 2020 10:10 pm Sadly, that's not possible since SDL1 will automatically change the screen's resolution to adapt to the one selected in ScummVM. You could try the SDL1 version with the OpenGL renderer to see if that improves things for you.
thanks a lot for reply. You save me time looking sourcecode for sdl1 and 2 differences

Yes, openGL in SDL1 use 1280x800, but the theme is very small.. it looks REALLY fake...
2.png
2.png (17.42 KiB) Viewed 1287 times

I dont know if possible to scale the theme in SDL1 GL, to look like normal scaling in SDL2

1.png
1.png (16.84 KiB) Viewed 1287 times


Im not asking to someone change code, just some advice to do myself if possible, thanks
User avatar
rootfather
ScummVM Lead
Posts: 181
Joined: Tue Mar 31, 2015 11:59 am
Location: Germany
Contact:

Re: scummvm SDL1 resolution

Post by rootfather »

theelf wrote: Sun Feb 09, 2020 10:54 pm Yes, openGL in SDL1 use 1280x800, but the theme is very small.. it looks REALLY fake...

Yes, that's how the openGL renderer works and draws the theme files - it does no UI scaling whatsoever and will always draw the theme in the resolution that's currently set as the desktop resolution in your operating system. Unfortunately, there's no way (at least that I am aware of) to change this when using the openGL renderer, no matter if you use SDL1 or SDL2.
Post Reply