Lyall / GBFRelinkFix

A fix for Granblue Fantasy: Relink that adds support for custom resolutions, ultrawide and more.
MIT License
221 stars 4 forks source link

[Bug]: Ultrawide not working if monitor is set as secondary display in windows. #28

Closed Aaron-Strong closed 7 months ago

Aaron-Strong commented 7 months ago

Issue Summary:

Ultrawide not working if monitor is set as secondary display in windows.

GBFRelinkFix & Game Version Numbers:

v1.0.4 of gran & your fix

Log Files:

I don't see a log file 😩

Reproduction:

Restarting the game doesn't help. Swapping the ultrawide to the primary display resolves the issue but is awful QOL

Thanks for any help and for making such a good mod ^^

Lyall commented 7 months ago

Sorry for the late reply but has the mod worked at all for you? You should be getting a GBFRelinkFix.log file.

Aaron-Strong commented 7 months ago

Oh my god I'm so stupid. New pc and I didn't have file extensions showing anymore X_X GBFRelinkFix.log

There's a fresh log with the ultrawide set as secondary display in windows, and selected in gran's settings.

Lyall commented 7 months ago

Okay so when iCustomResX and iCustomResY are set to 0 in the config file then your desktop resolution for your primary display is used. Since the function I use only pulls info from the primary display, a solution for you might be to enter the resolution of your ultrawide display in the config file.

For example if your ultrawide display is 5120x1440 then you would set it like this:

[Custom Resolution]
; Enter your chosen resolution.
; You can leave these at 0 if you want your desktop resolution used instead.
Enabled = true
Width = 5120
Height = 1440
Aaron-Strong commented 7 months ago

That worked great. Thank you for the assistance and for your great work!