How do I automatically define certain parameters, such as screen resolution?
One way I know of is c++ scripting, I have seen it done in other engines before with that, and it looks up the monitor resolution and sets that as game res. Not sure on another way though.
For things like this there are sometimes settings in the various
I did a quick search and found
system_windows_pc.cfg (in the root folder) with these properties…
r_width = 1280 r_height = 720 r_fullscreen = 0
You can most likely tweak them to determine the default window size if the app isn’t fullscreen.
You might be able to override them by creating a new
user.cfg file and setting them there instead of directly modifying