|
|
vulcancolak
Famous Hero
|
posted April 13, 2021 09:51 PM |
|
|
Now i have to find how to extract it as .ora right?
|
|
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?
____________
|
|
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.
|
|
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
____________
|
|
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.
|
|
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.
____________
|
|
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.
|
|
vulcancolak
Famous Hero
|
posted April 14, 2021 02:03 AM |
|
|
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?
|
|
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.
|
|
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.
|
|
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
|
|
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
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
vulcancolak
Famous Hero
|
posted April 14, 2021 10:29 PM |
|
|
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.
|
|
Baronus
Legendary Hero
|
posted April 14, 2021 10:48 PM |
|
|
Ive prepared Resedit 2.01 with h4d. You can try.
|
|
|