Posted May 04, 2020
ZFR
I love gold!
ZFR Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Jan 2010
From Ireland
Mcbaker2019
New User
Mcbaker2019 Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Jun 2019
From United States
Posted May 04, 2020
ZFR I did what you said and what doe Primary Display Driver mean or should it even be there? Thanks for the Help
ZFR
I love gold!
ZFR Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Jan 2010
From Ireland
Mcbaker2019
New User
Mcbaker2019 Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Jun 2019
From United States
Posted May 04, 2020
ZFR
I love gold!
ZFR Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Jan 2010
From Ireland
Mcbaker2019
New User
Mcbaker2019 Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Jun 2019
From United States
Posted May 06, 2020
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?
ZFR
I love gold!
ZFR Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Jan 2010
From Ireland
Posted May 06, 2020
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
narzoul
New User
narzoul Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Mar 2011
From Hungary
Posted May 11, 2020
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.
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.
Dashiefan101
New User
Dashiefan101 Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Mar 2018
From United States
Posted May 14, 2020
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. 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 tried to replace the destination file, but now my game won't even start.
Post edited May 14, 2020 by Dashiefan101
narzoul
New User
narzoul Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Mar 2011
From Hungary
Posted May 14, 2020
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 tried to replace the destination file, but now my game won't even start.
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
Dashiefan101
New User
Dashiefan101 Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Mar 2018
From United States
Posted May 15, 2020
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.
narzoul: Just extract the ddraw.zip file and copy the extracted ddraw.dll to your MM9 directory (where lithtech.exe is). I tried to replace the destination file, but now my game won't even start.
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.
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
narzoul
New User
narzoul Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Mar 2011
From Hungary
Posted May 15, 2020
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.
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
narzoul
New User
narzoul Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Mar 2011
From Hungary
Posted May 18, 2020
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
https://github.com/narzoul/DDrawCompat/issues/67
Post edited May 18, 2020 by narzoul
Dashiefan101
New User
Dashiefan101 Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Mar 2018
From United States
Posted May 21, 2020
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!https://github.com/narzoul/DDrawCompat/issues/67
narzoul
New User
narzoul Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Mar 2011
From Hungary
Posted May 21, 2020
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. :)