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

×
high rated
It can be called OPTIMIZED DXWND. Main reason for creating: adding ability for comfort play on modern OS and various bug fixes.
Its not my project, it is from user Verok from old-games.ru

This is a graphic wrapper that translates graphics to OpenGL for correct work in the modern OS.
In the original game, the image is rendered in full-screen mode via DirectDraw (DDRAW.DLL), and in the windowed mode uses the old software renderer (WinG32.DLL) (only for Heroes I and II). Previously, sometimes there were problems associated with the lack of WinG32.DLL file in Windows OS.

This is a wrapper as a replacement for WinG32.DLL for subsequent injections of the game code. The wrapper does not change the screen resolution to game internal and simply expands the image to full screen. It is possible to keep aspect ratio (4:3) or stretch image to full screen.
Added different types of shader filtering. xBRz shader filter was tweaked and added it to the game. Filters from the libretro project were also added later. All shader filters are working on the GPU not CPU. Full list of filters: Bilinear, Bicubic, ScaleNx (x2, x3), Super Eagle (x2), 2xSal (x2), ScaleHQ (x2, x4), xBRz (x2, x3, x4, x5, x6). For each filter except Bilinear and Bicubic there is an opportunity to choose a multiplier and one of two ways of drawing (Bilinear or Bicubic). Accordingly, if the video card supports OpenGL 3.0+, the filters will work, otherwise only linear filtering (Bilinear) will work. Also added vertical synchronization (can be disabled in windowed mode or in config.ini). Settings are stored in the config.ini file in the same path along with the original game.

Added limited support for videocard without OpenGl 3.0 support. Picture will be rendered only with DirectDraw. Shaders will not work. Windowed mode will not work properly. For activating launch game with parameter -nogl.

Now games are portable. All settings are stored in config.ini within game folder.

Download link:
- Heroes I and II
- Heroes III and Heroes Chronicles
- Heroes IV

Available addons. Note: addons doesnt work without wrapper:
- Built-in manual fix for all Heroes series game except Heroes 4 - just put winhlp32.exe in game folder. If you wish localized version, you can grab it frm localized version of Windows XP
- Music fix for Heroes 2 GOG Windows version - just replace winmm.dll in game folder to make Sound working again

Installation:
- Put dll in the game folder.

Key binding:
- F2 – off/on. frame counter (White)/wrapper performance counter (yellow). This mode is used only for testing the performance of the code, but it is still presented.
- F3 – change shader filter. More options like switching between Bicubic/Biliniear sub-filtering or changing multiplier can be adjusted from window mode (Display menu) or directly inside *.ini file.
- F4 – windowed / fullscreen mode. This combination is already present in the game, just for a reminder
- F9 – keep aspect ratio / stretch to fullscreen

Features:
- Image rendered by OpenGL (it is possible but not reccomended to run game with DirectDraw)
- The game correctly switches from fullscreen to window and back (F4)
- Full screen mode works in desktop resolution
- Added a frame counter to view the performance
- Heavily decreased CPU usage
- Added various shader filters: e.g. xBRz (only if OpenGL 3.0+ is supported)
- Heroes 1: the coloured mouse cursor enabled.
- Heroes 1: added smooth transition between screens like it was in DOS version and Heroes II (with transition from/to castle, hero view, etc.).
- Heroes 1 and 2 (Russian Buka versions): added the ability to play audio tracks in various format including lossless. Supported formats: ".wav", ".flac", ".mp3", ".ogg", ".mod", ".s3m", ".xm", ".it".
- Heroes 1, 2 and 3: smoother hero movement on the map (more frames when moving)
- Heroes 1 and 2 and 3 and Chronicles: Added the ability to play random tracks. To add different options to a track, you need to name those files as well as the original and add something at the end. For example, if we have a track for castle 05-AudioTrack 05.ogg, then his alter versions can be 05-AudioTrack 05_1.ogg, 05-AudioTrack 05a.wav etc. This doesnt work for Heroes 2 GOG version.
- Heroes 2 (Windows GOG Version): if you want music and map editor to work, you need to replace winmm.dll with a newer version from the forum member moranms. Extract from archive oggwinmm.dll, rename it to winmm.dll and replace winmm.dll in the Heroes 2 installation folder. Don’t copy ddraw.dll as GL Wrapper are conflicting with it.
- Heroes 3 and Heroes Chronicles: sounds forced in stereo and sampling rate of 44.1 kHz;
- Heroes 3 and Heroes Chronicles: added lossless pcm WAV support in addition to MP3;
- Heroes 4: works in windowed mode in any game resolution
- In windowed mode added new menu "Patches": For now one patch - "Cold CPU". This patch will increase wrapper speed on weak machines.

