|
Thread: Why i cannot add 3'rd or 4'th abilities? | This thread is pages long: 1 2 · «PREV |
|
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
|
|
vulcancolak
Famous Hero
|
posted February 27, 2020 07:03 AM |
|
|
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.
|
|
NimoStar
Responsible
Legendary 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)
____________
|
|
NimoStar
Responsible
Legendary 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
____________
|
|
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
|
|
NimoStar
Responsible
Legendary 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.
____________
|
|
NimoStar
Responsible
Legendary 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.
____________
|
|
|