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: Sharing something about Mod
Thread: Sharing something about Mod This thread is 13 pages long: 1 2 3 4 5 6 7 8 9 10 11 12 13 · «PREV / NEXT»
NimoStar
NimoStar


Responsible
Legendary Hero
Modding the Unmoddable
posted January 27, 2021 09:32 PM

Its on the EXE

You need Resource Hacker (free tool)

Modify the menues, then recompile.

I did it for Greatest Mod
____________
Never changing = never improving

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


Hired Hero
posted January 28, 2021 05:12 PM

Hi Nimostar!
Thank you for the fast answer

Yesterday I found the adress to change blacksmiths.
It's in the h4 Dll

In my version (Equi3.51)

Life:  .100040E4  
Order: .100040F8
Death: .1000410C
Chaos: .10004120
Nature:.10004130
Might: .10004144

The adresses for potions are also nearby.

List of Artifact codes are here:

http://equilibris.celestialheavens.com/forum/viewtopic.php?f=15&t=5145&sid=52894c27c245c66fb3bdce0bf0c994f6

You also have to rename everything inside the .ora of the dialog.blacksmith layer files correspondly.
And if u want to sell a artifact that wasn't available before, then open heroes4.h4r and choose any item that was sold before (like Mages_Staff) in the layers.dialog.blacksmith and save it with the name of the new artifact. And then u add that to your equi.h4r
Also change the costs of artifact in the table.



____________

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


Famous Hero
posted April 11, 2021 12:38 PM

leadcrow said:
Hi Nimostar!
Thank you for the fast answer

Yesterday I found the adress to change blacksmiths.
It's in the h4 Dll

In my version (Equi3.51)

Life:  .100040E4  
Order: .100040F8
Death: .1000410C
Chaos: .10004120
Nature:.10004130
Might: .10004144

The adresses for potions are also nearby.

List of Artifact codes are here:

http://equilibris.celestialheavens.com/forum/viewtopic.php?f=15&t=5145&sid=52894c27c245c66fb3bdce0bf0c994f6

You also have to rename everything inside the .ora of the dialog.blacksmith layer files correspondly.
And if u want to sell a artifact that wasn't available before, then open heroes4.h4r and choose any item that was sold before (like Mages_Staff) in the layers.dialog.blacksmith and save it with the name of the new artifact. And then u add that to your equi.h4r
Also change the costs of artifact in the table.







Hello my friend. I was trying to test it on few artifacts but it seems i cannot find the shop. I was correcting by checking next values if it includes Plate Mail (7E) but somehow i cannot find. Am i missing something?

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


Hired Hero
posted April 12, 2021 07:24 PM

vulcancolak said:


Hello my friend. I was trying to test it on few artifacts but it seems i cannot find the shop. I was correcting by checking next values if it includes Plate Mail (7E) but somehow i cannot find. Am i missing something?


It's the h4.dll file not heroes4.exe
I don't know where it is for original Heroes4 only Equilibris.
____________

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


Famous Hero
posted April 13, 2021 01:22 AM

Hmmm are you sure about that? Here it is my h4.dll file



And it is my mod folder. None of the .dll files long enough to reach 100040E4



And currently i gave myself to crazy duty. I will gonna check greatsword (4f) crossbow (2f) and plate mail (7e)

One by one i will try to find 4f 2f 7e together. Or at least 1 or 2 spaces between theirs.

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


Hired Hero
posted April 13, 2021 11:30 AM

I think you forgot the dot at the start of the adress
____________

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


Famous Hero
posted April 13, 2021 12:48 PM

leadcrow said:
I think you forgot the dot at the start of the adress

Hmmm. What does this mean?

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


Hired Hero
posted April 13, 2021 12:50 PM

type instead of

  100040E4

  .100040E4
____________

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


Famous Hero
posted April 13, 2021 01:35 PM

leadcrow said:
type instead of

  100040E4

  .100040E4


This happens when i do this


I have tried to all search types of all these

Single (float32), 4 bytes
Real, 6 bytes
Double (float64), 8 bytes
Extended (float80) 10 bytes
hex-values

And when i try to search it as text-string it says
Can't find ".100040E4".


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


Hired Hero
posted April 13, 2021 02:19 PM

I just downloaded the editor you use
I use hiew and i thought its all the same
the offset in HxD for .100040E4 is 000028E4

sry
____________

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


