Heroes of Might and Magic I-IV (GL Wrapper & Patch)

These patches/wrappers redirect legacy DirectDraw graphics into OpenGL 1.1-3.0 and allows play games on modern PC under Windows 10. Added proper windowed mode and several upscale filters for better gaming on modern screens.

Supported games and versions:

These wrappers support all GoG version, languages, releases for Windows platform.
Also these patches/wrappers were tested on games versions listed below...

  • Heroes of Might and Magic I

    English versions:

    • HoMM I: A Strategic Quest v1.0-1.2

    Polish versions:

    • HoMM I: A Strategic Quest v1.1

    Russian versions:

    • HoMM I: v1.1
  • Heroes of Might and Magic II

    English versions:

    • HoMM II: The Succession Wars v1.0-1.3
    • HoMM II: The Price of Loyalty v2.0-2.1 (Gold Edition)

    Polish versions:

    • HoMM II: The Price of Loyalty v2.1 (Złota Edycja)

    Russian versions:

    • HoMM II: Цена верности v2.1 (Золотая серия)
  • Heroes of Might and Magic III

    English versions:

    • HoMM III: The Restoration of Erathia v1.0-1.4
    • HoMM III: Armageddon’s Blade v2.0-2.2
    • HoMM III: The Shadow of Death v3.0-3.2
    • HoMM III: Complete v4.0

    German versions:

    • HoMM III: The Restoration of Erathia v1.2

    French versions:

    • HoMM III: Armageddon’s Blade v2.1
    • HoMM III: The Shadow of Death v3.1

    Polish versions:

    • HoMM III: Armageddon’s Blade v2.1
    • HoMM III: The Shadow of Death v3.1-3.2

    Russian versions:

    • HoMM III: Возрождение Эрафии v1.0
    • HoMM III: Клинок Армагеддона v2.1-2.2
    • HoMM III: Дыхание Смерти v3.1
    • HoMM III: Полное Собрание v4.0
  • Heroes Chronicles

    English versions:

    • Chronicles I: Warlords of the Wasteland v1.0
    • Chronicles II: Conquest of the Underworld v1.0
    • Chronicles III: Masters of the Elements v1.0
    • Chronicles IV: Clash of the Dragons v1.0
    • Chronicles V: The World Tree v1.0
    • Chronicles VI: The Fiery Moon v1.0
    • Chronicles VII: Revolt of the Beastmasters v1.0
    • Chronicles VIII: The Sword of Frost v1.0

    German versions:

    • Chronicles IV: Clash of the Dragons v1.0

    Russian versions:

    • Хроники I: Воины Степей v1.0
    • Хроники II: Преисподняя v1.0
    • Хроники III: Повелители Стихий v1.0
    • Хроники IV: Схватки Драконов v1.0
    • Хроники VII: Восстание v1.0
    • Хроники VIII: Ледяной Клинок v1.0
  • Heroes of Might and Magic IV

    English versions:

    • HoMM IV: v1.0, v1.2, v1.3, v2.0, v2.2, v3.0
    • HoMM IV: The Gathering Storm v2.0, v2.2, v3.0
    • HoMM IV: Winds of War v3.0

    German versions:

    • HoMM IV: Winds of War v3.0

    French versions:

    • HoMM IV: Winds of War v3.0

    Spanish versions:

    • HoMM IV: Winds of War v3.0

    Italian versions:

    • HoMM IV: Winds of War v3.0

    Polish versions:

    • HoMM IV: Winds of War v3.0 (Złota Edycja)

    Czech versions:

    • HoMM IV: Winds of War v3.0

    Russian versions:

    • HoMM IV: v1.0
    • HoMM IV: Грядущая Буря v2.2
    • HoMM IV: Вихри Войны v3.0

Installation:

  • Download appropriate SFX file for your game
  • Launch this file and extract its content into the game root
  • Launch the game
  • Have fun ;)

Downloads:


Note: These wrappers do not remove SafeDisk protection, so they don't fix problems with SafeDisk on newer OS, e.g. Windows Vista/7/8/10. If you have such problems, download no-cd version or use UnSafeDisk tool to remove SafeDisk protection.

