Square Pixel Ratio

Need help running various source ports? Did your computer break? Ask here.

Moderators: GZDoom Developers, LZDoom Developers, UZDoom Developers

Forum rules
Please be as descriptive as possible in your posts (list your hardware and operating system, the version of the source port you are using, any mods you are running and how they're being loaded, etc.)
This will help others to give you a solution!
User avatar
RSSwizard
Posts: 237
Joined: Mon Jan 11, 2016 3:55 pm

Square Pixel Ratio

Post by RSSwizard »

Is there any way to get it back?
Some really funky stuff is going on with video modes (as early as v3.25 which im still using) and no matter how I configure the display the pixels are being stretched vertically to match the CRT ratio that they used to have in the 320x200 mode. I remember those days well and I liked the look back then but in the modern era whether playing Quake1 at 512x384 res or playing Zdoom ive gotten used to Square Pixels and I prefer the new look better than the old one. I want crisp clean pixels, without filtering, that are as square as those on my LCD, with every line on the screen being exactly the same number of pixels thick (x2 or x3 scaling).

Technically I want 960x600 resolution with an exact x3 scaling multiplier.
User avatar
Rachael
Posts: 13967
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her

Re: Square Pixel Ratio

Post by Rachael »

Try vid_scalemode "0". If that works, then chances are you enabled the scaling in the custom mode. To disable that, simply use "vid_setscale <x> <y> <linear> <force scaling>" - where you enter 0 for force scaling.
User avatar
Pixel Eater
 
 
Posts: 667
Joined: Wed Aug 02, 2017 12:31 am
Location: In between the Moon and you, between the buried and me.

Re: Square Pixel Ratio

Post by Pixel Eater »

Setting Force Aspect Ratio to 16:10 in the Video Mode menu gets close but only if you're going keyboard only. Once you use mouse look things start to get weird like this. Plus it seems to me that it isn't truly square anyway.

I do have some mods that should help though. Autochthonic Doom will widen the pixels until they're square and BigButts.wad will widen the weapons for Doom as well. For complete accuracy set your FOV to 84.

If your screen is physically 16:9 then it gets hard to gain the correct viewport dimensions without shrinking the statusbar until it's way too small to read, so I made this. Instead of shrinking the HUD it slides it offscreen as if it were inhabiting some virtual screenspace that a 16:10 monitor would offer. Then it rearranges and scales the elements to fit the remaining exposed area. The extra benefit also being that it becomes widescreen too 8-)

Return to “Technical Issues”