How to make the packaged program run in window (instead of full screen)?

I tried many methods provided online the most typical method is to modify DefaultGameUserSettings.ini, but it didn’t work. How to solve it?

Thanks!

If you haven’t written a menu system for the packaged game, which will change the window size, then you can use a console command:

r.setres 1024x768w

for example. The w is for windowed.

This causes me to ask several questions:

  1. Why would a menu system matter?
  2. How do you “use a console command”?
  3. When should the console command be executed?

See my point?

Why would a menu system matter?

Users don’t appreciate typing console commands.

How do you “use a console command”?

Press ` and type it

When should the console command be executed

When you want to