This would play so great on Win XP with CRT. Too bad it doesn't run ๐
Well, nevermind, the included d3d9.dll was causing the issue. Just deleted it and the game runs fine ๐
TL;DR - you shouldn't need it.
I think the `d3d9.dll`, the original system file, is not even allowed to be distributed ๐ค
The included file seems to come from Windows 10, so actually it may cause issues on different OS versions, because it overrides the file already provided by the OS.
There are few articles that explain that topic:
The one official from MS, which can be confusing IMO - https://learn.microsoft.com/en-us/windows/win32/dxtecharts/directx-setup-for-gam...
And a subjectively better one: https://walbourn.github.io/not-so-direct-setup/
The only thing that could benefit from having this real file is Wine (Linux), I think. That way it could use real Microsoft code instead of shims, thus improving compatibility.
But still, I don't think it should be included in the application package.