Closed nick87720z closed 1 month ago
Hi, when you choose the resolution from within the game it will set the console variable vid_mode to the selected video mode, when that happens the game will ignore both vid_height and vid_width (even if it updates them when saving config.cfg) if you want to use a custom resolution set vid_mode to -1 to tell the game to not use any of the default modes then set vid_height and vid_width to the desired values
Thanks, this helped. That variable is in config file, though i would never notice it without hint) (may be only occasionally doing diff for old/new configs).
@DarkRainX can you help me?? who i need contact to register in the forum ?
ufoai trunk was compiled at 24.10.2017. But still exists. The begining is that i tried to write custom resolution (1600x900) to config.cfg, since it is not in menu. However, on game restart it is overwritten to previous value (for now the closest resolution i can have without truncation is 1440x900, with disabled stretching).
Today i tried first time to track, how config.cfg changes during ufo run.
Monitoring file: ~/.ufoai/2.6-dev/base/config.cfg Initial resolution (after previous attempts): 1152x864 (both was selected in game, now written in config.cfg)
It seems, that it stores resolution somewhere else, but i failed to find it even with strace.
Other written files don't have new resolution values.
Probably not only resolution is affected, there is report at forum, made with point to discuss before to report at bugtracker: https://ufoai.org/forum/index.php/topic,9131.0.html