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
moranms: I created a launcher application to restore CD soundtracks for games that had the winmm.dll issue in Windows 10 (such as HoMM2). Let me know if you have any issues. http://www.filedropper.com/launchwithwinmm

Usage:

Place BOTH the LaunchWithWinMM.exe file and oggwinmm.dll inside the game directory. Remove winmm.dll from the game directory if it exists!

From a command prompt or batch file: LaunchWithWinMM.exe "NameOfGameExe"

Eg, LaunchWithWinMM.exe HEROES2W.EXE

You will need the VC++ redistributable for Visual Studio 2015, available here:
https://www.microsoft.com/en-us/download/details.aspx?id=48145

Note: This oggwinmm.dll is based on the publicly available ogg-winmm library on GitHub. If GOG has distributed modified versions for some games, my version may not work at all for that game. I've tested my version with both HoMM2 and X-Wing 98, both seem fine.
avatar
ZellSF: Any chance for a repuload? Anyone?

Also if possible, source code?
http://www.filedropper.com/homm2win10fixes

It contains two fixes:

1) ddraw.dll, makes Heroes2 use Direct2D/DirectX11 instead of deprecated DirectDraw calls. Allows me to start full screen without any weird issues, but YMMV. If you want to use it, just drop it in the Heroes2 game folder.

2) winmm.dll. Fixes the winmm issue with Windows 10 so Heroes2 will start. Also includes an additional change that resume the CD tracks from where they left off, instead of restarting from the beginning (the original, non-GOG version with the CD resumes the music. The GOG version resets to the beginning of the track. My fix restores the resume ability). If you want to use it, just drop it in the Heroes2 game folder. Ignore the previous directions about LaunchWithWinMM.exe - that's no longer needed.

Both require the Visual Studio 2015 Runtime Redistributable for x86 available here: https://www.microsoft.com/en-us/download/details.aspx?id=48145


avatar
FuraxLeVeneur: Quicky testing => no issues, workpefectly !!!

After hard testing => no game crash :) Three issues (not blocking) :

- some little graphical artifact in castel. Under mouse pointer some square apear with other pattern (from another coordonates of the same picture it's seem)

- double clic pointer for moving heroes fail, you can set a destination but not moving to by twice clic (source capture mouse trouble ?) but the move is possible by clic on horse button

- cpu affinity must be set from taskmgr, a nice addon will be to have affinity set by LaunchWithWinMM.exe (i try to use c:\windows\system32\cmd.exe /C start /affinity 1 LaunchWithWinMM.exe but the affinity is set for LaucnhWithWinMM not soon process Heroes2W.exe)

Very nice and usefull tool :) If you don't have any time to optimized it it's all ready a good job.
Thanks for the feedback. I haven't seen the double click issue you mentioned, but I did see the graphic issues with the mouse pointer when in the castle. If you switch from the "color" mouse to the "black and white" option, that issue is resolved.
Post edited November 19, 2015 by moranms
avatar
ZellSF: Any chance for a repuload? Anyone?

Also if possible, source code?
avatar
moranms: http://www.filedropper.com/homm2win10fixes

It contains two fixes:

1) ddraw.dll, makes Heroes2 use Direct2D/DirectX11 instead of deprecated DirectDraw calls. Allows me to start full screen without any weird issues, but YMMV. If you want to use it, just drop it in the Heroes2 game folder.

2) winmm.dll. Fixes the winmm issue with Windows 10 so Heroes2 will start. Also includes an additional change that resume the CD tracks from where they left off, instead of restarting from the beginning (the original, non-GOG version with the CD resumes the music. The GOG version resets to the beginning of the track. My fix restores the resume ability). If you want to use it, just drop it in the Heroes2 game folder. Ignore the previous directions about LaunchWithWinMM.exe - that's no longer needed.

Both require the Visual Studio 2015 Runtime Redistributable for x86 available here: https://www.microsoft.com/en-us/download/details.aspx?id=48145

avatar
FuraxLeVeneur: Quicky testing => no issues, workpefectly !!!

After hard testing => no game crash :) Three issues (not blocking) :

- some little graphical artifact in castel. Under mouse pointer some square apear with other pattern (from another coordonates of the same picture it's seem)

- double clic pointer for moving heroes fail, you can set a destination but not moving to by twice clic (source capture mouse trouble ?) but the move is possible by clic on horse button

- cpu affinity must be set from taskmgr, a nice addon will be to have affinity set by LaunchWithWinMM.exe (i try to use c:\windows\system32\cmd.exe /C start /affinity 1 LaunchWithWinMM.exe but the affinity is set for LaucnhWithWinMM not soon process Heroes2W.exe)

Very nice and usefull tool :) If you don't have any time to optimized it it's all ready a good job.
avatar
moranms: Thanks for the feedback. I haven't seen the double click issue you mentioned, but I did see the graphic issues with the mouse pointer when in the castle. If you switch from the "color" mouse to the "black and white" option, that issue is resolved.
Hi,

Unfortunately these files are no longer available.
Filedropper does not seem to be a reliable website for this kind of sharing.
avatar
moranms: http://www.filedropper.com/homm2win10fixes

It contains two fixes:

1) ddraw.dll, makes Heroes2 use Direct2D/DirectX11 instead of deprecated DirectDraw calls. Allows me to start full screen without any weird issues, but YMMV. If you want to use it, just drop it in the Heroes2 game folder.

