[GZDoom] Retro HUD got stretched if over 16:9 ratio

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Trimint123
Posts: 28
Joined: Tue Mar 05, 2019 7:34 am
Graphics Processor: Not Listed

[GZDoom] Retro HUD got stretched if over 16:9 ratio

Post by Trimint123 »

Title said it all. Also, these screenshots is using Custom 21:9 HUD.
Attachments
On 16:9
On 16:9
On 21:9
On 21:9
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49226
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [GZDoom] Retro HUD got stretched if over 16:9 ratio

Post by Graf Zahl »

Link?
Trimint123
Posts: 28
Joined: Tue Mar 05, 2019 7:34 am
Graphics Processor: Not Listed

Re: [GZDoom] Retro HUD got stretched if over 16:9 ratio

Post by Trimint123 »

Well, it's a slightly edited version of this custom HUD.
User avatar
drfrag
Vintage GZDoom Developer
Posts: 3179
Joined: Fri Apr 23, 2004 3:51 am
Location: Spain
Contact:

Re: [GZDoom] Retro HUD got stretched if over 16:9 ratio

Post by drfrag »

That status bar looks screwed even in the latest version @16:9. And even the original iwad graphic looks stretched like always did with the default scale.
Trimint123
Posts: 28
Joined: Tue Mar 05, 2019 7:34 am
Graphics Processor: Not Listed

Re: [GZDoom] Retro HUD got stretched if over 16:9 ratio

Post by Trimint123 »

drfrag wrote:That status bar looks screwed even in the latest version @16:9. And even the original iwad graphic looks stretched like always did with the default scale.
Reasonable. It is up to you guys to fix it or not, anyway. Just my minor thing I bothered with.
Yarn366
Posts: 61
Joined: Fri Mar 02, 2018 11:48 pm
Preferred Pronouns: He/Him

Re: [GZDoom] Retro HUD got stretched if over 16:9 ratio

Post by Yarn366 »

I've only tried the original graphic so far, but I can reproduce what I think is Trimint123's issue: If status bar scaling is set to "scale to fullscreen" and the screen aspect ratio is wider 16:9, then the status bar will be stretched like in Trimint123's 21:9 screenshot. The wider the aspect ratio is beyond 16:9, the more the status bar is stretched. So, this issue is not caused by a simple lack of aspect ratio correction; rather, it seems that in this scenario GZDoom lays out the status bar for 16:9 and then stretches that to "fit" the screen width.
User avatar
drfrag
Vintage GZDoom Developer
Posts: 3179
Joined: Fri Apr 23, 2004 3:51 am
Location: Spain
Contact:

Re: [GZDoom] Retro HUD got stretched if over 16:9 ratio

Post by drfrag »

Trimint123 wrote:Title said it all
It didn't. If i load that status bar it's screwed i can't get the same results as you. How am i supposed to reproduce the issue? My screen resolution is 1366x768 and it's broken with every scale option, the aspect ratio doesn't matter much if i can't get the graphic to display properly. How should i load the graphic then?
Yarn366
Posts: 61
Joined: Fri Mar 02, 2018 11:48 pm
Preferred Pronouns: He/Him

Re: [GZDoom] Retro HUD got stretched if over 16:9 ratio

Post by Yarn366 »

drfrag wrote:
Trimint123 wrote:Title said it all
It didn't. If i load that status bar it's screwed i can't get the same results as you. How am i supposed to reproduce the issue? My screen resolution is 1366x768 and it's broken with every scale option, the aspect ratio doesn't matter much if i can't get the graphic to display properly. How should i load the graphic then?
If your problem is that the status bar is offset to the right, then make sure you are running GZDoom 4.5.0, which added support for widescreen status bars.
User avatar
drfrag
Vintage GZDoom Developer
Posts: 3179
Joined: Fri Apr 23, 2004 3:51 am
Location: Spain
Contact:

Re: [GZDoom] Retro HUD got stretched if over 16:9 ratio

Post by drfrag »

I'm just dragging and dropping the linked file over the executable, GZDoom 4.5.0. If i should load the status bar in a different way please tell me how.
Yarn366
Posts: 61
Joined: Fri Mar 02, 2018 11:48 pm
Preferred Pronouns: He/Him

Re: [GZDoom] Retro HUD got stretched if over 16:9 ratio

Post by Yarn366 »

drfrag wrote:I'm just dragging and dropping the linked file over the executable, GZDoom 4.5.0. If i should load the status bar in a different way please tell me how.
That method should work; at least it does for me. Are you using the full-resolution, 560x32 image, or are you instead using the scaled-down, 400x23 thumbnail (which will obviously look wrong in-game)? The linked post does have the full image, but you need to click the attachment first.
User avatar
drfrag
Vintage GZDoom Developer
Posts: 3179
Joined: Fri Apr 23, 2004 3:51 am
Location: Spain
Contact:

Re: [GZDoom] Retro HUD got stretched if over 16:9 ratio

Post by drfrag »

Huh, somehow i downloaded the thumbnail. But for me it looks stretched even in 16:9, seems it depends on your screen resolution.
BTW the wide status bar also works in LZDoom setting fixunitystatusbar to true.
User avatar
Rachael
Posts: 13924
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: [GZDoom] Retro HUD got stretched if over 16:9 ratio

Post by Rachael »

drfrag wrote:BTW the wide status bar also works in LZDoom setting fixunitystatusbar to true.
It's probably worth mentioning that setting is unconditionally true now in GZDoom, and the setting is even removed - any status bar that is offset (0,0) but is greater than 320 in width is automatically adjusted.
User avatar
drfrag
Vintage GZDoom Developer
Posts: 3179
Joined: Fri Apr 23, 2004 3:51 am
Location: Spain
Contact:

Re: [GZDoom] Retro HUD got stretched if over 16:9 ratio

Post by drfrag »

Of course i know, but i used a different method in LZDoom and i wasn't sure.
Yarn366
Posts: 61
Joined: Fri Mar 02, 2018 11:48 pm
Preferred Pronouns: He/Him

Re: [GZDoom] Retro HUD got stretched if over 16:9 ratio

Post by Yarn366 »

drfrag wrote:Huh, somehow i downloaded the thumbnail. But for me it looks stretched even in 16:9, seems it depends on your screen resolution.
Does it still look stretched if you enable HUD Options -> Scaling Options -> HUD preserves aspect ratio? If so, then try playing with a fresh config file, changing only that option and loading only a vanilla Doom IWAD and optionally that status bar. If the status bar still looks stretched, then it's possible your whole display is being stretched.
Trimint123
Posts: 28
Joined: Tue Mar 05, 2019 7:34 am
Graphics Processor: Not Listed

Re: [GZDoom] Retro HUD got stretched if over 16:9 ratio

Post by Trimint123 »

Yarn366 wrote:The wider the aspect ratio is beyond 16:9, the more the status bar is stretched. So, this issue is not caused by a simple lack of aspect ratio correction; rather, it seems that in this scenario, GZDoom lays out the status bar for 16:9 and then stretches that to "fit" the screen width.
There you go. Thanks for confirmation.
Rachael wrote:It's probably worth mentioning that setting is unconditionally true now in GZDoom, and the setting is even removed - any status bar that is offset (0,0) but is greater than 320 in width is automatically adjusted.
Huh, I didn't know it'll automatically adjusted.
Post Reply

Return to “Closed Bugs [GZDoom]”