Posted October 31, 2018
high rated
It can be called OPTIMIZED DXWND or lite HD mod for each NWC Heroes series game. 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
Official site
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.
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.
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...
HoMM I: A Strategic Quest v1.0-1.2 En
HoMM I: v1.1 Ru
HoMM II: The Succession Wars v1.0-1.3 En
HoMM II: The Price of Loyalty v2.0-2.1 (Gold Edition) En
HoMM II: Цена верности v2.1 (Золотая серия) Ru
HoMM III: The Restoration of Erathia v1.0-1.4 En
HoMM III: Armageddon’s Blade v2.0-2.2 En
HoMM III: The Shadow of Death v3.0-3.2 En
HoMM III: Complete v4.0 En
HoMM III: The Restoration of Erathia v1.2 De
HoMM III: Armageddon’s Blade v2.1 Fr
HoMM III: The Shadow of Death v3.1 Fr
HoMM III: The Shadow of Death v3.2 Pl
HoMM III: Возрождение Эрафии v1.0 Ru
HoMM III: Клинок Армагеддона v2.1-2.2 Ru
HoMM III: Дыхание Смерти v3.1 Ru
HoMM III: Полное Собрание v4.0 Ru
Chronicles I: Warlords of the Wasteland v1.0 En
Chronicles II: Conquest of the Underworld v1.0 En
Chronicles III: Masters of the Elements v1.0 En
Chronicles IV: Clash of the Dragons v1.0 En
Chronicles V: The World Tree v1.0 En
Chronicles VI: The Fiery Moon v1.0 En
Chronicles VII: Revolt of the Beastmasters v1.0 En
Chronicles VIII: The Sword of Frost v1.0 En
Chronicles IV: Clash of the Dragons v1.0 De
Хроники I: Воины Степей v1.0 Ru
Хроники II: Преисподняя v1.0 Ru
Хроники III: Повелители Стихий v1.0 Ru
Хроники IV: Схватки Драконов v1.0 Ru
Хроники VII: Восстание v1.0 Ru
Хроники VIII: Ледяной Клинок v1.0 Ru
HoMM IV: v1.0, v1.2, v1.3, v2.0, v2.2, v3.0 En
HoMM IV: The Gathering Storm v2.0, v2.2, v3.0 En
HoMM IV: Winds of War v3.0 En
HoMM IV: Winds of War v3.0 De
HoMM IV: Winds of War v3.0 Fr
HoMM IV: Winds of War v3.0 Sp
HoMM IV: Winds of War v3.0 It
HoMM IV: Winds of War v3.0 Pl
HoMM IV: v1.0 Ru
HoMM IV: Грядущая Буря v2.2 Ru
HoMM IV: Вихри Войны v3.0 Ru
DOS versions are not compatible
Source code
Its not my project, it is from user Verok from old-games.ru
Official site
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.
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.
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...
HoMM I: A Strategic Quest v1.0-1.2 En
HoMM I: v1.1 Ru
HoMM II: The Succession Wars v1.0-1.3 En
HoMM II: The Price of Loyalty v2.0-2.1 (Gold Edition) En
HoMM II: Цена верности v2.1 (Золотая серия) Ru
HoMM III: The Restoration of Erathia v1.0-1.4 En
HoMM III: Armageddon’s Blade v2.0-2.2 En
HoMM III: The Shadow of Death v3.0-3.2 En
HoMM III: Complete v4.0 En
HoMM III: The Restoration of Erathia v1.2 De
HoMM III: Armageddon’s Blade v2.1 Fr
HoMM III: The Shadow of Death v3.1 Fr
HoMM III: The Shadow of Death v3.2 Pl
HoMM III: Возрождение Эрафии v1.0 Ru
HoMM III: Клинок Армагеддона v2.1-2.2 Ru
HoMM III: Дыхание Смерти v3.1 Ru
HoMM III: Полное Собрание v4.0 Ru
Chronicles I: Warlords of the Wasteland v1.0 En
Chronicles II: Conquest of the Underworld v1.0 En
Chronicles III: Masters of the Elements v1.0 En
Chronicles IV: Clash of the Dragons v1.0 En
Chronicles V: The World Tree v1.0 En
Chronicles VI: The Fiery Moon v1.0 En
Chronicles VII: Revolt of the Beastmasters v1.0 En
Chronicles VIII: The Sword of Frost v1.0 En
Chronicles IV: Clash of the Dragons v1.0 De
Хроники I: Воины Степей v1.0 Ru
Хроники II: Преисподняя v1.0 Ru
Хроники III: Повелители Стихий v1.0 Ru
Хроники IV: Схватки Драконов v1.0 Ru
Хроники VII: Восстание v1.0 Ru
Хроники VIII: Ледяной Клинок v1.0 Ru
HoMM IV: v1.0, v1.2, v1.3, v2.0, v2.2, v3.0 En
HoMM IV: The Gathering Storm v2.0, v2.2, v3.0 En
HoMM IV: Winds of War v3.0 En
HoMM IV: Winds of War v3.0 De
HoMM IV: Winds of War v3.0 Fr
HoMM IV: Winds of War v3.0 Sp
HoMM IV: Winds of War v3.0 It
HoMM IV: Winds of War v3.0 Pl
HoMM IV: v1.0 Ru
HoMM IV: Грядущая Буря v2.2 Ru
HoMM IV: Вихри Войны v3.0 Ru
DOS versions are not compatible
Source code
Post edited June 03, 2019 by AKuHAK