Heroes of Might and Magic Community
visiting hero! Register | Today's Posts | Games | Search! | FAQ/Rules | AvatarList | MemberList | Profile


Age of Heroes Headlines:  
5 Oct 2016: Heroes VII development comes to an end.. - read more
6 Aug 2016: Troubled Heroes VII Expansion Release - read more
26 Apr 2016: Heroes VII XPack - Trial by Fire - Coming out in June! - read more
17 Apr 2016: Global Alternative Creatures MOD for H7 after 1.8 Patch! - read more
7 Mar 2016: Romero launches a Piano Sonata Album Kickstarter! - read more
19 Feb 2016: Heroes 5.5 RC6, Heroes VII patch 1.7 are out! - read more
13 Jan 2016: Horn of the Abyss 1.4 Available for Download! - read more
17 Dec 2015: Heroes 5.5 update, 1.6 out for H7 - read more
23 Nov 2015: H7 1.4 & 1.5 patches Released - read more
31 Oct 2015: First H7 patches are out, End of DoC development - read more
5 Oct 2016: Heroes VII development comes to an end.. - read more
[X] Remove Ads
LOGIN:     Username:     Password:         [ Register ]
New Server | HOMM1: info forum | HOMM2: info forum | HOMM3: info forum | HOMM4: info forum | HOMM5: info forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > Heroes 4 - Lands of Axeoth > Thread: GL Wrapper - HoMM IV
Thread: GL Wrapper - HoMM IV
akuhak
akuhak

Tavern Dweller
posted September 30, 2018 10:21 PM
Edited by akuhak at 19:11, 23 Oct 2018.

GL Wrapper - HoMM IV

by Verok

It is more graphic wrapper neither patch, as it doesn’t fix almost anything, just translate graphics in openGL to properly work in newer OS. Originally game was rendering picture in Fullscreen by using DirectDraw (DDRAW.DLL). Wrapper doesn’t change screen size and just scale picture into full screen. It is possible to keep 4:3 proportion or stretch picture. This isn’t fixed cause I was trying to keep as less code modification as possible.
Added filtering: xBRz, ScaleHQ, 2xSal, Super Eagle, ScaleNx. Each one can be combined with Bilinear or Bicubic. Multiplier from x2 to x6.b. Custom filtering will work only if Video card supports OpenGL 3.0+, otherwise only Bilinear and Nearest (not implemented) filtering will work. It is planned to add support for OpenGL 2.x.
Installation: extract to game folder.
Specifications:
- Picture is rendered by OpenGL
- Game correctly can change from Fullscreen n to window mode
- Fullscreen is working in Desktop resolution
- Added frame counter
- Game eats MUCH less CPU resources
- Added custom filtering
- It is possible to change filtering
- Added VSync
Hotkyes:
F2 – on/off Frame counter
F3 – change Filtering
F4 – window/full screen
F5 – change 4:3 to scaled and back
Supported Games: Heroes I, II, III and IV

Download:
Latest version

Sources:
Github

Original thread





 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
The_Polyglot
The_Polyglot


Promising
Supreme Hero
Legit Karate champ. Totally.
posted September 30, 2018 11:12 PM

This sounds awesome, will have to see how it works. Thank you!
____________
Screw interest, take initiative!
Anonymous

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
verriker
verriker


Honorable
Legendary Hero
Armagerwin's Blade
posted October 01, 2018 12:17 AM

very good thanks the resource usage of Heroes 4 on modern systems is disgustingly big, so this is something I am certainly eager to try out cheers lol
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
NimoStar
NimoStar


Promising
Supreme Hero
Modding the Unmoddable
posted October 01, 2018 05:50 AM

In my experience the resopurce usage is basically normal, at least in multi-core systems.

But the animations when in windowed mode become very choppy due to the rendering forms.
____________
Discover H4 Greatest Mod!
https://www.moddb.com/mods/greatest-mod/downloads
(Also biggest of only two 2 mods for HOMM IV)

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
kkfkkkfk
kkfkkkfk


Adventuring Hero
Nothing is impossible
posted October 05, 2018 05:23 AM

Once placed in the game folder, it will stop running. Is there any malfunction? The GOG version I used did not enter the game.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
akuhak
akuhak

Tavern Dweller
posted October 05, 2018 07:47 PM

