elishacloud / dxwrapper

Fixes compatibility issues with older games running on Windows 10/11 by wrapping DirectX dlls. Also allows loading custom libraries with the file extension .asi into game processes.
zlib License
1.15k stars 82 forks source link

Star Trek Armada: in game bik video not rendered correctly #246

Closed yochenhsieh closed 3 months ago

yochenhsieh commented 6 months ago

OS: Windows 11 Armada-fix: 2023/10/03 (use Dd7to9) dxwrapper.dll 1.1.6900.22

Can be observed in Federation mission 3, or any other mission that played bik video. Armada 2023-12-27 23-31-08-83

Normal: Armada 2023-12-27 23-37-00-04 The normal screenshot was using 2023/04 fix (use DDrawCompat) dxwrapper.dll 1.0.6615.21

elishacloud commented 6 months ago

That is the same thing that happens in #241 and #94. It is a known issue with a number of Direct3D games when using dd7to9. You could try disabling high DPI and seeing if that helps. It has helped in some cases.

yochenhsieh commented 6 months ago

High DPI was already disabled here. (Never enabled it before) Any other option in dxwrapper that could help this?

elishacloud commented 6 months ago

I don't think there are any settings in dxwrapper that can fix this right now. It seems like the issue is that the game keeps writing to the same surface on top of itself causing it to be washed out. I believe I need to clear the surface before letting the game write to the surface again. I am just not quite sure what is the trigger to know when to clear the surface. I plan to look into this later.

elishacloud commented 3 months ago

This issue should be fixed in the latest build. You can download it here: dxwrapper.zip

yochenhsieh commented 3 months ago

Confirmed this is fixed in above build. Thank you!!

elishacloud commented 3 months ago

Ok, thanks. Closing issue.