Comments

  1. This patch is fantastic, it's the only reliable patch I've found that allows you to play Heroes 3 complete in windowed mode. BTW, the fact that's using OpenGL is an impressive feat.

    ReplyDelete
  2. Very good work. I have a small suggestion: The predefined resolution 1280x1024 (5:4 ratio) should be 1280x960 (4:3). This way it would be 640*2 and 480*2, exactly double size, which is better for scaling.

    ReplyDelete
    Replies
    1. Do you mean HoMM 1-2I? Yes, perhaps you're right and I'll take a look later. But anyway it doesn't matter what we choose there. With wrapper, in fullscreen mode, game always runs in desktop resolution. And these resolutions (in menu) are came from original, and by choosing them you just resize game window in windowed mode, but you can also resize window by mouse

      Delete
    2. You are absolutely right, that's why it's just a small suggestion :)
      I just like to play in windowed mode with my friends so I can do other stuff while it's their turn. I made a simple app that resizes the window (client area + borders) so the game resolution is pixel perfect, even without filters, so you don't need to hurry ;)
      Have a nice day and keep up the good work!

      Delete
    3. Is your work open source by any chance?
      There is a problem when minimizing the windows, the game crashes (HoMM2), but only if te resolution is bigger than 640x480. Preventing the window from minimizing by accident would be a solution.

      Delete
    4. Follow me on GitHub and you'll find there all you need
      https://github.com/verokster

      Delete
  3. I copy ddraw file to the Heroes 4 main path and config.ini dont create. i tried press hotkeys like as F4 etc, but this not working. How fix it ?

    ReplyDelete
    Replies
    1. What game version do you have? What language?

      Delete
    2. Heroes IV Gold Edition PL 3.0

      Delete
    3. Hm, strainge. Coukld you send me your main exe file to verokster(at)gmail.com, so I can check it

      Delete
    4. Also, if you have GOG realease, so I have it too and I don't need exe. If so, problem somewhere else. Please check twice if you use correct wrapper's ddraw.dll.
      GOG Galaxy has it own ddraw.dll with dxcfg.exe. Maybe it rewrites wrapper's ddraw.dll everytime you launched game through Galaxy

      Delete
  4. Hello, I have different problem with newer versions of this Wrapper.
    Ver. 1.22 worked pretty fine, but since I've upgraded to 1.25 and now to 1.27 my Heroes 4 Gold Edition just isn't working anymore.

    1.25 - after executing Heroes4.exe screen goes black, I hear music playing in background, but i can't do anything. After switching to Task Manager I find that Heroes 4 is running, but not responding. Only option is killing the task.

    1.27 - same as above, but I can't kill task anymore, mouse cursor disappears and only option is to restart or shutdown Windows.

    Any solution to this? Again 1.22 wrapper worked fine.

    ReplyDelete
    Replies
    1. Also, newest ver of Heroes 2 wrapper stopped working for me (GOG Windows Version launched from *exe file).

      Delete
    2. Hi. You can check new versions

      Delete
  5. look amazing..work perfect..just playing homm4 ..thank you

    ReplyDelete
  6. Hi Verok,

    Does this fix the slow animations and battle lag in heroes IV?

    In addition does this work for the collectors edition version of Heroes IV?

    ReplyDelete
    Replies
    1. Personally I don't know, as I didnt play H4 too much. But other players say that it doesn't fix tihs problem. You need set process affinity to one cpu core.

      In regards versions. All supported versions listed above.

      Delete
  7. Hello friend. Thank you for making this patch, it works great. I would like to know if I can change the aspect ratio or resolution. I am running heroes 3 gog with wog and era. Cheers

    ReplyDelete
    Replies
    1. In directory game find a file config.ini open it via Notepad, then find those strings:
      Main Game Width=X
      Main Game Height=X
      where X change into ur resolution, thats all

      Delete
  8. Hi, Verok! Great work you did! I am the author of one of the Heroes 3 era gaming assenbly.
    Hd mod version 5.0+ has really bad compatibility with it , that's why i usr hd mof 4.208 RC 4, but i really like your wrapper, and i would to use it instead hd mod 5.0. I only notices, that in the full screen is not supported wheel scroling of the towns and heroes, but it does work in the window mode. Could you fix it please? May be there is another way to contact with you? I am Russian, so this is my links https://vk.com/dimonglazkov or daemon_n#5347 in Discord. All our community do bless you!

    ReplyDelete
    Replies
    1. The same problem with "S" button - it does open save game menu, but i dont need it.

      Delete
    2. Thanks for the info. I'll take a look on this. You may check russian thread here https://www.old-games.ru/forum/threads/serija-igr-heroes-of-might-and-magic-gl-wrapper-patches.80503/ or contact me via email, you can find it in wrapper about window

      Delete
  9. Hi,

    Can zou look into removing the cd check from homm 1 v1.2?

    Thanks!

    ReplyDelete
    Replies
    1. Thank you for your post. While I was checking how this is possible I found that HoMM 1 was not working with patch. So I fixed patch, and game is working now.

      Here is nocd with music and etc. https://mega.nz/file/BhUznQbS#iOiTBZ_EoFb6Yrbbie_6_UXib_dCvq9fqLcOEn86yC0

      And don't forget update patch/gl wrapper to last version

      Delete
  10. This is awesome, thanks again! :)

    ReplyDelete
    Replies
    1. Music can stuck from time to time, due to bug in winmm.dll. If this is bother you, try to find another CD Audio wrapper (winmm.dll) over the net

      Delete
  11. I use DxWrapper for many games with success on Win 7 x64, maybe you can give it a try

    https://github.com/elishacloud/dxwrapper

    ReplyDelete
    Replies
    1. I like DirectX, but:

      - I don't like wrappers from old DDraw/D3D to new DirectX, as it is still depend on ho long this new DirectX will be supported on newer OSs. And also it's make game more platform dependant.
      - application using DirectX. on linux and mac wraps again via Wine to OpenGL or etc. Application designed for OpenGL works faster under Wine, almoust the same as on Windows, because wine just redirect calls directly to drivers OpenGL
      - wrappers designed directly for individual games works better and faster.

      But for other games, of course I'm using universal DDraw wrappers, in case if Window can't handle by its own

      Delete
  12. Man, thank you for this work! Been looking for wrappers to play HoMM IV and feel that nostalgia. You've saved my day!

    ReplyDelete
  13. Hail to you, Verok, my friend. May computer gods bless you

    ReplyDelete
  14. Thank you very much for GLWrapper !

    One question - is it possible to use resolution 640x480 for Heroes 3 SW mod ? (may be simply by stretching)

    ReplyDelete
    Replies
    1. I didnt test wrapper with SW mod, but hope it's working.

      In regards resolution. This patch doesn't change ingame image resolution, but if you mean that game can work under smaller screen, yes, it should work on any screen. You can scale (stretch) game window as you want. But if you want to play game on too old PC, it's not a good idea, as this patch was made for multicore PC

      Delete
    2. It works with SW, but very unstable (game frequently exit).

      Concerning resolutions, I have tried reso program (or change manually properties of Heroes 3 exe label ) but it not help - I see standard 800x600. Also I have tried tip from this blog comments - change Main Game Width and Main Game Height in config.ini - but again I see 800x600 for Heroes 3.

      May be I should play with my video card/drivers ?

      Delete
    3. I understand, resolution can be lowered only in non-full display.

      Delete
    4. HoMM III have no ability to change image resoultion, only 800x600. Main Game Width and Main Game Heihgt - don't do anything

      HD mod adds this ability, to play game in higher resolutions (1024x768, 1920x1080 and etc.). But resolution cannot be lowered down to 640x480, as 800x600 is a minimal image resolution for game interface.

      GL wrapper doent's have ability to change resolution, but you are free to scale/stretch game window, no matter if it's in fullscreen or windowed mode. For example if your screen support only 640x480, vanilla game wont launch, but with GL wrapper it will work successfully in fullscreen/windowed mode.

      Delete
  15. How one can pay donate one time (not become a patron) ?

    ReplyDelete
    Replies
    1. Thanks, but sorry, I have no other donation service connected yet.
      In regards HD mod. I'm not playing game with HD mod. Current version of GL wrapper can not be applied for clean HD mod , only with HoTA mod.

      Also you can visit russian thread of wrapper here https://www.old-games.ru/forum/threads/serija-igr-heroes-of-might-and-magic-gl-wrapper-patches.80503/

      Delete
    2. Also, I'm playing bit with SW mod, which is based on ERA II. Seems like ERA II is unstable in multithreading mode, so game is unstable with GL wrapper. I'm planing make wrapper compatible with ERA and SW asap.

      Delete
    3. Yes, you are correct. After I have changed "UseOnlyOneCpuCore" to 1 in Era's heroes3.ini all becomes stable. So, it seems in fact GL wrapper already comaptible with Era and SW.

      Latest SW version is distributed with non-actual Era version, so, as Berserker continously working on Era, probably in latest Era multithreading problem already solved.

      Delete
  16. You guys are fantastic. Thank you so much for enabling to finally play Heroes 4 again. Awesome work indeed. 3 Thumbs up !! ;-)

    ReplyDelete
  17. Hi, how can I make it work with ERA/HD MOD? The game freezes when trying to move the hero on the map. The best part for me is the ability to play more tracks for battles, AWESOME! And in lossless quality!, LOVE YA!

    ReplyDelete
  18. Fantastic work, but I came across the issue, my Heroes of might and magic 4 gathering storm stops working after ~20mins of gameplay. I cant find a solution to the issue :/ The game just frezzes in the middle of the fight, any ideas how to fix this?

    ReplyDelete
    Replies
    1. This is a known issue on some systems with multicore CPU. This problem was not resolved in this patch yet.
      You need set process affinity to 1 cpu core.

      While playing, open task manager (right click on windows task bar -> Task Manager). On Process tab find Heroes4.exe -> Right click -> Set Affinity -> check only one core

      Delete
    2. Thank you for an amazingly fast reply :)

      Delete
  19. HMM, my autosaves stopped working when using this windowed mode for heroes 3, anyone else stumbled upon this issue?

    ReplyDelete
    Replies
    1. Perhaps you have no permision for save folder (Games). Try run the game in admin mode

      Delete
    2. Hola buenas, tengo un problema con HoMM IV, cuando estoy en una batalla el juego acaba por quedarse congelado y no me deja hacer ninguna otra cosa, no sé a qué se debe, a alguien más le ocurre?

      Delete
    3. This is a known issue. Select option in window menu - Options->Single Core

      Delete
  20. Hey. I'm glad my HOMM4 finally runs stable and doesn't have a "File" bar on top after alt tabing, but i have a 3440x1440 monitor and it scaled the window to fullscreen by default. Now i can't manage to get it stretched back and have massive black bars at the side. Any idea how to still play it fullscreen? Cheers.

    ReplyDelete
    Replies
    1. Exit into windowed mode (press F4), and try "Image" -> "Keep Aspect Ratio" (on / off) in main window menu

      Delete
    2. I literally found those options, came back and saw you commented already lol, thanks. It turns out that's not what i wanted. Stretching on a widescreen makes it completely unreadable, while default max resolution is too small. I think my system on default HOMM4 automatically scales it somewhere mid way (1920?) and i'm trying to achieve the same scaling result with your wrapper but i can't manage to succeed.

      Delete
  21. This wrapper simply push the legendary H3 onto a even more godly status!
    I have a niche question... I'm running the latest HD+Hota mod under the latest Mac Crossover / Wine. The upscaling filters are all greyed out, but interpolations are working. I switch to other graphic modes that doesn't require OpenGL and upscaling is working, but I lost the perfect smooth movement and v-sync goodness...... Pls tell me what could be the cause?
    If I run it in Parallels Desktop Windows, it's all working just fine.

    ReplyDelete
    Replies
    1. Also under Mac Crossover / Wine, my OpenGL renderer 3 is greyout, only the top 2 are working. in other environment such as Windows, all three renderers are working. I'm running HD+Hota with the latest 1.5 wrapper. Pls help!

      Delete
    2. Sorry I've removed HoTA installation instruction from this article. This patch was made for vanilla games, without any mods. Don't use this patch with HD mod, as it makes conflicts with HD mod.

      Just use embeded HD OpenGL renderer, but not this. Otherwise you can play HoTA without HD mod, and with this patch.

      Author of HD mod, Baratorch, now integrates latest version of this graphic patch to his HD mod. Please wait few days for new version. I don't know whether Baratorch will add smooth movement to his HD mod, but we'll check this after new HD release.

      Delete
    3. Sorry Verok I didn't make myself clear. I didn't install the patch hosted here, but use the embedded HD OpenGL renderer. I have sort out my problem: it seems on my Win10 virtual machine, the OpenGL version is 3.2, and everything works perfectly. On my Mac wine / crossover, the OpenGL version is 2.1 and I can't update the OpenGL of such bottle / container. Since I'm stuck at OpenGL 2.1, I can't use all the killer filters like xBrz.
      I don't know if xBrz and other filters can be implemented under OpenGL 2.1...... for now 2 out of 3 renderers are working, but I can't tackle the compatibility issues......

      Delete
    4. Yes, upscaling works on OpenGL 3+

      Delete
    5. Hello. Can I contact you somehow? I absolutely do not work on a laptop wrapper for heroes 4. The openjl version seems to be suitable. The necessary dll files are also available.

      Delete
    6. Yes please! My email is 666morbideath*at*gmail*dot*com

      Delete
  22. Marvelous, Wonderful, HMM4 works finally on my computer with windows 10 64 bits

    ReplyDelete
    Replies
    1. Check this post https://verokster.blogspot.com/2020/11/heroes-of-might-magic-iv-resolution-mod.html for widescreen support

      Delete
  23. Hello again!

    Recently, fHeroes2 got a little bit of HD action: https://www.youtube.com/watch?v=Mdt3GBvbro4
    https://github.com/ihhub/fheroes2/releases/tag/0.8.4
    Do you think it is possible to "join forces" with your GL Wrapper to make this HDmod even better?

    Your work is awesome,
    Cheers from Poland
    Hellburn

    ReplyDelete
    Replies
    1. Great news. But GL Wrapper is not compatible with this mod. Because this HD mod uses SDL library, and GL Wrapper wraps DirectDraw to OpenGL

      Delete

Post a Comment