UFO:Alien Invasion
Technical support => Windows => Topic started by: Sarin on June 16, 2014, 12:10:33 pm
-
So, I dropped in once again to check how's the game progressing...so I installed 2.5 latest, and found an odd thing. In resolution selection, my screen's 1366x768, quite a common resolution for laptops, is missing. Is this an oversight, bug in installation or intentional?
-
Iirc this is a problem after the game switched to using SDL2, but I might be wrong.
You should be able to manually edit the game´s config file to solve the problem.
-
Yes, same thing happened to me!
How can I change the resolution manually?
thanks
-
Where to find the UFO:AI config.cfg file. (http://ufoai.org/wiki/FAQ#General)
Use a raw text editor to change the video settings:
set vid_height "1200" a
set vid_width "1920" a
-
I have the same request. Please add 1366x768 to the standard resolutions.
I tried editing config.cfg manually to add
set vid_width "1366" a
set vid_height "768" a
...but it's ignored, the next time you start the game it reverts automatically to whatever resolution you were using before, and config.cfg gets automatically overwritten with that resolution.
(edit) I even tried to make config.cfg read-only. It then doesn't get rewritten, but the game still doesn't come up at 1366x768 but rather at the previous resolution I had used (in my case, 1152x768 because save the native resolution of my laptop this is the one that gives me the most pixels)
-
set vid_mode -1 is missing
please make a ticket for that - otherwise we might forget it again - which would be a shame.
-
FWIW I tried the latest nightly build of 2.6-dev and it has the same issue.
-
included in 2.6-dev
-
Hi,
returning to UFO-AI from a 1.5 years break I'm facing the same problem.
(Native resolution is 1366*768)
Even worse, if I choose another (non native) resolution my screen isn't centered anymore.
Checking the center-view control-box doesn't help either (no surprise as this option is gameplay related).
Really sad
- Magniff
EDIT:
Game Version: UFO-AI 2.6 (2014. July 04)
-
included in 2.6-dev
Indeed, I did a git pull then recompiled, and it shows up. Thanks!
The only (minor) problem with running a git-based locally compiled version is that the package seems to be missing smpeg.dll which I had to find and download manually (www.meduniwien.ac.at/user/michael.zellhofer/ufoai/libs/smpeg-0.4.5.7z) before the binary would run.
-
Great job,
just downloaded the recent nightly build (July 7 2014) and as promised the 1366*768 resolution is included now.
If I select another resolution like 1152*768, the Screen will still not be centered. But, as it is centered for 1366*768, thats just a minor issue.
Thank a lot everybody involved (Mattn, Dev. Team, etc.) -
Magniff
-
I can confirm that non-native resolutions are off-center; but as the native resolution gives well centered image, that's mostly a non-issue. Unless you're masochistic and run non-native resolutions on purpose (and then centering is the least of the problems anyway)
-
I used the vid_ command on console and "works", but not well. In fact, when i config the 1366 x 768, the screen begun to be deformed.
-
try to use vid_stretch cvar with 1