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 5 - Modders Workshop > Thread: [TOOL] Homm5 Patcher & patch collection
Thread: [TOOL] Homm5 Patcher & patch collection This thread is 13 pages long: 1 2 3 4 5 6 7 8 9 10 11 12 13 · «PREV / NEXT»
magnomagus
magnomagus


Admirable
Legendary Hero
modding wizard
posted December 24, 2016 06:23 PM
Edited by magnomagus at 18:38, 24 Dec 2016.

I think if the game works properly after the change it already says a lot, but I recall the same (single) value must be changed in map editor as well, if the rmg doesn't crash and places the existing h55 artifacts it is likely good.

EDIT: Ok forget this, we actually had the same discussion 1.5 years ago, page 2, If the hack was bugged the game crashes, it doesn't now so it is probably good but a patcher is needed for the editor as well,

I mentioned the locations in the editor as 0x8C05D1, 0x8C5380 ??
____________
MMH5.5 Downloads | MMH5.5 Translations | MMH5.5 FAQ

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


Responsible
Known Hero
posted December 24, 2016 07:46 PM

Okay, I added these addresses to the patch so it is able to patch the editor as well:

maxArtifacts.yml
____________
My Heroes5 Dump /// My Heroes5 Patcher

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


Admirable
Legendary Hero
modding wizard
posted December 24, 2016 08:11 PM

ok, it doesn't crash the rmg so it looks promising
____________
MMH5.5 Downloads | MMH5.5 Translations | MMH5.5 FAQ

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


Admirable
Legendary Hero
modding wizard
posted December 26, 2016 02:51 PM

Ok here is a question

previously artifacts were numbered as follows

