Closed Asmedian closed 1 month ago
This mod is shipped with another directdraw wrapper which is named "zdraw" - cnc-ddraw and zdraw fighting each other and both trying to hook the same functions. I can't really fix it, you would have to ask the dev of zdraw if he could change his hooks or maybe remove zdraw completely (is it even needed?)
It looks like they're fighting only over 2 hooks "CreateWindowExA" and "GetDeviceCaps", these both are not important in HoMM3 for cnc-ddraw so I could just remove them for you (I need these for other games though, so I can't remove them completely from cnc-ddraw)
Thanks for the quick solution, i'll use this version for now. And in the future i hope to get rid of zdraw.
There is one more question. When press f4, the game changes windowed/fullscreen mode. But even in the fixed version, when switch the mode: start full screen->f4->windowed, the screen becomes black and need to return full screen in the game by pressing f4. It can be fixed?
I just enabled the cnc-ddraw windowed on F4 with this build instead, seems to be working fine
The game starts, there is sound, the buttons respond by sound, but instead of an image there is a black screen. The latest working version is 5.4 on which everything works. I would like a fix to always use the latest version.
Game: https://github.com/HeroesLauncher/mop/releases