异星铁路

异星铁路

查看统计:
Boikinov 2023 年 10 月 13 日 上午 8:48
Wrong resolution dpi for windowed and windowed fullscreen
The game didn't consider the desktop dpi setting when play with windowed or windowed fullscreen
Unreal Engine rendered image will be auto-upscaling if the dpi setting is higher than 100%

Remeber to enable the high dpi support in your UE4 project, or any other manually setup if you preferred
This is a common mistake many developer ignored, especially if their monitor was never set beyond 100% dpi, they won't notice such thing exist
< >
正在显示第 1 - 11 条,共 11 条留言
0x143  [开发者] 2023 年 10 月 13 日 上午 8:53 
Hmm, I thought I had that working okay.

Can you link me to any documentation aobut the DPI support? I thought that should be enabled. I'll make a ticket anyway.
Boikinov 2023 年 10 月 13 日 上午 9:08 
The second time I enter the game, in game view looks fine
But the whole Steam overlay still in blurred image
I suppose something is still not correctly setup
0x143  [开发者] 2023 年 10 月 13 日 上午 9:18 
Sounds like the setting is not getting reflected in real time.

I'm glad it at least is working now. If you can find a reference to the setting you mentioned please send it to me.
Boikinov 2023 年 10 月 13 日 上午 9:20 
You can search keyword dpi in the project setting window
For any document, just search dpi scaling for UE4 anywhere online
spongbo 2023 年 12 月 7 日 上午 5:31 
Yep - I have a 1440p monitor set to scale to 125% in Windows 11. The resolution I pick in Railgrade Settings in Windowed mode is scaled by that number - i.e. if I pick 1920x1080, the window is almost too big for the screen.
最后由 spongbo 编辑于; 2023 年 12 月 7 日 上午 5:31
spongbo 2023 年 12 月 7 日 上午 7:03 
I think this might be an app-manifest-solvable problem. Perhaps.
0x143  [开发者] 2023 年 12 月 7 日 下午 5:26 
引用自 spongbo
Yep - I have a 1440p monitor set to scale to 125% in Windows 11. The resolution I pick in Railgrade Settings in Windowed mode is scaled by that number - i.e. if I pick 1920x1080, the window is almost too big for the screen.

Can you try playing in full screen? I tried the unreal engine option Bolkinov mentioned but it breaks various things for players not using DPI scaling.
spongbo 2023 年 12 月 10 日 下午 9:16 
What I've done for now is:
- Manage app -> open app folder -> get Properties of the Railgrade.exe file,
- open Compatibility -> Change High DPI settings (near the bottom),
- then at the bottom of that page, under *High DPI scaling override*, ticking *override high DPI*, and changing the setting to *Application*.

This gets the 1680x1050 window to actually be 1680x1050.
I'm sure there' must be a generalized solution for this, but for now, this one's working!
最后由 spongbo 编辑于; 2023 年 12 月 10 日 下午 9:20
Orthopraxis 9 月 21 日 上午 5:58 
引用自 spongbo
What I've done for now is:
- Manage app -> open app folder -> get Properties of the Railgrade.exe file,
- open Compatibility -> Change High DPI settings (near the bottom),
- then at the bottom of that page, under *High DPI scaling override*, ticking *override high DPI*, and changing the setting to *Application*.

This gets the 1680x1050 window to actually be 1680x1050.
I'm sure there' must be a generalized solution for this, but for now, this one's working!

Searched discussions for "resolution" looking to address this exact issue, thank you for posting your solution! Unfortunate the dev hasn't fixed it 2 years later...
0x143  [开发者] 9 月 21 日 上午 8:44 
引用自 Orthopraxis
引用自 spongbo
What I've done for now is:
- Manage app -> open app folder -> get Properties of the Railgrade.exe file,
- open Compatibility -> Change High DPI settings (near the bottom),
- then at the bottom of that page, under *High DPI scaling override*, ticking *override high DPI*, and changing the setting to *Application*.

This gets the 1680x1050 window to actually be 1680x1050.
I'm sure there' must be a generalized solution for this, but for now, this one's working!

Searched discussions for "resolution" looking to address this exact issue, thank you for posting your solution! Unfortunate the dev hasn't fixed it 2 years later...

Sorry, I cannot force windows settings from inside the game itself.
Orthopraxis 9 月 21 日 下午 4:44 
引用自 0x143
引用自 Orthopraxis

Searched discussions for "resolution" looking to address this exact issue, thank you for posting your solution! Unfortunate the dev hasn't fixed it 2 years later...

Sorry, I cannot force windows settings from inside the game itself.

Apologies, I don't mean to tell you your business -- I'm a devops engineer not a dev -- but I think the idea is that the game is parsing windows scaling config and doing weird stuff. Realistically I don't think you need to force windows settings. What you need to do is *ignore* windows settings, e.g. use the desktop resolution, instead of whatever is returned when scaling is incorporated.
< >
正在显示第 1 - 11 条,共 11 条留言
每页显示数: 1530 50