narzoul / DDrawCompat

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

Bitmap Brothers Z95 / Z Expansion XP now working but with menu flickering #196

Closed d3vilsadvocate closed 2 months ago

d3vilsadvocate commented 1 year ago

Thanks to DDrawCompat the old game Z95 / Z Expansion XP now works on Windows now works on WIndows 11.

All that is needed is Antares' installer, WinZMod and this ddraw file. WinZMod.exe then runs just fine.

However, the main menu is flickering like crazy while the main game is running totally fine. Any idea as to why that would be? I have to click my way through the menu using keyboard commands but at least it works...

I went through all the settings that can be changed according to the Wiki but it won't change anything.

Any help appreciated.

narzoul commented 1 year ago

Someone must have thought that changing the display mode every time a WM_PAINT event is received must be a good idea.

It seems like it would take a lot of effort to "properly" fix this on DDrawCompat side, for now I just made a quick workaround: ddraw.zip (diff.txt compared to v0.4.0)

It works fine other than some minor glitches in the main menu, e.g. the background image takes a while to load. But at least there's no more flickering.

d3vilsadvocate commented 1 year ago

How wow you're a genius. Thanks, the game is almost flawless now.

I'll put up a guide on GOG/Steam/VOGONS, a few abandonware websites soon.

narzoul commented 2 months ago

Fixed in v0.5.2.