devilutionX icon indicating copy to clipboard operation
devilutionX copied to clipboard

[Feature Request]: UI Scalling

Open Rockmih opened this issue 1 month ago • 8 comments

Feature Type

Quality of Life

Describe

On higher resolutions the UI doesnt scale really well, it would be cool if you could add UI scalling a lot of old games like this have this issue even with higher resolutions patches it becomes unplayable because of this, is very hard for people with debilitated sight like me to read anything when stuff gets so small. Very cool project, Keep the good work

Rockmih avatar Dec 01 '25 03:12 Rockmih

@Rockmih if you are having issues seeing things, you can play around with the integer scaling setting too as a workaround.

julealgon avatar Dec 01 '25 14:12 julealgon

Won't the whole game become hard to see at high resolutions? Anything higher than 720p is not recommended in general.

AJenbo avatar Dec 01 '25 14:12 AJenbo

@Rockmih if you are having issues seeing things, you can play around with the integer scaling setting too as a workaround.

I do use this setting but sadly that wont affect UI elements, ill say that even at 1080p i dont struggle with the actual gameplay, sprites that move around are easier to read than really small plain text.

Won't the whole game become hard to see at high resolutions? Genrally anything higher then 720p is not recommended in general.

I can see what you are saying, i think it would be perfect if we got control over the games zoom and UI scaling or at least an option to get something similar to more modern RTS resolutions, i remember having this same issue decades ago with D2 resolution patch for reference you could look at that and the new remaster UI/Resolution

Rockmih avatar Dec 01 '25 23:12 Rockmih

Zoom is independent from the UI, but since the game is CPU rendered it is only giving you an x2 option and it sound like you want basically the opposite (scaling up the UI and not the game).

AJenbo avatar Dec 01 '25 23:12 AJenbo

@Rockmih if you are having issues seeing things, you can play around with the integer scaling setting too as a workaround.

I do use this setting but sadly that wont affect UI elements, ill say that even at 1080p i dont struggle with the actual gameplay, sprites that move around are easier to read than really small plain text.

@Rockmih You must be confusing that with something else, because integer scaling definitely affects the UI: it affects the entire image equally.

julealgon avatar Dec 02 '25 15:12 julealgon

You must be confusing that with something else, because integer scaling definitely affects the UI: it affects the entire image equally.

At best, integer scaling prevents a periodic "stretching" effect that is barely visible to the human eye. It can be easy to see when zooming on screenshots, but is typically not so easy to spot otherwise. It certainly doesn't make things look clearer, just slightly more accurate.

I feel that you may be confusing integer scaling with Nearest Pixel (aka Nearest Neighbor) scaling. As opposed to anti-aliasing techniques like anisotropic or bilinear filtering, nearest neighbor retains clean edges between pixels when upscaling by simply using the color of the nearest pixel in the original image without blending anything. This can make the image look more jagged or blocky since it effectively physically increases the size of each pixel in the original image, but eliminates the blur effect that occurs when you attempt to resolve this by blending pixels.

StephenCWills avatar Dec 02 '25 15:12 StephenCWills

I probably got confused with the Zoom option, as i said before the actual ingame zoom is not the problem. I think this screenshots would illustrate better what im talking about. (Minecraft i know but illustrates the point perfectly)

Image Image Image Image

Here you can see different UI scaling settings, as i said before this is an issue with older games on higher resolutions, i hope this illustrates better what i mean by UI scaling and the issues some people like me have with this kind of problem.

Rockmih avatar Dec 09 '25 04:12 Rockmih

Except in Minecraft, making the resolution higher doesn't give you more visibility in the game. In DevilutionX, just play at lower resolutions. Anything above 720p is basically like cheating anyway.

DakkJaniels avatar Dec 09 '25 06:12 DakkJaniels

Minecraft has hardware acceleration so scaling is pretty trivial there. We might can do 2x in software, but it's not really worth i compared to waiting until we have proper hardware rendering... i think.

AJenbo avatar Dec 13 '25 20:12 AJenbo