Compatible games (only English versions mentioned):
Heroes of Might and Magic: A Strategic Quest v1.0-1.2
HoMM II: The Succession Wars v1.0-1.3
HoMM II: The Price of Loyalty v2.0-2.1 (Gold Edition)
HoMM II: Windows GOG version
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
HoMM III: GOG version
Heroes Chronicles: UK versions
Heroes Chronicles: GOG version
Heroes IV: all versions (including GOG)

DOS versions are not compatible

Source code
Post edited January 20, 2019 by AKuHAK
avatar
AKuHAK: Its not my project, it is from user Verok from old-games.ru

This is a graphic wrapper that translates graphics to OpenGL for correct work in the modern OS.
In the original game, the image is rendered in full-screen mode via DirectDraw (DDRAW.DLL), and in the windowed mode uses the old software renderer (WinG32.DLL) (only for Heroes I and II). Previously, sometimes there were problems associated with the lack of WinG32.DLL file in Windows OS. This is a wrapper as a replacement for WinG32.DLL for subsequent injections of the game code. The wrapper does not change the screen resolution to game internal and simply expands the image to full screen. It is possible to keep aspect ratio (4:3) or stretch image to full screen.
Added different types of shader filtering. xBRz shader filter was tweaked and added it to the game. Filters from the libretro project were added later. All shader filters are working on the GPU not CPU. Full list of filters: Bilinear, Bicubic, ScaleNx (x2, x3), Super Eagle (x2), 2xSal (x2), ScaleHQ (x2, x4), xBRz (x2, x3, x4, x5, x6). For each filter except Bilinear and Bicubic there is an opportunity to choose a multiplier and one of two ways of drawing (Bilinear or Bicubic). Accordingly, if the video card supports OpenGL 3.0+, the filters will work, otherwise only linear filtering (Bilinear) will work. Also added vertical synchronization (disabled in windowed mode). Settings are saved in the registry in the same path along with the original game settings.

Later planned to add support for OpenGL 2+ generation graphics cards.

Download link:
- Heroes I & II goo.gl/Fz6QdT
- Heroes III and Chronicles goo.gl/zgga4Y
- Heroes IV goo.gl/iSCp7U

Installation:
- Put dll in the game folder.

Key binding:
- F2 – off/on. frame counter (White)/wrapper performance counter (yellow). This mode is used only for testing the performance of the code, but it is still presented.
- F3 – change shader filter. More options like switching between Bicubic/Biliniear sub-filtering or changing multiplier can be adjusted from window mode (Display menu)
- F4 – windowed / fullscreen mode. This combination is already present in the game, just for a reminder
- F5 – keep aspect ratio / stretch to fullscreen

