Divinity: Dragon Commander

Divinity: Dragon Commander

Not enough ratings
Resolution fix, custom refresh rate
By schdnhld
For custom resolution or refresh rate, or when your video options reset to default
   
Award
Favorite
Favorited
Unfavorite
1.
Will help for widescreen or overclocked refresh rate.
2.
Set "windowed" in-game video settings first and then go to graphicSettings.lsx.

All you need to do is to edit graphicSettings.lsx (open using notepad) and change a couple of things:

1) lock update frequency (put "1" in value)

<node id = "ConfigEntry">
<attribute id = "MapKey" value = "CapFramerate" type = "22" />
<attribute id = "Type" value = "0" type = "5" />
<attribute id = "Value" value = "1" type = "4" />
</node>

2) enter your refresh rate (I have 144, so I entered 144, by default it will be 60)

<node id = "ConfigEntry">
<attribute id = "MapKey" value = "FrameCapFPS" type = "22" />
<attribute id = "Type" value = "0" type = "5" />
<attribute id = "Value" value = "144" type = "4" />
</node>

3) and finally set your resolution

<node id = "ConfigEntry">
<attribute id = "MapKey" value = "ScreenHeight" type = "22" />
<attribute id = "Type" value = "0" type = "5" />
<attribute id = "Value" value = "1080" type = "4" />
</node>
<node id = "ConfigEntry">
<attribute id = "MapKey" value = "ScreenWidth" type = "22" />
<attribute id = "Type" value = "0" type = "5" />
<attribute id = "Value" value = "1920" type = "4" />
</node>

Check, it should work!
P.S.
Do NOT forget to set graphicSettings.lsx properties to READ ONLY. This one is important. Every time you launch game you just need to switch it to Fullscreen mode in video settings. That's all. Otherwise you will face problem with resolution again.