Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MM9] [Dinputto8] 3D to 2D mode switch takes ages (cshell.dll fix does not work) #336

Open
iftifn opened this issue Jan 28, 2025 · 3 comments

Comments

@iftifn
Copy link

iftifn commented Jan 28, 2025

Might and Magic 9 has known problem when switching from 3D scene to 2D interface (opening any UI menu). There is specific cshell.dll file which fixes the issue (I attached the file to this issue).

I have tried a lot of other libraries: dgVoodoo2, DDrawCompact, WineD3D, DxWnd. Absolutely no success. Symptoms: small black window and game closes.

With DxWrapper, I have to enable Dinputto8 in order for game to launch on my laptop. I have found this because others succeeded by disabling or disconnecting certain devices for game to work.

Unfortunately, when I enable DInput wrapper, cshell.dll fix does not work. I have tried to add this dll to config sections:
LoadCustomDllPath = cshell.dll
and even
RealDllPath = cshell.dll

In the end, I am able to launch and play game. But it is virtually useless, because every UI open results in ~20s freeze.

Please advice what can be done.

9_cshell.zip

@elishacloud
Copy link
Owner

I don't think LoadCustomDllPath or RealDllPath will help in this case since this is just a game patch file. Have you tried copying the cshell.dll file into the \Might and Magic IX\data\ directory, replacing the existing cshell.dll file?

@iftifn
Copy link
Author

iftifn commented Jan 28, 2025

No, I have not tried to replace original file.

Unfortunately, I deleted all DxWrapper files and reinstalled game. I have found, that you have separate project with dinput.dll wrapper. And I want to thank you! It works as charm! And cshell.dll fix works as usual.

This project is also awesome! So much better than any other library out there. Will try full DxWrapper again when there is more Dd7to9 support added.

Thanks for your awesome work!

@elishacloud
Copy link
Owner

Great. I am glad you got this working. I don't have means to test this game right now but I will look into this when I get a chance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants