|
Thread: Why i cannot add 3'rd or 4'th abilities? | This thread is pages long: 1 2 · NEXT» |
|
vulcancolak
Famous Hero
|
posted February 06, 2020 10:02 AM |
|
|
Why i cannot add 3'rd or 4'th abilities?
Hello everyone. I am trying to add 3'rd ability to Angel but here is the picture
click
When i try to add new ability on next part, it removes all of the current abilities.
39 (resurrection) 6A 19 (fly) and if i will put new ability on these values, current abilities removes. Do i need to to do something special for that? I can replace the current ones but not the add new ones even if the unit still have the 2 empty slots
|
|
NimoStar
Responsible
Legendary Hero
Modding the Unmoddable
|
posted February 14, 2020 11:22 PM |
|
|
|
vulcancolak
Famous Hero
|
posted February 16, 2020 07:23 AM |
|
|
Uhm.. Wow. Probably i will skip this one because it is too advanced for me. Thank you so much for your help.
|
|
RoseKavalier
Admirable
Supreme Hero
|
posted February 16, 2020 03:28 PM |
|
|
Just to be certain... you looked at this post?
Because once you've downloaded files and created a patched exe, all you have to do is edit a json (text) file to get whatever abilities... that should be simpler than the hex editing you were writing about in op.
____________
My Let's Plays: Metataxer's Revenge - The Empire of The World 2
|
|
vulcancolak
Famous Hero
|
posted February 17, 2020 11:18 AM |
|
|
RoseKavalier said: Just to be certain... you looked at this post?
Because once you've downloaded files and created a patched exe, all you have to do is edit a json (text) file to get whatever abilities... that should be simpler than the hex editing you were writing about in op.
The problem is, i have a many flaws with English and it looked complicated to me. But if you say it is easier than exe edit, i will read it carefully today and try to handle it by myself. But i will ask for the help if i stuck at some points. By the way my "MAIN" goal is able to edit artifacts. I have a serious problems with artifacts and it would be amazing to edit them as i want. Thank you for your response, i will check this out today.
Update 1: Yes i have checked but when i tried to open, i get the error message about some dll files and i have downloaded them
vcruntime140d.dll
ucrtbased.dll
vcruntime140d
I have downloaded 3 of these files and put it into my heroes 4 folder. But after i do that, i am getting error like this.
The application was unable to start correctly (0x000007b)
Click OK to close the application.
Update 2: Today i have moved 3 dll files from heroes 4 directory, uninstalled all visual studios and installed this one
https://ibb.co/W0wrfGJ
But still it is asking for the missing dll files.
And also i have realized msvcp140d.dll, vcruntime140d.dll and ucrtbased.dll files are not installing with this all in one pack. What should we do? Maybe i can try to use your own dll files for the make it work.
|
|
RoseKavalier
Admirable
Supreme Hero
|
posted February 18, 2020 05:11 PM |
|
|
vulcancolak said:
And also i have realized msvcp140d.dll, vcruntime140d.dll and ucrtbased.dll files are not installing with this all in one pack. What should we do? Maybe i can try to use your own dll files for the make it work.
Hmm, that's an unfortunate error on my part it appears.
Usually I set my released projects to be fully inclusive but it seems I simply forgot to do it here.
I'll fix the issues then update the files later today.
____________
My Let's Plays: Metataxer's Revenge - The Empire of The World 2
|
|
vulcancolak
Famous Hero
|
posted February 18, 2020 07:15 PM |
|
|
RoseKavalier said:
vulcancolak said:
And also i have realized msvcp140d.dll, vcruntime140d.dll and ucrtbased.dll files are not installing with this all in one pack. What should we do? Maybe i can try to use your own dll files for the make it work.
Hmm, that's an unfortunate error on my part it appears.
Usually I set my released projects to be fully inclusive but it seems I simply forgot to do it here.
I'll fix the issues then update the files later today.
I am waiting for good news. And thank you again for your help.
|
|
RoseKavalier
Admirable
Supreme Hero
|
posted February 21, 2020 05:16 PM |
bonus applied by Galaad on 22 Feb 2020. |
|
It took longer than expected but I have recompiled everything with verified settings.
And then I did the extra step of checking on a winXP VM with bare bones...where it patched and loaded just fine so I'm hoping your issues will be resolved as well.
Link to release page
____________
My Let's Plays: Metataxer's Revenge - The Empire of The World 2
|
|
NimoStar
Responsible
Legendary Hero
Modding the Unmoddable
|
posted February 22, 2020 03:57 PM |
|
|
Nice. I take it that the link will be fixed on the original page?
____________
|
|
RoseKavalier
Admirable
Supreme Hero
|
posted February 22, 2020 06:06 PM |
|
|
It's the same link, to the release page of H4MS repository, unless I every modify the repository or Github modifies how release pages are accessed (like Dropbox did not too long ago), the initial link will remain valid.
...I just updated H4MS.zip on that page.
____________
My Let's Plays: Metataxer's Revenge - The Empire of The World 2
|
|
vulcancolak
Famous Hero
|
posted February 23, 2020 06:59 AM |
|
|
Hello again RoseKavalier. Now i have started to test it. I have realized it requires the original file first. Because i wasn't able to work on my modified Heroes4.exe but i can create [patched]heroes4.exe. But when i click the exe (i haven't modified anything and just wanted to test it) nothing happens. It is normal?
I can provide any information you need.
|
|
RoseKavalier
Admirable
Supreme Hero
|
posted February 23, 2020 02:51 PM |
|
|
So, just to recap...
* you were able to create the patched exe using 'H4patcher.exe' ?
* but then launching the patched exe does nothing... no message error, no loading cursor, no nothing?
Some questions...
* launching the default heroes4.exe works?
* have you tried launching as administrator? / are you using an administrator account ?
* what OS are you using?
I can add some extra debug information to try and locate where issues may lie but I'd like to know some more details first. Testing on winXP and win10 usually covered most of every issue I've ever encountered in my short modding career, hoping this is no different
____________
My Let's Plays: Metataxer's Revenge - The Empire of The World 2
|
|
vulcancolak
Famous Hero
|
posted February 24, 2020 07:22 AM |
|
|
Hello my friend. Sure. First of all yes i can run heroes4.exe (it is original with 2002 date) then i am patching it with your patcher and when i click to it, it is trying to load something for 3 seconds, then nothing happens. When i return home, i will try it with my original heroes 4 folder and i will let you know what happens. I have Windows 10 Pro and yes i have tried run as administrator with my local administrator account.
RoseKavalier said: I can add some extra debug information to try and locate where issues may lie but I'd like to know some more details first. Testing on winXP and win10 usually covered most of every issue I've ever encountered in my short modding career, hoping this is no different
Don't feel bad about the situation. Age 35, still modding many games (heroes4, heroes5, dozens of warcraft maps, red alert 3, tes v skyrim, starcraft 1, starcraft 2) and i know how it feels when people find issues after countless hours and sleepless nights.
|
|
RoseKavalier
Admirable
Supreme Hero
|
posted February 25, 2020 03:40 AM |
|
|
Alright, let's try this.
I simplified the code to use basic winapi functions and added some very basic debugging to H4MS. Every time H4MS does manage to load, you'll either get a messagebox with an error or some logging to "H4MS debug [date].txt".
Also the paths to dll are explicitly stated now instead of using relative directory, hoping that helps along with a few extra safeties here and there.
For now I switched everything to ascii instead of wide char, technically this shouldn't change anything because old exe like this don't work with non-ascii directories anyway... but we'll see.
Download H4MS basic log
Not going through github repository cos we're looking for a needle here.
____________
My Let's Plays: Metataxer's Revenge - The Empire of The World 2
|
|
vulcancolak
Famous Hero
|
posted February 25, 2020 07:38 PM |
|
|
Hello again my friend. Now i have tested it with original Heroes 4. Now this time after i patch it, i was able to start the game. Game started with 1 campaign but when i tried to enter map folder, game crashes. Here is the picture.
google create url then i have tried to download the file you have uploaded but
"Error Code: 404
Description: File Not Found
Please try again or return to Heroes Community Home Page"
|
|
RoseKavalier
Admirable
Supreme Hero
|
posted February 25, 2020 11:57 PM |
|
|
|
vulcancolak
Famous Hero
|
posted February 26, 2020 05:05 PM |
|
|
RoseKavalier said: I flipped the link and name around, fixed it.
Re-posting for clarity:
Download H4MS basic log
Man, you are amazing. Definitely. How can i properly thank you? Not only you. Specially NimoStar and Karmakeld too.
Edit. Lol i have a serious problem now When i put patched exe to my folder (my heroes 4 mod) it is not loading
Here it is my folder infrastructure. I am sorry about that. I was thought i was able to run exe within my heroes4 mod folder.
My mod based on equilibris 3.51 and my files within the equi.h4r
|
|
RoseKavalier
Admirable
Supreme Hero
|
posted February 26, 2020 08:13 PM |
|
|
I haven't looked at supporting Equi yet, only the base game.
If it now works on the base game for you, then I'll update the actual release and one day look at supporting Equi.
____________
My Let's Plays: Metataxer's Revenge - The Empire of The World 2
|
|
vulcancolak
Famous Hero
|
posted February 26, 2020 08:50 PM |
|
|
If i would know how to make it work with equi, probably i would like to do that but sadly i don't have the talents to do that. But at least current release is fixed thanks to me i believe take care of yourself.
|
|
NimoStar
Responsible
Legendary Hero
Modding the Unmoddable
|
posted February 27, 2020 12:46 AM |
|
|
Too bad. IF it doesn't work with Equilibris then it won't work with my mod either, since it is als equilibris based like vulcancolak's one.
I supposse the incompatiblity happens because of the equilibris .dll which "Hacks" the code in the original exe replacing it / supplementing it with its own.
So, when the .exe is modified/patched by the RoseKavalier ability adder,
then part of the code is replacd again by the equi dll and making it non functional.
that is my take on the problem, anyways, just an hypothesis, but sounds logical based on how everything works.
Supporting equilibris then is a matter of making a modified DLL.
However there is another option...
the Equilibris exe has some parts of the creature ability list replaced by the hex jumps I mentioned (that sends the exe code to read the abilities somewhere else in its own code, like the extra Earth Elemental abilities)
THe rosekavalier extension that is suppossed to work replacing this section of the code is ... destroyed, for lack of a better word (corrupted?) by this jump.
In that case it MAY BE easy to fix this by hex-replacing the hex code of abilities in Equilibris exe, by the code of abilities in original exe (and the parts off site as well), thus suppressing the jump and letting rosekavalier extension work.
____________
|
|
|