0 = ARTIFACT_NONE (don't now for what is used)
1-126 = all artifacts in H5.5
127 = ARTIFACT_EFFECT COUNT (don't know for what is used)

anyway numbering was from 0-127, so my question is if you extend to 150 does the numbering become 0-149 or 0-150 or 1-150 (which could explain some issues I'm currently having)
____________
MMH5.5 Downloads | MMH5.5 Translations | MMH5.5 FAQ

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


Responsible
Known Hero
posted December 26, 2016 04:47 PM
Edited by Deflaktor at 16:48, 26 Dec 2016.

Sorry I cant help you there. All I did was change some code:

push 61             # 97 in hex

into

push 00000096       # 150 in hex

It should not have any other impact on the game code. However if you really want to be sure, you could change the max_artifact_count to 97 and patch the game with that value.

This would result in

push 00000061       # 97 in hex

instead of

push 61
____________
My Heroes5 Dump /// My Heroes5 Patcher

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


Admirable
Legendary Hero
modding wizard
posted December 26, 2016 11:20 PM

I discovered something odd,

i had patched MMH55_64.exe succesfully with following patches:

-miniartifacts2
-towerdmg
-energychannel
-pest1.6

no issues

then i added (max level 60:

levels1.3
maxlevel92

and they seem to work fine in game but every time I quit the game to desktop after at least one map has been loaded/started a 'mmh55 has stopped working' error message is generated by windows. I tried patching a clean copy again with max level 50, but the same error occurs every time.
____________
MMH5.5 Downloads | MMH5.5 Translations | MMH5.5 FAQ

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


Responsible
Known Hero
posted December 26, 2016 11:35 PM
Edited by Deflaktor at 00:08, 27 Dec 2016.

this seems like a critical issue so I will have to investigate. Thanks for the bug report.
____________
My Heroes5 Dump /// My Heroes5 Patcher

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


Admirable
Legendary Hero
modding wizard
posted December 27, 2016 12:05 AM

ok the situation is actually much different, I previously only tested the patch with console commands on day 1, but if you don't do tht and just hit the next turn button right away the game starts upgrading the players hero on day 2 like crazy (probably to level 50).

funnily windows doesn't generate the error after this happens.
____________
MMH5.5 Downloads | MMH5.5 Translations | MMH5.5 FAQ

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


Supreme Hero
Heroes 3 Fan
posted December 27, 2016 03:49 PM

Can you add support for DM Map H5_game.exe? It diffrent from basic TOE exe.

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


Responsible
Known Hero
posted December 29, 2016 07:38 AM
Edited by Deflaktor at 07:39, 29 Dec 2016.

Sorry that is a lot of work to do all patches. I have never started this dark messiah exe and have no idea what it actually is. If you can tell me which patches you are interested in, I might consider doing it.
____________
My Heroes5 Dump /// My Heroes5 Patcher

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


Supreme Hero
Heroes 3 Fan
posted December 29, 2016 06:10 PM

Experience patch and first Aid patch

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


Admirable
Legendary Hero
modding wizard
posted January 04, 2017 03:01 PM

Hi deflaktor as you may have noticed I have moved pest1.6, energy channel, mini artifacts and tower dmg into h55, but not yet levels because of the issues.

Based on your work on the first aid tent I was wondering if a similar trick can be used for the tower damage, since it is not really possible to balance them in every phase of the game with a static value.

I designed a formula based on town level that would work much better:

Main Tower Dmg = 40 + (TL^2)/8
Side Tower Dmg = 20 + (TL^2)/10

The use of exponent causes the dmg to grow very slowly for first 10 levels which is important for short multiplayer games, while it gets much stronger for last 10 levels for XXL maps.

maybe 40,20, 8 and 10 could be user modifyable numbers.
____________
MMH5.5 Downloads | MMH5.5 Translations | MMH5.5 FAQ

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


Admirable
Omnipresent Hero
Endless Revival
posted January 20, 2017 12:53 AM

Would it be possible to make banish, banshee howl and benediction cost 50% atb?

Also is there a way to modify the starting morale by modifying its conditions? Your army gets +1 from fighting alongside creatures of the same faction and another +1 from being led by a native hero, could you make one of the two not give a +1 bonus? Because assigning a -1 morale script affects ballista morale(with artificial glory) and also summoned/gated units.

One more thing, can soulfire damage be modified? It is a pity that such a nice concept is wasted because of poor damage.
____________
H5 is still alive and kicking, join us in the Duel Map discord server!
Map also hosted on Moddb

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

Tavern Dweller
posted February 18, 2017 12:15 AM

I can confirm that the level 50 patch is bugged - once I hit the next day button it brought all of my heroes to level 50. So it definitely *works* and ups the cap, but there's probably some overflow issue or something that's causing it to automatically send everyone to the maximum. And it absolutely has to be used with the faster levels mod, right?

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


Responsible
Known Hero
posted March 20, 2017 02:40 AM

Elvin said:
Would it be possible to make banish, banshee howl and benediction cost 50% atb?

How much ATB do they cost now?

Elvin said:

Also is there a way to modify the starting morale by modifying its conditions? Your army gets +1 from fighting alongside creatures of the same faction and another +1 from being led by a native hero, could you make one of the two not give a +1 bonus?

It's possible, but I'm kinda out of steam right now. Maybe I will do this at a later time.

Elvin said:

One more thing, can soulfire damage be modified? It is a pity that such a nice concept is wasted because of poor damage.

What is its current damage formula?


____________
My Heroes5 Dump /// My Heroes5 Patcher

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


Responsible
Known Hero
posted March 20, 2017 10:21 PM bonus applied by Galaad on 02 Sep 2017.
Edited by Deflaktor at 00:18, 21 Mar 2017.

Since Dropbox killed my public folder, I had to move to another site. My Dump is now available at
https://deflaktor.github.io/Heroes5

Now would be a good time for a mod to edit my OP to update the new links and fix all broken screenshots.

I used this opportunity to tackle the levels patch yet another time. I completely rewrote the whole routine. The game originally has the exp values up to level 12 hardcoded. From then on, it calculates all the levels up to level 40 and stores them in a cache. If needed it retrieves those values. The problem with the old patch was that it relocated the cache to another location, where it could have corrupted some other part of memory.

I threw all that out of the window. Now, levels up to 77 can be hardcoded into the EXE. As such there is no more tinkering with the memory and it should be much more stable now. After the last defined hardcoded exp value, it just adds a constant value to each additional level. This allows for up to max level 127!

So what does this new patch do?
- Increases max level to 99!
- An experience curve which does not grow exponentially any more. (If you were able to reach level 30 without trees you would be at level 32 now)
- Same as original curve until level 25
- Continues to increase with a constant 1.20 multiplier instead of a growing exponential increase
- Level 25 needs 200k exp
- Level 30 needs 492k exp (instead of 785k)
- Level 35 needs 1.2M exp (instead of 15M)
- Level 40 needs 3M exp (instead of 1.2B)
- Level 50 needs 20M exp
- Level 65 needs 300M exp
- Level 99 needs 2B exp

levelsV2.yml

It can only be patched with the newest version of the patcher:

Homm5Patcher V2.9

If you want to design an own experience curve, I have written a tool for that calculator
Here is an image of the different curves: (Levels V2.0 is the new patch)



Also new update: towerDamage.yml
It changes the formula for tower/moat damage from
tower_damage * (TL/Max TL)
to
tower_damage * (  TL/Max TL * factor_linear + TL*TL/(Max TL*Max TL) * factor_quadratic)


Also there were inconsistencies with some addresses in some patches which I have fixed now. I would recommend that you take a clean EXE file and download the patches freshly from my repository and re-apply the patches that you had in your EXE file.


____________
My Heroes5 Dump /// My Heroes5 Patcher

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


Admirable
Omnipresent Hero
Endless Revival
posted March 20, 2017 10:57 PM

Great!

Banish, banshee howl and benediction currently cost a full turn.

Not sure about soulfire, all I see in spells->hero skills->unique->gating->exploding corpses is..

<damage>
<Item>
<Base>1</Base>
<PerPower>1</PerPower>
</Item>
<Item>
<Base>1</Base>
<PerPower>1</PerPower>
</Item>
<Item>
<Base>1</Base>
<PerPower>1</PerPower>
</Item>
<Item>
<Base>1</Base>
<PerPower>1</PerPower>
</Item>
</damage>
<duration>
<Item>
<Base>1</Base>
<PerPower>1</PerPower>
</Item>
<Item>
<Base>1</Base>
<PerPower>1</PerPower>
</Item>
<Item>
<Base>1</Base>
<PerPower>1</PerPower>
</Item>
<Item>
<Base>1</Base>
<PerPower>1</PerPower>
</Item>
</duration>
____________
H5 is still alive and kicking, join us in the Duel Map discord server!
Map also hosted on Moddb

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


Promising
Famous Hero
posted March 20, 2017 11:18 PM

This is awesome D, many thanks!

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


Admirable
Legendary Hero
modding wizard
posted March 21, 2017 01:18 AM

Wow, I haven't had time to test it yet, but this looks like another revolutionary improvement to the game.

Thanks for your hard work!
____________
MMH5.5 Downloads | MMH5.5 Translations | MMH5.5 FAQ

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


Honorable
Supreme Hero
disrupting the moding industry
posted March 21, 2017 07:53 AM


Cant wait to kick some ass with this new stuff!

Actually now I am reconsidering a new hero build for 1v1 small maps based on economics specialization where I just fast build town levels to  get the protection my hero needs and not care about going out too much . This is going to fit perfect for some races!
____________
Join our official discord channel | NCF Utility Beta

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This thread is 13 pages long: 1 2 3 4 5 6 7 8 9 10 11 12 13 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0579 seconds