2) winmm.dll. Fixes the winmm issue with Windows 10 so Heroes2 will start. Also includes an additional change that resume the CD tracks from where they left off, instead of restarting from the beginning (the original, non-GOG version with the CD resumes the music. The GOG version resets to the beginning of the track. My fix restores the resume ability). If you want to use it, just drop it in the Heroes2 game folder. Ignore the previous directions about LaunchWithWinMM.exe - that's no longer needed.

Both require the Visual Studio 2015 Runtime Redistributable for x86 available here: https://www.microsoft.com/en-us/download/details.aspx?id=48145

Thanks for the feedback. I haven't seen the double click issue you mentioned, but I did see the graphic issues with the mouse pointer when in the castle. If you switch from the "color" mouse to the "black and white" option, that issue is resolved.
avatar
CRW: Hi,

Unfortunately these files are no longer available.
Filedropper does not seem to be a reliable website for this kind of sharing.
Sorry, try this:

http://s000.tinyupload.com/index.php?file_id=03874135032276276317
avatar
CRW: Hi,

Unfortunately these files are no longer available.
Filedropper does not seem to be a reliable website for this kind of sharing.
avatar
moranms: Sorry, try this:

http://s000.tinyupload.com/index.php?file_id=03874135032276276317
Got them, thanks!
/edit
OK, so music works fine, though not exactly H2-like as town themes also resume from where they left.

Now I am trying to work around the resolution and I don't know if that's my GPU, TV connected to it or Win10 playing around. Basically the game runs fine in 640x480 apart for the fact that it is stretched to widescreen while I am trying to preserve the 4:3 ration.

So far I've tested ddraw.dll that is meant for C&C, yet it was meant to run in at least 16bits which does not work well with H2.
I'll probably continue my search tomorrow.
Post edited November 21, 2015 by CRW
avatar
CRW: Got them, thanks!
/edit
OK, so music works fine, though not exactly H2-like as town themes also resume from where they left.

Now I am trying to work around the resolution and I don't know if that's my GPU, TV connected to it or Win10 playing around. Basically the game runs fine in 640x480 apart for the fact that it is stretched to widescreen while I am trying to preserve the 4:3 ration.

So far I've tested ddraw.dll that is meant for C&C, yet it was meant to run in at least 16bits which does not work well with H2.
I'll probably continue my search tomorrow.
Aha! Thanks for the feedback, I'll look at the town theme issue.

I'm working on an option to preserve aspect ration, I'll upload it here when it's available.
Windows 10 only, new ddraw.dll that keeps the aspect ratio @ 4:3.

http://s000.tinyupload.com/index.php?file_id=70472381843619692239

For the Town music issue, are you positive the Town music never resumed? It always restarted? I only ask because I don't see the game requesting the CD tracks in any different manner between the overworld music and the town music. But I of course could just be missing something.
Yeah, I am totally sure it worked like that. You can confirm this by using the dosbox version.

As for the ddraw.ini - I can confirm it does its job, though the stretching is done a bit poorly as seen on the screenshot.

https://i.imgur.com/QFC2WF5.jpg
Post edited November 22, 2015 by CRW
avatar
CRW: Yeah, I am totally sure it worked like that. You can confirm this by using the dosbox version.

As for the ddraw.ini - I can confirm it does its job, though the stretching is done a bit poorly as seen on the screenshot.

https://i.imgur.com/QFC2WF5.jpg
If you create a file in the Heroes directory called ddhack.cfg, and add a single line of bilinear, it will switch the interpolation from nearest neighbor to linear. The file should be a single line and end with a space. (Eg, "bilinear ")
That did the trick. I found one graphical glitch - when moving your mouse cursor on the town screen you can sometimes see stuff behind an obect. An example - when hovering over your castle you can sometimes see fragments of a tent.

Also I wonder if these fixes will work with Heroes of Might and Magic 1.
avatar
CRW: That did the trick. I found one graphical glitch - when moving your mouse cursor on the town screen you can sometimes see stuff behind an obect. An example - when hovering over your castle you can sometimes see fragments of a tent.

Also I wonder if these fixes will work with Heroes of Might and Magic 1.
Yes, that mouse cursor glitch is on my list of things to address, but I'm not sure when I'll get to it. TBH, I just use the black and white cursor, which doesn't have that issue.
Updated winmm.dll that should *not* resume in castles/towns.

http://s000.tinyupload.com/index.php?file_id=39261581211581058783
Post edited November 22, 2015 by moranms
avatar
moranms: Updated winmm.dll that should *not* resume in castles/towns.

http://s000.tinyupload.com/index.php?file_id=09276476034081291449
Great, I'll give it a go.

As for cursor - I think the b&w one acts as a system cursor as opposed to the coloured one. That's why the fomer is extra small on my Full HD display.
avatar
moranms: Updated winmm.dll that should *not* resume in castles/towns.

http://s000.tinyupload.com/index.php?file_id=09276476034081291449
avatar
CRW: Great, I'll give it a go.

As for cursor - I think the b&w one acts as a system cursor as opposed to the coloured one. That's why the fomer is extra small on my Full HD display.
You are correct about the cursor. Also, I just updated the link above with a minor fix, so grab it again if you already downloaded it.
I may have lucked out with the colored cursor. Give it a shot!

http://s000.tinyupload.com/index.php?file_id=56285572509927865662
I'll try it.
BTW, I've also tried using ddraw.ini on H1 Win version I've got (the same engine after all), yet the software crashes whenever I try to skip intro or change to full screen. This happens no matter if I use ddraw.dll (your or any other) or not.

What is funny is that sitting through the intro lets you play, though in window only.