sfall-team/sfall

Aspect ratio in dx9 fullscreen window

egornovivan opened this issue · 0 comments

I tried to find and fix this problem in the code, but I still couldn’t understand what caused it. This problem is clearly visible on monitors with an aspect ratio of 5:4. To make debugging easier on modern monitors, I prepared a VMware virtual machine.

https://drive.google.com/file/d/1jOSJg2IcX5XPA3ktxYP6HUG-rcZR3iE-/view?usp=sharing

Login password 1234

It was installed

  • Win 10 LTSC x64
  • Fallout 2 CD US
  • Patch 1.02d
  • sfall 4.4.3.1
  • in ddraw.ini it is set to mode=6 and resolution 1280x720

In autoload and on the desktop placed SetRes.cmd, which sets the screen resolution to 1280x1024 (this is done for the reason that VMware itself sets the resolution as it deems necessary)

All modes from 1 to 5 look working, but mode 6 stands out from them