Famous Hero
posted April 13, 2021 05:17 PM

leadcrow said:
I just downloaded the editor you use
I use hiew and i thought its all the same
the offset in HxD for .100040E4 is 000028E4

sry


No problem my friend. Yes it seems i found it. I have replaced Iron Plate with Golden Platemail (7E > 4D) game crashes when i click the armory. Now it seems i found the file you mentioned.

layers.dialog.blacksmith.plate_mail.df2

"And if u want to sell a artifact that wasn't available before, then open heroes4.h4r and choose any item that was sold before (like Mages_Staff) in the layers.dialog.blacksmith and save it with the name of the new artifact. And then u add that to your equi.h4r"

Now i am bit of confused. I have extracted these files from Heroes4.h4r/adv_object/artifacts/armor

adv_object.artifacts.armor.golden platemail.df2
adv_object.artifacts.armor.plate mail.df2

And extracted these files but i realize there are 2 platemails

Heroes4.h4r/font/dialog/blacksmith
layers.dialog.blacksmith.plate_mail.df2
layers.dialog.blacksmith.platemail.df2

I want to replace Golden Platemail with Plate Mail. I have tried few things and i have failed.

My last attemps is extracted layers.dialog.blacksmith.mage's_staff.df2
renamed it as
layers.dialog.blacksmith.golden_platemail.df2
then saved it to my equi.h4r but game keeps crashing while try to open order of paladins

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


Hired Hero
posted April 13, 2021 05:36 PM

you must name it like in the artifacts table, so Golden Platemail would be golden_plate_mail
____________

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


Famous Hero
posted April 13, 2021 05:41 PM
Edited by vulcancolak at 17:46, 13 Apr 2021.

leadcrow said:
you must name it like in the artifacts table, so Golden Platemail would be golden_plate_mail


This is not worked either. Changed this original file layers.dialog.blacksmith.plate_mail.df2
With this one
layers.dialog.blacksmith.golden_plate_mail.df2
But sadly not worked.

And i am sure about the h4.dll file change is correct
2F 00 00 00 69 00 00 00 4d (it was 7E) 00 00 00 C3 00 00 00 FF FF FF FF 0E 00 00 00 6B 00 00 00

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


Hired Hero
posted April 13, 2021 06:19 PM

sry again, has been a while since I discovered this and also im very forgetful because of weed


I checked and now i remember:

u must export the .ora file of layers.dialog.Blacksmith.Life
then open with Gimp
and there u rename everything that is Platemail

but i recommend you eventually try a different artifact because I realized the naming convention is not as in the table,so it could be

Golden_plate_mail (most likely)
Golden_Plate_Mail

I guess
____________

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


Hired Hero
posted April 13, 2021 06:25 PM
Edited by leadcrow at 18:27, 13 Apr 2021.

on the bottom right corner u have to rename everything

[url=https://ibb.co/99wGmJV][/url]
____________

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


Famous Hero
posted April 13, 2021 08:38 PM

leadcrow said:
on the bottom right corner u have to rename everything




Since an hour i am trying but i cannot do that.
Can you tell me like you are talking with imbecil? I cannot open it with GIMP. Unknown file type. When i try to change .df2 as .ora, GIMP, still i cannot open it.  

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


Honorable
Famous Hero
posted April 13, 2021 09:23 PM

vulcancolak said:
Since an hour i am trying but i cannot do that.
Can you tell me like you are talking with imbecil? I cannot open it with GIMP. Unknown file type. When i try to change .df2 as .ora, GIMP, still i cannot open it.  


You'll need a program which can extract an ora file from your df2 file. Either Namerutan's H4ResHelper, or my H4 Resource Editor can do this.

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


Hired Hero
posted April 13, 2021 09:33 PM
Edited by leadcrow at 21:34, 13 Apr 2021.

Yes. With H4 Resource Editor I do that.

I actually pre-assume everyone who mods Heroes4 uses that.
But I am motivated to make a detailed post now.
____________

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


Famous Hero
posted April 13, 2021 09:33 PM

Wow. It was your software? Great job my friend. Now i am going to check it out.

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


Honorable
Famous Hero
posted April 13, 2021 09:49 PM

vulcancolak said:
Wow. It was your software? Great job my friend. Now i am going to check it out.


Haha yes, and thanks

Working on a bug right now so that we can streamline replacing buildings in the town screen

 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.0567 seconds