- Create a new configuration file
Projects\<ProjectName>\Config\DefaultGameUserSettings.ini
. - Write the following content:
[/Script/Engine.GameUserSettings] bUseVSync=False ResolutionSizeX=1334 ResolutionSizeY=750 WindowPosX=-1 WindowPosY=-1 bUseDesktopResolutionForFullscreen=False FullscreenMode=2 Version=5
- Restart the editor.
- If you skip this step, the config you wrote will not be effective in the final packaged content.
- Package for Windows.
- After running the Windows package, you can view
build\WindowsNoEditor\<ProjectName>\Saved\Config\WindowsNoEditor\GameUserSettings.ini
.
Note: Various items such as LastConfirmed
are automatically managed in Saved
. You don’t need to write them in the project ini file.