Features:
- Image rendered by OpenGL
- The game correctly switches from fullscreen to window and back (F4)
- Full screen mode works in desktop resolution
- Added a frame counter to view the performance
- Heavily decreased CPU usage
- Added various shader filters: e.g. xBRz (only if OpenGL 3.0+is supported)
- Heroes 1, 2 and 3: smoother hero movement on the map (more frames when moving)
- Heroes 1: the coloured mouse cursor enabled. If the bit depth of the screen is less than 32 bits, the old black and white mouse cursor is used.
- Heroes 1: added smooth transition between screens like it was in DOS version and Heroes II (with transition from/to castle, hero view, etc.).
- Heroes 1 and 2 (Russian Buka versions): added the ability to play audio tracks in various format including lossless. Supported formats: ".wav", ".flac", ".mp3", ".ogg", ".mod", ".s3m", ".xm", ".it". Added the ability to play random tracks. To add different options to a track, you need to name those files as well as the original and add something at the end. For example, if we have a track for castle 05-AudioTrack 05.ogg, then his alter versions can be 05-AudioTrack 05_1.ogg, 05-AudioTrack 05a.wav etc.
- Heroes 2 (Windows GOG Version): if you want music and map editor to work, you need to replace winmm.dll with a newer version from the forum member moranms. Extract from archive oggwinmm.dll, rename it to winmm.dll and replace winmm.dll in the Heroes 2 installation folder. Don’t copy ddraw.dll as GL Wrapper will conflict with it.
- Heroes 3 and Heroes Chronicles: sounds forced in stereo and sampling rate of 44.1 kHz;
- Heroes 4: works in windowed mode at any resolution of the game and the screen

Compatible games (only English versions mentioned):
Heroes of Might and Magic: A Strategic Quest v1.0-1.2
HoMM II: The Succession Wars v1.0-1.3
HoMM II: The Price of Loyalty v2.0-2.1 (Gold Edition)
HoMM II: Windows GOG version
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
HoMM III: GOG version
Heroes Chronicles: UK versions
Heroes Chronicles: GOG version
Heroes IV: all versions (including GOG)

Source code github.com/Verokster/HeroesGL
Thank you very much for the information but I can't use it for HOMM 1.

When I use the Dosbox version none of the wrapper keys work, that's why I ask.

I guess it doesn't work with the Dosbox version that GOG offers?

I know that before GOG provided a windows version of HOMM 1, but this version seems to have been removed, I don't see it anywhere on the game sheet when I download it. :(

I'd like some help, please.
Post edited November 02, 2018 by thedkm
avatar
thedkm: Thank you very much for the information but I can't use it for HOMM 1.

When I use the Dosbox version none of the wrapper keys work, that's why I ask.

I guess it doesn't work with the Dosbox version that GOG offers?

I know that before GOG provided a windows version of HOMM 1, but this version seems to have been removed, I don't see it anywhere on the game sheet when I download it. :(

I'd like some help, please.
Hello,
This wrapper wil work only with WINDOWS versions (not DOS), please keep it in mind.
As GOG team released only DOS version of Heroes 1 you should get Windows version somewhere else.
Im not pretty sure but you can try version from
store.ubi.com/ie/game?dwvar_575ffd9aa3be1633568b4d84_Platform=pcdl&pid=575ffd9aa3be1633568b4d84&editio n=Standa rd%20Edition&source=detail


New version (01.11.2018):
Changes:
In windowed mode added new menu "Patches":
For now one patch - "Cold CPU". This patch will increase wrapper speed on weak machines.
Post edited November 02, 2018 by AKuHAK
Thank you very much for your help, I'll probably buy it.
avatar
thedkm: Thank you very much for your help, I'll probably buy it.
I want to warn you that I dont know really which version sells ubi :) This should be Windows 1.1 version, but it can be DOS version as well.
This wrapper is tested and compatible with all version mentioned here:
heroescommunity.com/viewthread.php3?TID=36854
Release new version.
Changes:
- changed F5 hotkey to F9 hotkey as F5 is used in heroes4;
- added limited support for videocards not supporting opengl 3.0
- Heroes 3 and chronicles - added ability to play random tracks
- Heroes 3 and chronicles - add ability to play wav files (instead of mp3)
New version released. Changes:
- all games made portable - all settings are stored inside config.ini
- now Heroes 3 HD mod and Hota is partially compatible with GL Wrapper
- Heroes 1 - colored cursos for any screen (256 colors, 16-bit, 32-bit)
- Heroes 3 and Chronciles - now game will play BIK video files instead of SMK if founds one inside game archives.
Thanks for your advice, I haven't bought the game yet, thanks anyway for the updates. :)
С этим файлом Герои 4 гоговская версия "моргает "в фуллскрине, будто постоянно возобновляет режим фуллскрина. Сначала играл с русификатором твоим, потом ради проверки снял. Ничего не изменилось. А так да, все анимации опять плавные стали. Но от этих "морганий" хочется удавиться. Моргание исчезает в оконном режиме.
Win 10
Post edited November 30, 2018 by Lykeroid
avatar
Lykeroid: С этим файлом Герои 4 гоговская версия "моргает "в фуллскрине, будто постоянно возобновляет режим фуллскрина. Сначала играл с русификатором твоим, потом ради проверки снял. Ничего не изменилось. А так да, все анимации опять плавные стали. Но от этих "морганий" хочется удавиться. Моргание исчезает в оконном режиме.
Win 10
отвечу на инглише - все-таки английский форум.
Problem: Heroes 4 are blinking in Full Screen.

Its very strange - did you try to disable/enable Vertical synchronisation? Switch to window mode, select Display/Enable Vsync - switch back to Full Screen.
Try to enable/disable in window mode patches/Cold CPU - and then switch back to Full Screen
Try to change Filtering by pressing F3 while in game.

And noobish question are Video Card drivers (and other drivers) up to date?
GeForce drivers are up to date. Didn't update Win10 around year though. Tried VSync, coldCPU and tons of filtering variations. Game sometimes blinks when I press a LMB on something, hero starts walking or if I am stopping him by pressing LMB. Like I wrote before - it feels like game constantly trying revert itself into fullscreen mode although it is already.

Everything is okay in battle mode.
Post edited November 30, 2018 by Lykeroid
avatar
Lykeroid: GeForce drivers are up to date. Didn't update Win10 around year though. Tried VSync, coldCPU and tons of filtering variations. Game sometimes blinks when I press a LMB on something, hero starts walking or if I am stopping him by pressing LMB. Like I wrote before - it feels like game constantly trying revert itself into fullscreen mode although it is already.

Everything is okay in battle mode.
I have no idea - i dont have such problems in my old radeon hd 4000
Could you please posat this problem in original thread
avatar
AKuHAK: It can be called OPTIMIZED DXWND. Main reason for creating: adding ability for comfort play on modern OS and various bug fixes.
Its not my project, it is from user Verok from old-games.ru

This is a graphic wrapper that translates graphics to OpenGL for correct work in the modern OS.
In the original game, the image is rendered in full-screen mode via DirectDraw (DDRAW.DLL), and in the windowed mode uses the old software renderer (WinG32.DLL) (only for Heroes I and II). Previously, sometimes there were problems associated with the lack of WinG32.DLL file in Windows OS.

This is a wrapper as a replacement for WinG32.DLL for subsequent injections of the game code. The wrapper does not change the screen resolution to game internal and simply expands the image to full screen. It is possible to keep aspect ratio (4:3) or stretch image to full screen.
Added different types of shader filtering. xBRz shader filter was tweaked and added it to the game. Filters from the libretro project were also added later. All shader filters are working on the GPU not CPU. Full list of filters: Bilinear, Bicubic, ScaleNx (x2, x3), Super Eagle (x2), 2xSal (x2), ScaleHQ (x2, x4), xBRz (x2, x3, x4, x5, x6). For each filter except Bilinear and Bicubic there is an opportunity to choose a multiplier and one of two ways of drawing (Bilinear or Bicubic). Accordingly, if the video card supports OpenGL 3.0+, the filters will work, otherwise only linear filtering (Bilinear) will work. Also added vertical synchronization (can be disabled in windowed mode or in config.ini). Settings are stored in the config.ini file in the same path along with the original game.

Added limited support for videocard without OpenGl 3.0 support. Picture will be rendered only with DirectDraw. Shaders will not work. Windowed mode will not work properly. For activating launch game with parameter -nogl.

Now games are portable. All settings are stored in config.ini within game folder.

Download link:
- Heroes I & II
- Heroes III and Heroes Chronicles
- Heroes IV

Installation:
- Put dll in the game folder.

