It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
avatar
Mcbaker2019: Gattz13: I am having the same trouble that you were once having. I have windows 10 and can't seem to find where your talking about. Can you please help me Thanks
In the game's main menu, select Options, then Video Options.
avatar
Mcbaker2019: Gattz13: I am having the same trouble that you were once having. I have windows 10 and can't seem to find where your talking about. Can you please help me Thanks
avatar
ZFR: In the game's main menu, select Options, then Video Options.
ZFR I did what you said and what doe Primary Display Driver mean or should it even be there? Thanks for the Help
avatar
ZFR: In the game's main menu, select Options, then Video Options.
avatar
Mcbaker2019: ZFR I did what you said and what doe Primary Display Driver mean or should it even be there? Thanks for the Help
Yes, I have 2 options under Video Card. One is Primary, the other Nvidia.
avatar
Mcbaker2019: ZFR I did what you said and what doe Primary Display Driver mean or should it even be there? Thanks for the Help
avatar
ZFR: Yes, I have 2 options under Video Card. One is Primary, the other Nvidia.
but on mine it only has the Primary Display so what or how else can I do. Thanks
avatar
ZFR: Yes, I have 2 options under Video Card. One is Primary, the other Nvidia.
avatar
Mcbaker2019: but on mine it only has the Primary Display so what or how else can I do. Thanks
Do you actually have an nVidia graphics card in your PC?
I guess not I have tried to download a NVIDIA Driver and I can't fine one that is compatible with my computer at lease that's what it said. So I don't know what else to do?
avatar
Mcbaker2019: I guess not I have tried to download a NVIDIA Driver and I can't fine one that is compatible with my computer at lease that's what it said. So I don't know what else to do?
Did you try using Mok's cshell.dll from the link here?
http://telp.org/mm9/tavern/anyboard/posts/41946.html


EDIT:
Also, if you haven't alredy done so, contact Support.
Post edited May 06, 2020 by ZFR
I solved this issue several months ago in DDrawCompat. From what I remember, certain video card drivers don't return the correct diffuse color when using D3DTA_DIFFUSE in SetTextureStageState, if the RHW component of transformed vertices is 0. Granted, 0 is an invalid value (the reciprocal of something can't be zero), so the game shouldn't set it to such. Some drivers don't care about this, but others just return black instead.

Anyway, the latest experimental release of DDrawCompat should solve it: https://github.com/narzoul/DDrawCompat/releases

I haven't re-tested this particular issue in a while, but hopefully the fix still works.
avatar
narzoul: I solved this issue several months ago in DDrawCompat. From what I remember, certain video card drivers don't return the correct diffuse color when using D3DTA_DIFFUSE in SetTextureStageState, if the RHW component of transformed vertices is 0. Granted, 0 is an invalid value (the reciprocal of something can't be zero), so the game shouldn't set it to such. Some drivers don't care about this, but others just return black instead.

Anyway, the latest experimental release of DDrawCompat should solve it: https://github.com/narzoul/DDrawCompat/releases

I haven't re-tested this particular issue in a while, but hopefully the fix still works.
I'm trying to apply your suggested fix but I'm unsure I'm doing it right. I'm not familiar with coding or programming, is there a simple explanation for what you did to fix this? I'm having the black screen at night and underwater as well.

I tried to replace the destination file, but now my game won't even start.
Post edited May 14, 2020 by Dashiefan101
avatar
Dashiefan101: I'm trying to apply your suggested fix but I'm unsure I'm doing it right. I'm not familiar with coding or programming, is there a simple explanation for what you did to fix this? I'm having the black screen at night and underwater as well.

