Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

displayScale config option resets to 150 when launching the game. #3682

Open
jonoser opened this issue Mar 13, 2024 · 0 comments
Open

displayScale config option resets to 150 when launching the game. #3682

jonoser opened this issue Mar 13, 2024 · 0 comments
Labels

Comments

@jonoser
Copy link

jonoser commented Mar 13, 2024

Describe the bug
displayScale config option resets to 150 when the game launches if it was previously set higher.

To Reproduce
Steps to reproduce the behavior:

  1. Launch game from fresh install.
  2. Navigate to Options > Video Options
  3. Set Graphics Mode to Desktop Full.
  4. The prompt "Increase Game Display Scale?" appears.
  5. Select "Increase Display Scale" from within the prompt. Display scale is set to 200%.
  6. Exit game.
  7. Check config file in Configuration Directory. displayScale=150
  8. Change displayScale back to 200 manually, save config file.
  9. Launch Game.
  10. The display scale has reverted to 150 and the game again displays the "Increase Display Scale" prompt.

Expected behavior
I assume the configuration that I select would not be changed automatically.

Screenshots or Videos
If applicable, add screenshots to help explain your problem.

Your System:

  • OS: Windows 10
  • Game version: 4.4.2 Built: 2023-11-29
  • Screen Resolution: 2560x1440

Additional context
I've tried a number of different settings for displayScale in increments of 50 (since that is what the UI lets you select). Any value above 150 gets reverted to 150 when the game launches. If I set it to 100 the value does not change.

It also seems that while I can select a displayScale higher than 150 from the game's UI and it will use that option. It never gets written to the config file. When the game exits 150 is written to the file and when the game launches it ignores any value that I manually save to the file and sets the scale to 150.

I noticed in the config file a setting called "autoAdjustDisplayScale". I tried setting it to false instead of true to see if that would fix the issue but it does not seem to have an effect. Setting it to false also doesn't seem to disable the "Increase Display Scale" prompt either so I guess I don't know what this setting actually does.

If I had to guess I think there's some weird edge case with the screen resolution where some logic thinks the scale should be 150 and is ignoring the value read from config.

I have attached a copy of my config file (extension changed to .txt in order to be able to attach). Let me know if there's any other information you need.
config.txt

@jonoser jonoser added the Bug label Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant