Packaged Game Starts Fullscreen
So I recently switched from UE4 7.6 to 16.1, and I'm happy with the new version for the most part, but there's something that was changed that I don't know how to change back. A packaged product from 7.6 would start in Windowed mode (Which I want), but in 16.1, the packaged game starts in Full-screen mode. I don't know where or if there is an option for this. How do I get it back to Windowed mode?
asked Jun 25 '17 at 06:17 PM in Packaging & Deployment
In your Config folder under the root of your project, you can create a DefaultGameUserSettings.ini file; this file is used to tell your game its startup graphics settings. (Once packaged, it will appear to the game as GameUserSettings.ini). To do this, create the above file in the specified location, then put the following text in it (ensure you delete any leading whitespace when copying and pasting):
This will tell your game to by default startup in windowed mode (according to the documentation, 0 is FS, 1 is windowed FS).
NB. Note that the version field is important; it must be 5 for 4.15 (I presume the same in 4.16; it must match the version specified UE_GAMEUSERSETTINGS_VERSION defined in Runtime/Engine/PrivateGameUserSettings.cpp.)
NB. Also note not to put DefaultGameUserSettings.ini in your Saved/Config folder. It must be in Config. It's a really common mistake!
answered Jun 25 '17 at 10:41 PM
you can use the command "fullscreen" to switch between fullscreen and window mode. a quick example: in your level blueprint:
now if you run the game you can switch between fullscreen and window by pressing f12 if you connect the console command to "BeginPlay" Event the switch will happen right after you run the game, which i guess is what you want.
Follow this question
Once you sign in you will be able to subscribe for any updates here