Key binding:
- F2 – off/on. frame counter (White)/wrapper performance counter (yellow). This mode is used only for testing the performance of the code, but it is still presented.
- F3 – change shader filter. More options like switching between Bicubic/Biliniear sub-filtering or changing multiplier can be adjusted from window mode (Display menu) or directly inside *.ini file.
- F4 – windowed / fullscreen mode. This combination is already present in the game, just for a reminder
- F9 – keep aspect ratio / stretch to fullscreen

Features:
- Image rendered by OpenGL (it is possible but not reccomended to run game with DirectDraw)
- The game correctly switches from fullscreen to window and back (F4)
- Full screen mode works in desktop resolution
- Added a frame counter to view the performance
- Heavily decreased CPU usage
- Added various shader filters: e.g. xBRz (only if OpenGL 3.0+ is supported)
- Heroes 1: the coloured mouse cursor enabled.
- Heroes 1: added smooth transition between screens like it was in DOS version and Heroes II (with transition from/to castle, hero view, etc.).
- Heroes 1 and 2 (Russian Buka versions): added the ability to play audio tracks in various format including lossless. Supported formats: ".wav", ".flac", ".mp3", ".ogg", ".mod", ".s3m", ".xm", ".it".
- Heroes 1, 2 and 3: smoother hero movement on the map (more frames when moving)
- Heroes 1 and 2 and 3 and Chronicles: Added the ability to play random tracks. To add different options to a track, you need to name those files as well as the original and add something at the end. For example, if we have a track for castle 05-AudioTrack 05.ogg, then his alter versions can be 05-AudioTrack 05_1.ogg, 05-AudioTrack 05a.wav etc. This doesnt work for Heroes 2 GOG version.
- Heroes 2 (Windows GOG Version): if you want music and map editor to work, you need to replace winmm.dll with a newer version from the forum member moranms. Extract from archive oggwinmm.dll, rename it to winmm.dll and replace winmm.dll in the Heroes 2 installation folder. Don’t copy ddraw.dll as GL Wrapper are conflicting with it.
- Heroes 3 and Heroes Chronicles: sounds forced in stereo and sampling rate of 44.1 kHz;
- Heroes 3 and Heroes Chronicles: added lossless pcm WAV support in addition to MP3;
- Heroes 4: works in windowed mode in any game resolution
- In windowed mode added new menu "Patches": For now one patch - "Cold CPU". This patch will increase wrapper speed on weak machines.

Compatible games (only English versions mentioned):
Heroes of Might and Magic: A Strategic Quest v1.0-1.2
HoMM II: The Succession Wars v1.0-1.3
HoMM II: The Price of Loyalty v2.0-2.1 (Gold Edition)
HoMM II: Windows GOG version
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
HoMM III: GOG version
Heroes Chronicles: UK versions
Heroes Chronicles: GOG version
Heroes IV: all versions (including GOG)

DOS versions are not compatible

