Posted August 19, 2015
Here you go, YMMV. 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.
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.