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»
vulcancolak
vulcancolak


Famous Hero
posted April 13, 2021 09:51 PM

Now i have to find how to extract it as .ora right?


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


Hired Hero
posted April 13, 2021 09:56 PM

iliveinabox would it be possible to update the editor, so you can rename the layers in the editor and it saves?
____________

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


Honorable
Famous Hero
posted April 13, 2021 10:07 PM

vulcancolak said:
Now i have to find how to extract it as .ora right?




Double click or right click -> open to open up the file. Then in the new window that opens up, select File->Export ora. This will prompt you to select a directory where the ora file will be saved.

leadcrow said:
iliveinabox would it be possible to update the editor, so you can rename the layers in the editor and it saves?


Layers files should already allow you to update the names of the individual layers (Don't forget to save, and you might have to save with a different name since I haven't yet figured out why I can't seem to close the file in order to delete).

If that is not the case, please let me know what you're trying to do so I can take a look at it.

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


Hired Hero
posted April 13, 2021 10:13 PM

- Open Heroes 4 Resource Editor

- Open equi.h4r


- Open Tree: layers->dialog->Blacksmith->Life

- Doubleclick on Life. A new Window Opens. Click File -> Export.ora

- Open File in Gimp. Rename the Layers. Save.

- In the Editor, still on the Life Window, File -> Import .ora

- Then File save. Then you can close the Life window.

- And then  File -> New (h4Container)

- Then File - > Add :  layers.dialog.Blacksmith.Life.h4d

- Then File - > Add :  layers.dialog.Blacksmith.Golden_plate_mail.h4d

- Finally File - Save as:  new_mod.h4r

- Copy into Data Folder, Start Equilibris
____________

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


Famous Hero
posted April 13, 2021 10:16 PM

Now i have to deal with your software life is so difficult guys.
My objective was replace Iron Plate with Golden Plate. If i can succeed, i am planning to change the entire shops. By the way i want to thank you specially both of you but few hours past and i am tired. I will return tomorrow and check the posts.
Thank you so much again.

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


Hired Hero
posted April 13, 2021 10:29 PM

Wow actually it works. Why did I fail earlier? vulcano you can rename in the editor, the save. then add.
Just replace


Plate_mail with Golden_plate_mail
         
L_Arrow_Plate_Mail with L_Arrow_Golden_plate_mail

etc.
____________

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


Honorable
Famous Hero
posted April 13, 2021 10:33 PM

leadcrow said:
Wow actually it works. Why did I fail earlier? vulcano you can rename in the editor, the save.


Great! If you do find something not working, please let me know so I can fix it.

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


Famous Hero
posted April 14, 2021 02:03 AM
Edited by vulcancolak at 02:12, 14 Apr 2021.

Finally. Successfull with some errors.

First of all, i was tested it on Chainmail.h4r and of course it looks like a Chainmail.
Second is i cannot buy it by itself. Only with another items but probably it is because of it's cost 0. I will check for it.

Third and most important part is i cannot add it to my own .h4r

Let me explain why. I was using ResEdit2 and ResEdit2 cannot detect the h4d files
And i couldn't find how to add .txt files to the mod with Resource Editor.

If i try to open my packed mod (equi.h4r) and add the 2 files to it, game tells me "missing important files" and i already know when you pack the files once, no more you cannot export it back. At least it happens to me.

My mod includes 7 txt files only. How can i put them together?


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


Legendary Hero
posted April 14, 2021 09:32 AM

Resedit2 is fantastic but only for quick view its unfinished and has a lot of bugs.
Try another eg.
H4resex
Put pluggins in main folder NOT in pluggins folder!!! Beware.


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


Honorable
Famous Hero
posted April 14, 2021 05:18 PM

vulcancolak said:
Finally. Successfull with some errors.

First of all, i was tested it on Chainmail.h4r and of course it looks like a Chainmail.
Second is i cannot buy it by itself. Only with another items but probably it is because of it's cost 0. I will check for it.

Third and most important part is i cannot add it to my own .h4r

Let me explain why. I was using ResEdit2 and ResEdit2 cannot detect the h4d files
And i couldn't find how to add .txt files to the mod with Resource Editor.

If i try to open my packed mod (equi.h4r) and add the 2 files to it, game tells me "missing important files" and i already know when you pack the files once, no more you cannot export it back. At least it happens to me.

My mod includes 7 txt files only. How can i put them together?




Which files are you trying to add to your new_mod.h4r file?

Let me know exactly what you're doing and I can help figure it out.

If you're trying to add a file with the same name as another file already in the .h4r file, that probably isn't going to work. You should be trying to add files to a newly created h4r container as leadcrow mentioned above.

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


Responsible
Legendary Hero
Modding the Unmoddable
posted April 14, 2021 05:42 PM
Edited by NimoStar at 17:44, 14 Apr 2021.

The layer renaming for me is easy.

But you really need to change something in the .exe/.dll as well for it to work?

_________________

Also, give it a price in the artifact table.

In my ''Greatest Mod'' I did that for ALL artifacts.


_________________

Try renaming .h4d as .txt if they are text files, before packing them with resedit, etc.
____________
Never changing = never improving

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


Famous Hero
posted April 14, 2021 06:00 PM

All i need to add my 7 .txt files within .h4r file.
Is there any software about that?

I cannot add .txt files (my mod) with Resource Editor
I cannot add .h4d files (market items thing) with ResEdit

I want pack my .txt files and .h4d files

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


Legendary Hero
posted April 14, 2021 07:08 PM

No 'add' I dont know resource editor. Best and safe way is rebuild all file. Extract all. Correct files you want. Pack all.
Resedit break your file after second 'add' and is non redeable for game.

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


Famous Hero
posted April 14, 2021 07:19 PM

Yes sadly i know. You tried to help me about that if you remember. When i pack the mod, mod is working well but no more i can extract the packed files.

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


Legendary Hero
posted April 14, 2021 07:52 PM

I think its problem Resedit2? You must always clean 'config' folder. Because its Resedit2 cache. And the same file name make mistake because in cache is another old than your new. Always delete all. But use another tool. Is faster.

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


Famous Hero
posted April 14, 2021 08:33 PM

Yes i know but it is not a big deal to me. I am always saving the original files. I just need to add these files with my .txt files for the build my mod.

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


Honorable
Famous Hero
posted April 14, 2021 08:48 PM

vulcancolak said:
Yes i know but it is not a big deal to me. I am always saving the original files. I just need to add these files with my .txt files for the build my mod.


Again, which files are you trying to add? What are their names so that I can know the type?

If they are file types the H4 Resource Editor recognizes (and it knows many of the file types), simply changing the extension to .h4d should allow you to add them to a new h4r container with the resource editor.

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


Responsible
Legendary Hero
Modding the Unmoddable
posted April 14, 2021 08:55 PM
Edited by NimoStar at 20:57, 14 Apr 2021.

Quote:
I cannot add .h4d files (market items thing) with ResEdit


Try renaming them to .df2

...


My question is still this:
Quote:
But you really need to change something in the .exe/.dll as well for it to work?


Also, I don't know where artifacts hex codes are noted. I know creature, hero ability and spells ones.
____________
Never changing = never improving

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


Famous Hero
posted April 14, 2021 10:29 PM
Edited by vulcancolak at 22:45, 14 Apr 2021.

iliveinabox05 said:
vulcancolak said:
Yes i know but it is not a big deal to me. I am always saving the original files. I just need to add these files with my .txt files for the build my mod.


Again, which files are you trying to add? What are their names so that I can know the type?

If they are file types the H4 Resource Editor recognizes (and it knows many of the file types), simply changing the extension to .h4d should allow you to add them to a new h4r container with the resource editor.


I already mentioned about it twice my friend

vulcancolak said:
All i need to add my 7 .txt files within .h4r file.
Is there any software about that?

I cannot add .txt files (my mod) with Resource Editor
I cannot add .h4d files (market items thing) with ResEdit

I want pack my .txt files and .h4d files


NimoStar said:


Try renaming them to .df2


Wait. It will gonna work? And yes i already changed h4.dll file for the new item. It is working when i pack the files with Resource Editor.

I have re-named the files as .df2 and ResEdit2 able to see the files. But games crashes when i try to click shop. But i have tried it pack with ResEdit2.
But i cannot pack it with Resource Editor. It cannot detect .txt files.

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


Legendary Hero
posted April 14, 2021 10:48 PM

Ive prepared Resedit 2.01 with h4d. You can try.

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