Source code
I cant understand how open games :(
avatar
AValdmane: I cant understand how open games :(
Download the dll. Copy it to the game folder. Then just run the game from the shortcut.

Are you getting an error message or anything?
avatar
AKuHAK: It can be called OPTIMIZED DXWND. Main reason for creating: adding ability for comfort play on modern OS and various bug fixes.
Its not my project, it is from user Verok from old-games.ru

This is a graphic wrapper that translates graphics to OpenGL for correct work in the modern OS.
In the original game, the image is rendered in full-screen mode via DirectDraw (DDRAW.DLL), and in the windowed mode uses the old software renderer (WinG32.DLL) (only for Heroes I and II). Previously, sometimes there were problems associated with the lack of WinG32.DLL file in Windows OS.

This is a wrapper as a replacement for WinG32.DLL for subsequent injections of the game code. The wrapper does not change the screen resolution to game internal and simply expands the image to full screen. It is possible to keep aspect ratio (4:3) or stretch image to full screen.
Added different types of shader filtering. xBRz shader filter was tweaked and added it to the game. Filters from the libretro project were also added later. All shader filters are working on the GPU not CPU. Full list of filters: Bilinear, Bicubic, ScaleNx (x2, x3), Super Eagle (x2), 2xSal (x2), ScaleHQ (x2, x4), xBRz (x2, x3, x4, x5, x6). For each filter except Bilinear and Bicubic there is an opportunity to choose a multiplier and one of two ways of drawing (Bilinear or Bicubic). Accordingly, if the video card supports OpenGL 3.0+, the filters will work, otherwise only linear filtering (Bilinear) will work. Also added vertical synchronization (can be disabled in windowed mode or in config.ini). Settings are stored in the config.ini file in the same path along with the original game.

Added limited support for videocard without OpenGl 3.0 support. Picture will be rendered only with DirectDraw. Shaders will not work. Windowed mode will not work properly. For activating launch game with parameter -nogl.

Now games are portable. All settings are stored in config.ini within game folder.

Download link:
- Heroes I & II
- Heroes III and Heroes Chronicles
- Heroes IV

Installation:
- Put dll in the game folder.

Key binding:
- F2 – off/on. frame counter (White)/wrapper performance counter (yellow). This mode is used only for testing the performance of the code, but it is still presented.
- F3 – change shader filter. More options like switching between Bicubic/Biliniear sub-filtering or changing multiplier can be adjusted from window mode (Display menu) or directly inside *.ini file.
- F4 – windowed / fullscreen mode. This combination is already present in the game, just for a reminder
- F9 – keep aspect ratio / stretch to fullscreen

Features:
- Image rendered by OpenGL (it is possible but not reccomended to run game with DirectDraw)
- The game correctly switches from fullscreen to window and back (F4)
- Full screen mode works in desktop resolution
- Added a frame counter to view the performance
- Heavily decreased CPU usage
- Added various shader filters: e.g. xBRz (only if OpenGL 3.0+ is supported)
- Heroes 1: the coloured mouse cursor enabled.
- Heroes 1: added smooth transition between screens like it was in DOS version and Heroes II (with transition from/to castle, hero view, etc.).
- Heroes 1 and 2 (Russian Buka versions): added the ability to play audio tracks in various format including lossless. Supported formats: ".wav", ".flac", ".mp3", ".ogg", ".mod", ".s3m", ".xm", ".it".
- Heroes 1, 2 and 3: smoother hero movement on the map (more frames when moving)
- Heroes 1 and 2 and 3 and Chronicles: Added the ability to play random tracks. To add different options to a track, you need to name those files as well as the original and add something at the end. For example, if we have a track for castle 05-AudioTrack 05.ogg, then his alter versions can be 05-AudioTrack 05_1.ogg, 05-AudioTrack 05a.wav etc. This doesnt work for Heroes 2 GOG version.
- Heroes 2 (Windows GOG Version): if you want music and map editor to work, you need to replace winmm.dll with a newer version from the forum member moranms. Extract from archive oggwinmm.dll, rename it to winmm.dll and replace winmm.dll in the Heroes 2 installation folder. Don’t copy ddraw.dll as GL Wrapper are conflicting with it.
- Heroes 3 and Heroes Chronicles: sounds forced in stereo and sampling rate of 44.1 kHz;
- Heroes 3 and Heroes Chronicles: added lossless pcm WAV support in addition to MP3;
- Heroes 4: works in windowed mode in any game resolution
- In windowed mode added new menu "Patches": For now one patch - "Cold CPU". This patch will increase wrapper speed on weak machines.

Compatible games (only English versions mentioned):
Heroes of Might and Magic: A Strategic Quest v1.0-1.2
HoMM II: The Succession Wars v1.0-1.3
HoMM II: The Price of Loyalty v2.0-2.1 (Gold Edition)
HoMM II: Windows GOG version
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
HoMM III: GOG version
Heroes Chronicles: UK versions
Heroes Chronicles: GOG version
Heroes IV: all versions (including GOG)

DOS versions are not compatible

Source code
is there a fix for network tcp/ip game? It seems to always chrash after player connects and you press ok :D