kkfkkkfk said:
Once placed in the game folder, it will stop running. Is there any malfunction? The GOG version I used did not enter the game.
video card should support opengl 3.0
tested with UK 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

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Evaline
Evaline


Known Hero
posted October 05, 2018 10:55 PM

akuhak said:
video card should support opengl 3.0
tested with UK 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
This is a nonsence. HoMM IV v1.2 only exist for US release of the game. So v1.2 UK is someone's sick imagination.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
akuhak
akuhak

Tavern Dweller
posted October 20, 2018 07:26 PM
Edited by akuhak at 19:27, 20 Oct 2018.

Released new version. Heroes 4 GL v1.09 changes:
- Now it is possible to run game in window mode with resolution 1280x1024 if screen vertical resolution more than 1080p.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
NimoStar
NimoStar


Promising
Supreme Hero
Modding the Unmoddable
posted October 20, 2018 10:54 PM

Good update but not very useful for me since my max vertical resolution is still 768 xd
____________
Discover H4 Greatest Mod!
https://www.moddb.com/mods/greatest-mod/downloads
(Also biggest of only two 2 mods for HOMM IV)

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
thGryphn
thGryphn


Promising
Famous Hero
posted October 20, 2018 11:48 PM

I have issues with this. I can get the main menu, and select game but as soon as I proceed to start the map, the game crashes to desktop.

Plus, the window view at 1280x1024 did not work. I have a 1440p screen, using GTX 1050Ti. Windows 10 1809. I tried various compatibility modes...


 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
akuhak
akuhak

Tavern Dweller
posted October 21, 2018 01:34 PM

thGryphn said:
I have issues with this. I can get the main menu, and select game but as soon as I proceed to start the map, the game crashes to desktop.

Plus, the window view at 1280x1024 did not work. I have a 1440p screen, using GTX 1050Ti. Windows 10 1809. I tried various compatibility modes...


Maybe you have windows scaling enabled? If yes - set it to 100% before launching game.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
thGryphn
thGryphn


Promising
Famous Hero
posted October 21, 2018 08:50 PM
Edited by thGryphn at 20:51, 21 Oct 2018.

No, I don't have scaling enabled...

Edit: I have the GoG version, idk if it makes any difference...

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
avatar
avatar


Promising
Supreme Hero
posted October 21, 2018 09:00 PM

I play with gog version without any issues.
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
vulcancolak
vulcancolak


Known Hero
posted October 22, 2018 11:37 AM

Hello everyone. I was just tried it on menu and alt tab and return speed is amazing. But after i try to select map, after the load finishes crashes to desktop how can i get rid of this issue?

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
thGryphn
thGryphn


Promising
Famous Hero
posted October 22, 2018 11:49 AM

vulcancolak said:
Hello everyone. I was just tried it on menu and alt tab and return speed is amazing. But after i try to select map, after the load finishes crashes to desktop how can i get rid of this issue?


Seems we have the same problem.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
akuhak
akuhak

Tavern Dweller
posted October 23, 2018 07:57 PM

thGryphn said:
vulcancolak said:
Hello everyone. I was just tried it on menu and alt tab and return speed is amazing. But after i try to select map, after the load finishes crashes to desktop how can i get rid of this issue?


Seems we have the same problem.


Wrapper updated to 1.10 version - now should be fixed.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
thGryphn
thGryphn


Promising
Famous Hero
posted October 23, 2018 09:49 PM
Edited by thGryphn at 21:50, 23 Oct 2018.

akuhak said:
thGryphn said:
vulcancolak said:
Hello everyone. I was just tried it on menu and alt tab and return speed is amazing. But after i try to select map, after the load finishes crashes to desktop how can i get rid of this issue?


Seems we have the same problem.


Wrapper updated to 1.10 version - now should be fixed.


Works great now, thanks!

On my screen, simple Bicubic looks the best.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
akuhak
akuhak

Tavern Dweller
posted November 10, 2018 08:47 PM

New version:
- Now aspect ratio hotkey moved to F9
- added limited support for systems which does not support OpenGL 3.0+, for activating just launch game with parameter -nogl. Shaders does not work in this mode.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
gnollking
gnollking


Supreme Hero
Supreme Hero
posted November 10, 2018 09:27 PM

awesome work

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread »
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0388 seconds