kirides / GD3D11

D3D11-Renderer for Gothic and Gothic 2
GNU General Public License v3.0
200 stars 18 forks source link

Game automatically stretches to fill the monitor in windowed mode #123

Closed ezamelczyk closed 1 year ago

ezamelczyk commented 1 year ago

Describe the bug When in Windowed or Fullscreen Borderless mode the game fills the full monitor no matter what resolution is set.

To Reproduce Steps to reproduce the behavior:

  1. Launch the Game
  2. Set game to fullscreen borderless or windowed and change resolution to lower than native
  3. Game fills the whole screen anyway

Expected behavior The game should not resize itself. If I want to see the game in 10x10 resolution it should use only 100 pixels of my screen.

Screenshots If applicable, add screenshots to help explain your problem.

Please complete the following information):

Additional context Every other game allows me to display the game in 1920x1080 on my ultrawide monitor with black bars but here I can only do this in fullscreen exclusive mode which does not work for me cause I also use the available space to display other things like twitch activity and chat.

kirides commented 1 year ago

See Gothic\System\GD3D11\UserSettings.ini

Modify the setting

[Display]
StretchWindow=1

and set it to 0 - the window should not be stretched anymore

Feel free to re-open this issue if it doesn't help.