I brought my game project (BP only) over from 4.4.3 to 4.5.1 and now when I package it (haven’t changed anything), all things that I setup in the DefaultGameUserSettings.ini aren’t recognized anymore, again worked just fine with the previous version. Any ideas folks?
When you say that they’re not recognized are you receiving an error message when you try to package? Where are you running into problems and what exactly is happening when you do? The more information you can provide the easier it will be to solve whatever problem you’re having.
There is no error, but the commands of the .ini are apparently not executed anymore, since the packaged game doesn’t start in fullscreen and at 1080p. Which it did when compiled with 4.4.3.
Having the same issue. Before I could use DefaultGameUserSettings.ini or just change GameUserSettings in the WindowsNoEditor build folder to set start resolution and fullscreen on launch. No longer working.
In the project folder, go to the Saved → Config → Windows folder and open the GameUserSettings.ini file. Copy the contents of the file and replace the contents of the Saved → Config → WindowsNoEditor → GameUserSettings.ini file of the packaged game. Make any changes to this file and save it before launching the packaged game again.
When I do the exact steps listed above and launch the cooked game, the GameUserSettings.ini get’s cleared, hence when I open it after launching and exiting the cooked game, it’s empty.
It would be great to have the default resolution settings for the packaged game available in the Project settings in the editor.
I was surprised that the Editor settings for “Play in Standalone Game” didn’t carry over to the packaged game, but even the “play in stand alone game” section doesn’t have a fullscreen option. I had to add “-fullscreen” in Additional launch parameters to get the game to be fullscreen there.
It would be great to have a fullscreen option in the play in standalone game section in the editor.
Hi, after trial and error I found that DefaultGameUserSettings.ini does indeed still work but no longer in the saved folder. Instead you need to put it in:
WindowsNoEditor/ProjectName/Config
This is what worked for me. I realise this question is quite old now, but I’m sure there are plenty of people who are still having this problem.
That doesn’t work for me in 4.8 – I created that folder in the packaged project, added the DefaultGameUserSettings.ini file, but nothing is changed, those settings are not set when launching the game
I just gave it another try in 4.8.3 and it works right away. You shouldn’t create a folder, instead you have to execute the game once and the folder will be created automatically. After you opened the game once, make sure you overwrite the GameUserSettings.ini in the correct folder.
For this test I called the project “fullscreen_test”.
So the correct path is: fullscreen_test → fullscreen_test → Saved → Config → WindowsNoEditor.
I attached my GameUserSettings.ini to this message.link text
Thanks, the Version=5 line was what fixed my packaged build default resolution issue. I created “DefaultGameUserSettings.ini” in my Config folder instead of modifying “GameUserSettings.ini” in Saved/Config.
“Version: All settings will be wiped and set to default if the serialized version differs from UE_GAMEUSERSETTINGS_VERSION”
So if you don’t have the version properly setup in a DefaultGameUserSettings.ini it will think they’re out of date and erase them. Thanks for this fix!
Hmm, I guess it would be too much to ask Epic for a way to tell what version I should use inside the editor? Hell, would love to have a “default settings” part in the project settings so that I don’t have to “guess” the contents.
Lazy I know but since it either works or not sorta annoys me.
I can confirm that creating a file MyProject/Config/DefaultGameUserSettings.ini works as intended in 5.0. If it doesn’t for you, make sure to delete the /Saved folder from the packaged game before testing.