mtasa-blue icon indicating copy to clipboard operation
mtasa-blue copied to clipboard

#3444 broke the HUD look n' feel

Open Haxardous opened this issue 7 months ago • 5 comments

Describe the bug

#3444 broke the look n' feel of the hud, it seems like the hud scaling is always stuck on a 4:3 aspect ratio. "hud match aspect ratio" apparently scales the HUD down according to the current resolution (which is the expected behavior from the PR), although the HUD (the radar for example) is stretched as it was running on a 4:3 resolution.

Expected behavior: it should stretch properly in a 16:9 resolution

Notes: attempted to reproduce this bug using 1920x1080 resolution, both in standard and windowed modes.

related to: @henrymarques / #3444

Image

Steps to reproduce

copy the following settings (resolution 16:9 -- "hud match aspect ratio" ticked) shown in the figure below:

Image

Version

Client: Multi Theft Auto v1.6-release-23232 (Windows 11 Pro - 64 bit) Server: Not applicable.

Additional context

Not applicable.

Relevant log output

Not applicable.

Security Policy

  • [x] I have read and understood the Security Policy and this issue is not security related.

Haxardous avatar May 27 '25 00:05 Haxardous

Even in their own screenshot the minimap wasn't circle, it's like they were using 16:10 and it stretched to 16:9. Also in 4:3 1200x900 the minimap is now actually bigger for some reason instead of staying the same size.

SpeedyFolf avatar May 27 '25 08:05 SpeedyFolf

I've reverted the PR in commit 07c29347d700390ae3bfb4cb9ef61235fc44b823 now

botder avatar May 27 '25 12:05 botder

I've reverted the PR in commit 07c2934 now

Fair, it should be toggeable in the settings menu (third option, maybe call it Widescreen fix... we would also need a way to see if the config was enabled clientside to adjust the HUD accordingly).

PlatinMTA avatar May 28 '25 13:05 PlatinMTA

I could revert to version that uses huge addresses tables but code will not be the better thing to read. Reverting, hud will look like this:

Image

henrymarques avatar May 28 '25 14:05 henrymarques

The radar looks okayish on this pic, (maybe a bit still streched?) however the top-right part of the hud (money, healthbar, time, weapon) are definitely streched. Someone told you in your PR to change it to look like this because he thought it was squashed but in reality it wasn't. Check some pics on the net from PS2 with 4:3 aspect ratio how it looked back then. Ideally you can just run the basegame in a 4:3 screen resolution without streching the screen (this way you'll likely see two black bar on the left and right side of your screen)

Image

blonter avatar May 28 '25 18:05 blonter

Fixed in 07c29347d700390ae3bfb4cb9ef61235fc44b823

FileEX avatar Aug 24 '25 18:08 FileEX