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 ]
HOMM1: info forum | HOMM2: info forum | HOMM3: info mods forum | HOMM4: info CTG forum | HOMM5: info mods forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > Heroes 4 - Lands of Axeoth > Thread: Why i cannot add 3'rd or 4'th abilities?
Thread: Why i cannot add 3'rd or 4'th abilities? This thread is 2 pages long: 1 2 · «PREV
RoseKavalier
RoseKavalier


Admirable
Supreme Hero
posted February 27, 2020 03:25 AM

I don't even know how you guys managed to patch the equi exe, H4Patcher checks for the query "OriginalFilename = heroes4.exe" which was modified in equi to "OriginalFilename = h4mod.exe".

The reason why they aren't compatible now is that a patched equi exe would inadvertently overwrite some of the hex modifications done by equi.

I can't even launch equi on my end, they did some very unsafe things to that exe, like writing code in reserved sections; at least in the version I downloaded (3.5)

Anyhow, I updated H4MS with latest changes and modified H4Patcher so that the patched exe shouldn't come into conflicts with equi (at least theoretically based on the 2 minutes I've looked at h4mod.exe in debugger). You're welcome to try...
____________
My Let's Plays: Metataxer's Revenge - The Empire of The World 2

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


Famous Hero
posted February 27, 2020 07:03 AM
Edited by vulcancolak at 07:07, 27 Feb 2020.

Just a note. I was used 3.55 back in the days and it has lot of bugs and crashes. After few months i have decided to return to 3.51. The last thing i was facing at 3.55 game was crashing when someone tries to open spellbook. And there was hardcoded ability changes comes with dll files. At least 3.51 stable and no crashes.
Side note: My mod file is just a equi.h4r file. Rest of the files based on the equilibris 3.51

RoseKavalier said:
I don't even know how you guys managed to patch the equi exe, H4Patcher checks for the query "OriginalFilename = heroes4.exe" which was modified in equi to "OriginalFilename = h4mod.exe".


I was used the original heroes4 folder for the patch. I have a many heroes4 folders for a reason. But i am not experienced with exe and dll edit, so i thought it would be run if i will patch it within heroes4 original folder and move the new exe file within equilibris 3.51 folder.  

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


Responsible
Supreme Hero
Modding the Unmoddable
posted February 28, 2020 02:14 AM

Quote:
I don't even know how you guys managed to patch the equi exe, H4Patcher checks for the query "OriginalFilename = heroes4.exe" which was modified in equi to "OriginalFilename = h4mod.exe".

The reason why they aren't compatible now is that a patched equi exe would inadvertently overwrite some of the hex modifications done by equi.

I can't even launch equi on my end, they did some very unsafe things to that exe, like writing code in reserved sections; at least in the version I downloaded (3.5)


Yes, they used for extra code some parts in the exe which are used as memory storage. That is why it is unstable.

However, both versions are "3.5"

One is 3.51 (last "official" version)
and the other 3.55 (experimental version still from over 10 years ago which comes with extra creature banks and artifacts)
____________
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
NimoStar
NimoStar


Responsible
Supreme Hero
Modding the Unmoddable
posted March 03, 2020 09:44 PM

In any case, I just realized that just making the mod equi compatible will not make it compatible with my mod automatically since I changed more things in the exe...

In any case; i think 3.55 should take priority over 3.51
____________
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
RoseKavalier
RoseKavalier


Admirable
Supreme Hero
posted March 04, 2020 08:18 PM

Latest version of patched exe reserves 0x96FEB4 through 0x96FF23, this area seemed clear when I last looked at Equi.

If you don't have anything in there then I don't see why it shouldn't work, unless your Equi version is different than the one I looked at.

Modding of several versions is very unlikely to ever happen, at least not for H4MS. Heroes3 settled on version 3.2 and that helped a lot with development. Would be nice if a similar consensus could be reached here so that "it doesn't work on my version" becomes a thing of the past. If I should be supporting another version, lmk and I'll settle on whichever gets decided upon.
____________
My Let's Plays: Metataxer's Revenge - The Empire of The World 2

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


Responsible
Supreme Hero
Modding the Unmoddable
posted March 05, 2020 11:27 PM

I have filled some extra spaces in the same places equi uses extending their lists. I will look at my exe and get back to the results.
____________
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
NimoStar
NimoStar


Responsible
Supreme Hero
Modding the Unmoddable
posted March 05, 2020 11:44 PM
Edited by NimoStar at 00:15, 09 Mar 2020.



Seems OK, you would add the 00400000 which my hex editor doesn't so that would be the portion you mentioned.


***

As for the different versions, there are only three, four at most publicly released: Vainilla, Equilibris (3.51 & 3.55) and my mod which is based on equilibris.

Spanish Exe I have is significantly longer than English Exe for whatever reason, though, so I am not counting localized versions. I use English Exe for modding since this is the most common version.

The reason for these divergences is that we never had a "Plugin loader" like the ones in H3; H4 modding scene was practically paralyzed from 2006 with last release of Equi, to 2016 when I restarted it with the help of this forum.


____________
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
Jump To: « Prev Thread . . . Next Thread » This thread is 2 pages long: 1 2 · «PREV
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0362 seconds