Repository navigation
Add NOTPROTON_RETINA_DPI=0 to keep LogPixels with High Resolution - #293
Merged
Merged
Conversation
Owner
|
Will review/merge/include in tomorrow's hotfix, thank you for catching this issue and submitting a fix! :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Since #216 (Fix DPI issues with High Resolution mode), High Resolution sets LogPixels to 192. For games that are not DPI aware, Wine then halves the screen size it reports. Metaphor: ReFantazio on a 3024x1964 MacBook display now offers only one low resolution in borderless mode, and the log shows
NtUserChangeDisplaySettings ... returned -2. Before 1.2.4 it offered the full list.This adds an opt-out. With
NOTPROTON_RETINA_DPI=0 %command%in the launch options, the run script does not change LogPixels, whether High Resolution is on or off. Nothing changes for other games.If a prefix is already at 192, it stays at 192 with the opt-out. To go back, set LogPixels to 96 by hand. Another way is to add
"METAPHOR.exe"="~ HIGHDPIAWARE"underHKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers. CrossOver 26.3's win32u reads that key by exe file name. This brought back the full resolution list in Metaphor for me, with LogPixels still at 192.Tests:
make settingscheck envcheckpass, with two new LogPixels cases.