Very nice idea :)
moranms: [ Let me know if you have any issues.
From a command prompt or batch file: LaunchWithWinMM.exe "NameOfGameExe"
Eg, LaunchWithWinMM.exe HEROES2W.EXE
At the beginning i have an issue : System error when lauching LaunchWithWinMM.exe HEROES2W.EXE from install directory (after install VC++ x64).
it's a popup error about VCRUNTIME140.dll missing
i try :
"cmd" prompt classical
"cmd" prompt with admin right
without reboot after install vc_redist.x64.exe
with reboot
the same error message :(
i search on my drive and find this dll in c:\windows\System32 !?
so i cut/paste to C:\Windows\SysWOW64 and tri again => another error 0xc000007b
My OS is WIn10 x64 so i downloaded the x64 version (vc_redist.x64.exe) but it's seem not the correct way... so i use the 32b version (vc_redist.x86.exe) and alleluia ^^ The launcher work perfectly !!!!
Opera sound loved since 1998 and tcp/ip playing possible too, thank you for this powerfull tool !
I have made a simple go.bat witch launch LaunchWithWinMM.exe HEROES2W.EXE and exit to close prompt windows
I don't find how use dxwnd.exe to full screen the child process so to play in full screen so i use this following :
launch "Graphic Setup.exe" not in fullscreen only with 1280x1024 set and quit game
launch go.bat and after windowed homm2 has started press F4 to fullscreen and the game work perfectly in fullscreen mode
After quit game if i launch directly go.bat (or heroes2w) black full screen, but if i do same loop (Graphic setup 1280x1024 no fullscren quit and lauch go.bat) i can play in full screen !!!
I check regedit HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\New World Computing\Heroes of Might and Magic 2\1.0 Main Game Full Screen and Editor full screen are set to 0 or 1 depend of my "Graphic Setup" fullscren set,
so i have updated my go.bat to call a homm2_win10.reg
go.bat:
regedit.exe /S homm2_win10.reg
LaunchWithWinMM.exe HEROES2W.EXE
exit
and
homm2_win10.reg:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\New World Computing\Heroes of Might and Magic 2\1.0]
"Main Game Width"=dword:00000500
"Main Game Height"=dword:00000400
"Main Game Full Screen"=dword:00000000
"Editor Width"=dword:00000500
"Editor Height"=dword:00000400
"Editor Full Screen"=dword:00000000
But this F#### windows 10 don't permit this...
so i change go.bat to :
LaunchWithWinMM.exe HEROES2W.EXE
exit
and i manually launch the homm2_win10.reg before launch go.bat.... and now i have homm2 without blackscreen :)
But i must press F4 for manually set fullscreen for playing.
I make tomorrow a little AutoHotkey Script to only clic on link only one time ^^
I love this topic ^^
Thank you for your help now i can play under windows 10 at Heroes of Might and Magic II in full screen with full sound quality :)
The last step is to play in french ^^ With the gog dos version it's possible to copy DATA to gog win but the ./heroes/anim is not in the root directory, but a cd is mount with two files :
homm2.gog
homm2.inst
i have make a copy of this two files and rename homm2.gog to homm2.bin ans rename homm2.inst to homm2.cue
i have open homm2.cue and rename homm2.gog to homm2.bin + remove all track index after the first to have this cue content :
FILE "homm2.bin" BINARY
TRACK 01 MODE2/2352
INDEX 01 00:00:00
After i can mount the cue/bin and copy the HEROES2\ANIM to gog win version !!!
Some text are substring in heroes2w and are not translate but it's a good openning (may be a day GOG Team release win version for other langage than english ?)