yvt / openspades

Compatible client of Ace of Spades 0.75
http://openspades.yvt.jp/
GNU General Public License v3.0
1.14k stars 219 forks source link

4K Support #870

Open warestarstuff opened 5 years ago

warestarstuff commented 5 years ago

With a 4k monitor, the game only shows about 1/4 of the game. The r_videoheight and r_videowidth variables in advanced settings don't seem to fix this, either

ebin

yvt commented 5 years ago

Looks like a HiDPI-related issue. According to https://github.com/yvt/openspades/issues/392#issuecomment-215891875, this can be fixed by changing the compatibility options of openspades.exe.

This is a bug on SDL2's side and could be already fixed by now. So, before trying the aforementioned solution, can you try the following?: (1) Download SDL2-2.0.10-win32-x64.zip from SDL2's website. (2) Replace SDL2.dll included with OpenSpades with the new version from the downloaded ZIP file.

(SDL2.dll included with OpenSpades is quite old and known to cause various problems like #802.)

Kurtoid commented 5 years ago

I found using the compatibility settings and changing the "Scaling done by" to "Application" helped

warestarstuff commented 5 years ago

The DLL fix doesn't seem to work, it just crashes the game ohno

however Kurtoid's fix seems to work perfectly

yvt commented 5 years ago

(1) Download SDL2-2.0.10-win32-x64.zip from SDL2's website.

Correction: I'm sorry, this actually should be SDL2-2.0.10-win32-x86.zip.