Frithjof Grude Posted March 18, 2021 Report Posted March 18, 2021 So, I have a 4k monitor (3840x2160) and the game starts in that resolution (desktop resolution). I wonder if there is a way to change resolution, from within the game perhaps? I want to have the game run in FullHD (1920x1080). Do I have to change the desktop resolution before I start the game?
Streetwind Posted March 18, 2021 Report Posted March 18, 2021 You can try playing with the internal render resolution slider in the graphics options, but I don't think it'll give you the same result. I think right now you actually need to switch your desktop resolution, yes.
Frithjof Grude Posted March 18, 2021 Author Report Posted March 18, 2021 (edited) Thanks, I'll try that next. After asking on discord I was pointed to the in-game command ".resolution" which is marked undocumented in the wiki. .resolution 1920 1080 This caused the game to occupy a quarter of my desktop. Not ideal. I had expected it to actually switch display resolution. Edited March 18, 2021 by Frithjof Grude
Streetwind Posted March 18, 2021 Report Posted March 18, 2021 (edited) Yeah, this likely sets the window size, not the display resolution. Many games take over the screen when you run them, which allows the game to dictate the display resolution. Vintage Story doesn't do that. I have had experience with this in an older version, where the native Windows UI scaling was mistakenly being applied to the ingame UI - and poorly so, leading to nearly unreadable font. Since I also have a fairly high DPI display, I always have UI scaling active, and I couldn't properly play VS until I turned it back to 100%. Tyron came through and fixed that issue So nowadays everything works just fine for me. But as you can see, the game really has no control over the display resolution, and always inherits what the OS prescribes. I don't think that can easily be changed, either. Why do you want to run at 1080p, by the way? Maybe there's a workaround. Edited March 18, 2021 by Streetwind
Frithjof Grude Posted March 18, 2021 Author Report Posted March 18, 2021 I'm a software developer. If the game does Direct3D calls directly, then it's a matter of setting refreshrate to the monitor's refreshrate (can be enumerated with DXGI) and setting fullscreen to true. (Or windowed to false if Direct3D9). There might be problems on a multi-monitor setup though, so that requires extra fiddling with the window. Doing windowed fullscreen is easier to deal with for the developer than exclusive fullscreen, but it may reduce the performance of the game. Besides the obvious fact that you can't have a different resolution than your desktop.
Recommended Posts