How can I set a standard resolution for a distribution build?

Hi there,

I’m looking for a way to have my project start up at a specific resolution on the end user’s computer. Let’s say the first time they run the project it starts at 800x600 (or whatever else).

I read about changing .ini files to achieve this but the files don’t seem to be in the packaged build’s folder…

Is there a way to set this up before packaging for this particular project or even globally?

In your project directory you have Config/ you have your game default/first run configuration , in Saved/Config/Windows you have your current configuration saved from your tests in editor, there you can find GameUserSettings.ini with this:

[/Script/Engine.GameUserSettings]
bUseVSync=False
ResolutionSizeX=1280
ResolutionSizeY=1024
LastUserConfirmedResolutionSizeX=1280
LastUserConfirmedResolutionSizeY=1024
WindowPosX=-1
WindowPosY=-1
bUseDesktopResolutionForFullscreen=False
FullscreenMode=2
LastConfirmedFullscreenMode=2
Version=5

So to make those default you make DefaultGameUserSettings.ini in Config/ paste it and set as you want and save, then when you package engine should pick those as default config

Cool stuff, that works fine!
Thanks a lot :slight_smile: