x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

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?

Product Version: UE 4.16
Tags:
more ▼

asked Jun 25 '17 at 06:17 PM in Packaging & Deployment

avatar image

Spishy
76 4 6 14

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

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):

 [/Script/Engine.GameUserSettings]
 FullscreenMode=2
 Version=5

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!

https://docs.unrealengine.com/latest/INT/API/Runtime/Engine/GameFramework/UGameUserSettings/index.html

more ▼

answered Jun 25 '17 at 10:41 PM

avatar image

DerPurpelHelmut
526 8 12 25

avatar image Spishy Jun 26 '17 at 02:08 AM

Thank you this was very helpful!

avatar image MaxPainDigx May 04 '18 at 03:11 PM

Does this make it the default for every game owner ?

Would it not be better to have either command line parameters or an ini file somewhere that i could create to get the screen/window behavior i want ?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

you can use the command "fullscreen" to switch between fullscreen and window mode. a quick example: in your level blueprint:

  1. from input>keyboard Events add "F12" key

  2. Add an "Execute Console Command" node

  3. in command section write "fullscreen"

  4. connect F12 to Execute console command

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.

more ▼

answered Jun 25 '17 at 07:18 PM

avatar image

m-motion
16 3 4 9

avatar image MaxPainDigx May 04 '18 at 02:40 PM

Should not need to bind a key, for me F11 does this by default.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question