narzoul / DDrawCompat

DirectDraw and Direct3D 1-7 compatibility, performance and visual enhancements for Windows Vista, 7, 8, 10 and 11
BSD Zero Clause License
952 stars 70 forks source link

Theocracy Create DirectDraw failed error message #349

Closed szombi closed 2 months ago

szombi commented 2 months ago

Hey!

I just found your tool. I am trying to find something that can run Theocracy in windowed mode (info: https://www.pcgamingwiki.com/wiki/Theocracy) This is a pretty old game. I tried all install methods on the wiki and only the Method 4 worked with a manifest. When I try to start the game I see an error: Create DirectDraw failed. I didn't create any configuration for DDrawCompat, so I went with the default ones, and I attached the logs file. I'm using Windows 10 with the latest updates. I tried to check the old issues here in Git Hub, but I didn't find any error message like this. Any idea about this error? Thanks in advance!

image DDrawCompat-theocracy-0.6.85.log

narzoul commented 2 months ago

The game is using ddrawex.dll (first time I see that), which seems to have a version check for the ddraw.dll file, but it's checking DDrawCompat's dll instead of the system dll. I fixed it in v0.5.4.

Note that DDrawCompat doesn't have any features to force fullscreen games to windowed mode, and probably won't have in the near future either. You should try something like DxWnd for that.