Page 1 of 1

Enable compatibility for HiDPI ("Retina") displays on macOS

Posted: Sun Apr 29, 2018 8:33 pm
by randomizer52
TL;DR
Add one key-value pair in Info.plist to enable non-pixellated native HiDPI mode on macOS.

What ?
In /Applications/factorio.app/Contents/Info.plist, add the following:

Code: Select all

<key>NSHighResolutionCapable</key>
<true/>
Why ?
This enables high-DPI mode on Mac apps. Factorio actually works very well with this mode enabled; after changing Options > Interface > UI Scale to 200%, the game displays perfectly on my 4k monitor running in 1080p HiDPI.
This is a very simple change with drastic effects on the polish and feel of the application.

For comparison, see attached screenshots (both 4k). View in native file size to see the difference.

To test locally, edit /Applications/factorio.app/Contents/Info.plist as detailed above, then execute

Code: Select all

sudo touch /Applications/factorio.app
in Terminal. This breaks Gatekeeper, of course, so you have to manually approve the edited application.