Problems with custom resolution on windows

Hi, I’m having some problems setting my native monitor resolution (2560x1440) in ioquake3 1.36 on windows 10 professional 64 bit (updated).

If I set any resolution in the game settings all works as expected, but when I try to add these lines on autoexec.cfg

seta r_mode "-1"
seta r_customwidth "2560"
seta r_customheight "1440"

I have some weird problem. It kinda works, but the game screen is too big, just one part is showed in my monitor, some is simply cut and some is shown in another monitor I have.

If I try to set r_fullscreen to 0 my window is a lot bigger than my monitor, so I suppose that it is the same size of the game screen I can see when I have fullscreen.

I doublechecked and both the native resolution of the monitor and the resolution used by windows are 2560x1440, so I suppose this is not the problem.

It’s probably due to high DPI scaling. You can check a box in properties to fix it. ioquake3 built from the latest source code has this fixed and doesn’t need a work around.

1 Like

It worked perfectly, thanks!