I tried to replace the destination file, but now my game won't even start.
Just extract the ddraw.zip file and copy the extracted ddraw.dll to your MM9 directory (where lithtech.exe is).
I guess you already did that since you overwrote an existing file (probably GOG's own DirectDraw wrapper). I hope you made a backup of the original file first. :) Otherwise, you can restore it with Galaxy.

What does "won't even start" mean exactly? Does it crash? Does it show a black screen? Does that close automatically?

Which version of Windows are you using? And what kind of GPU?

If you have G-Sync enabled, you might have to disable it. Otherwise, please copy the contents of DDrawCompat-lithtech.log here. It should be in the game folder now.
Post edited May 14, 2020 by narzoul
avatar
Dashiefan101: I'm trying to apply your suggested fix but I'm unsure I'm doing it right. I'm not familiar with coding or programming, is there a simple explanation for what you did to fix this? I'm having the black screen at night and underwater as well.

I tried to replace the destination file, but now my game won't even start.
avatar
narzoul: Just extract the ddraw.zip file and copy the extracted ddraw.dll to your MM9 directory (where lithtech.exe is).
I guess you already did that since you overwrote an existing file (probably GOG's own DirectDraw wrapper). I hope you made a backup of the original file first. :) Otherwise, you can restore it with Galaxy.

What does "won't even start" mean exactly? Does it crash? Does it show a black screen? Does that close automatically?

Which version of Windows are you using? And what kind of GPU?

If you have G-Sync enabled, you might have to disable it. Otherwise, please copy the contents of DDrawCompat-lithtech.log here. It should be in the game folder now.
I do have a backup of the original file yes, and the game launches, but is a black screen, never shows the intro, and then closes itself. I'm using Window 10 home, and my specs include an intel core i5 9th gen, with an NVIDIA Geforce GTX chip.

As for the log you requested, here.

2ea4 20:03:24.616 Process path: C:\Program Files (x86)\GOG Galaxy\Games\Might and Magic 9\lithtech.exe
2ea4 20:03:24.618 Environment variable __COMPAT_LAYER = "DetectorsMessageBoxErrors HighDpiAware"
2ea4 20:03:24.618 Loading DDrawCompat dynamically from C:\Program Files (x86)\GOG Galaxy\Games\Might and Magic 9\DDRAW.dll
2ea4 20:03:24.621 DDrawCompat loaded successfully
2ea4 20:03:24.621 Installing display mode hooks
2ea4 20:03:24.623 Installing registry hooks
2ea4 20:03:24.623 Installing Direct3D driver hooks
2ea4 20:03:24.623 Installing Win32 hooks
2ea4 20:03:24.635 Hooking user mode display driver: C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_d9c21d7d43c1adb3\igdumdim32.dll
2ea4 20:03:24.658 Installing DirectDraw hooks
2ea4 20:03:24.664 Installing Direct3D hooks
2ea4 20:03:24.684 Installing GDI hooks
2ea4 20:03:24.717 Finished installing hooks
2ea4 20:03:37.023 Detaching DDrawCompat due to process termination
2ea4 20:03:37.023 DDrawCompat detached successfully
Post edited May 15, 2020 by Dashiefan101
Based on your logs, the game is actually loading Intel graphics drivers, not Nvidia. I guess you have a laptop with Optimus then? In that case, it's normal.

I retested the fix with my Intel GPU, but unfortunately I cannot reproduce the issue you're having. I will likely need debug logs and the crash dump from you to investigate further.

But first, you could try a few other things. If you're using any game recording or overlay tools, try exiting those first. If you're running the game through Galaxy, try launching it directly from litchtech.exe instead. If that still doesn't work, you can also try renaming lichtech.exe (e.g. to lithtech2.exe) and launching with that.

Otherwise, if you're willing to assist me further with debugging this, please get the debug logs and the crash dump as follows:
To get debug logs, download ddraw-debug.zip instead of ddraw.zip, and use the ddraw.dll from the ReleaseWithDebugLogs directory in that one. The log file name will be the same as now.
To get a crash dump also, you can follow my instructions in this comment:
https://github.com/narzoul/DDrawCompat/issues/50#issuecomment-520162844
You can upload them to the following GitHub issue (or a new issue): https://github.com/narzoul/DDrawCompat/issues/48, or you can arrange another method of sharing them by sending me a PM.
Post edited May 15, 2020 by narzoul
Just to update on this issue: Dashiefan101's problem with DDrawCompat is that his system doesn't support 800x600 display resolution for some reason. The game works for him with the original ddraw.dll (supplied by GOG) because it upscales the game to the desktop resolution, so it doesn't need a display mode switch. See the details here:
https://github.com/narzoul/DDrawCompat/issues/67
Post edited May 18, 2020 by narzoul
avatar
narzoul: Just to update on this issue: Dashiefan101's problem with DDrawCompat is that his system doesn't support 800x600 display resolution for some reason. The game works for him with the original ddraw.dll (supplied by GOG) because it upscales the game to the desktop resolution, so it doesn't need a display mode switch. See the details here:
https://github.com/narzoul/DDrawCompat/issues/67
I was about to give up, but then on an impulse thought, I remember that I still had the original GOG ddraw.dll. I dragged that back into the game files and kept dgVoodoo2 as it was, and now the game runs perfectly. Thanks for your help, I really appreciate it!
Oh, that's interesting. I guess the way that works is that GOG's ddraw.dll wrapper converts Direct3D 7 to 9, and dgVoodoo's D3D9.dll wrapper converts Direct3D 9 to 11. Well, whatever works. :)