Borderlands 2 – How to Get Borderlands 2 to Render in 4K

borderlands-2

I recently bought a 4k screen and wanted to play Borderlands 2 in my new screen's native resolution. For some reason every time I launch the game it resets my resolution to 2560×1440.

I've tried changing the resolution ingame and through the launcher, and even made the config file read-only, but to no avail.

How do I get Borderlands 2 to render in 4k?

Best Answer

I noticed setting the resolution to 4k ingame made the game look worse than when it rendered in 2560x1440, so I had a hunch the game was rendering in 4k and scaling the graphics back down to 2560x1440; typical scaling behavior on high DPI screens.

So what I did was force Windows to stop scaling the game. There are 2 ways to do this (works for any app, not just games).


Use compatibility mode to turn scaling off

This method is quickest and easiest to do.

  • Right click on the .exe or the shortcut to the .exe, and select Properties. Keep in mind that shortcuts created by Steam don't point to the .exe, so you'll need to find the actual .exe instead, for instance: C:\Program Files (x86)\Steam\SteamApps\common\Borderlands 2\Binaries\Win32\Borderlands2.exe.
  • Switch to the "Compatibility" tab and check "Disable display scaling on high DPI settings".

Add an exception to the registry

Simply copy the following code...

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]
"C:\\Program Files (x86)\\Steam\\SteamApps\\common\\Borderlands 2\\Binaries\\Win32\\Borderlands2.exe"="HIGHDPIAWARE"

... into a regular text file and change the text file's extension from .txt to .reg, then double-click the file to execute it. You might need to accept and provide elevated privileges.

The advantage of the registry approach, is that you can keep the registry file around and execute it on any device where you might need it. Most useful when you buy or build a new PC and want a quick way to solve all your scaling-related issues on your new machine. Simply expand the registry file like this:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]
"[path to app 1]"="HIGHDPIAWARE"
"[path to app 2]"="HIGHDPIAWARE"
"[path to app 3]"="HIGHDPIAWARE"

and so on.