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: H4ResourceEditor
Thread: H4ResourceEditor This thread is 18 pages long: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 · «PREV / NEXT»
radmutant69
radmutant69


Promising
Known Hero
posted January 13, 2019 12:34 AM
Edited by radmutant69 at 00:43, 13 Jan 2019.

I think he means mainly this problem with the ResHelper:



It always names the first frame as 'frame 001' even if it shouldn't, if you import the image as a 'layer' file. This is why I used to importing everything as animations some time ago because I also had issues with it.

Also there are some files like the Might caravan layer file:



This (for example) can't be exported by the ResHelper, thanks to the duplicated 'Castle' layer. This is something like that error what Nimo talked about before his last fight against Ilive... I guess. The same thing happens when one tries to import an image with eg. a 'frame 001' and a 'frame 001 #1' layers though.

These are the bugs or errors I can recall about Namerutan's tool. I am not sure the layer renaming would be necessary in the Resource Editor since it probably won't containing the same problems, but if it isn't too difficult to code, hmm... why not?

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


Responsible
Supreme Hero
posted January 13, 2019 05:48 PM

That was some nice visual examples.
I recall I had the same export issue with one of the artifact layers, wondering why, but I get the same error message.
Can you use the ResEdit2 to export the layers? (this program never really worked for me though)..

I agree if it isn't much work, it would be neat if the ResourceEditor could also export layers.
Also I just encountered some oddities. It can open/view most adventure objects, but a few animals (crocodile and salmons) and others it won't open for viewing.
____________

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


Promising
Known Hero
posted January 14, 2019 03:16 PM

Karmakeld said:
Can you use the ResEdit2 to export the layers? (this program never really worked for me though)..


Well yes but only frame by frame as individual BMP images so I don't recommend it because then you have to rebuild the whole layer file from scratch. A much easier way is extracting the layer, rename the doubled frame or delete it by hex editing and then the ResHelper can export it easily.

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


Honorable
Famous Hero
posted January 14, 2019 11:57 PM

Ah gotcha. Yeah, that would probably be a pretty simple feature to add. I'll include it in the OP.

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


Hired Hero
posted February 13, 2019 09:50 PM

I guys i see your work, and just keep going, thank for that. Curious to see your first release! /cheer

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


Responsible
Supreme Hero
posted February 13, 2019 10:25 PM

NecroSandro said:
I guys i see your work, and just keep going, thank for that. Curious to see your first release! /cheer


First release of the tool or a release of what what it can help edit?
____________

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


Hired Hero
posted February 13, 2019 10:35 PM

Karmakeld said:
NecroSandro said:
I guys i see your work, and just keep going, thank for that. Curious to see your first release! /cheer


First release of the tool or a release of what what it can help edit?


for all

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


Responsible
Supreme Hero
posted February 13, 2019 11:06 PM

NecroSandro said:
Karmakeld said:
NecroSandro said:
I guys i see your work, and just keep going, thank for that. Curious to see your first release! /cheer


First release of the tool or a release of what what it can help edit?


for all


Well new objects have been released. See the New Objects Package tread for those. As for this tool, I guess you still gotta wait just a bit longer..
____________

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


Honorable
Famous Hero
posted February 15, 2019 10:00 PM
Edited by iliveinabox05 at 17:41, 08 May 2019.

I guess it's at a point where I can release this for everyone, so I might as well

I've updated the original post with a google drive link where the H4 Resource Editor can be downloaded.

It does require Java, so I'll also add a link which contains instructions for that as well.

Edit. Apparently I can no longer edit the original post because it is more than a year old. It says to "ask a moderator", but we don't currently have one (I have tried pming our mod for about 6 months now and my message has never been opened).

It would be nice if a mod from another forum could mark this as a project so that I can continue to update the original post with pertinent information.

You will need to install Java if you want to use this tool, so take a look at the instructions at the bottom of the page (instruction #2 of "How to Setup") here

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


Responsible
Supreme Hero
posted February 15, 2019 11:59 PM

I suggest asking the mod Galaad.. perhaps he can be of assistance..
____________

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


Adventuring Hero
posted February 16, 2019 05:51 PM

Very long wait for open file Heroes4.h4r?

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


Adventuring Hero
Nothing is impossible
posted February 17, 2019 01:58 PM
Edited by kkfkkkfk at 14:05, 17 Feb 2019.

I've downloaded it. It seems that it can only view buildings in H4D format.
And Some of the words were covered up.


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

Hero of Order
Li mort as morz, li vif as vis
posted February 17, 2019 02:14 PM

Thread rated as project per OP's request.
____________

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


Responsible
Supreme Hero
posted February 17, 2019 02:18 PM

kkfkkkfk said:
I've downloaded it. It seems that it can only view buildings in H4D format.
And Some of the words were covered up.




I have requested that obj format should be included and I believe that he plans to add that option
____________

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


Honorable
Famous Hero
posted February 18, 2019 05:21 PM

Thanks Galaad!

kkfkkkfk - Thanks for the feed back. I'll get that annoyance taken care of, and as Karmakeld said, I do plan to give you the option to export as .obj or whatever other file extension the game uses.

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


Honorable
Famous Hero
posted February 25, 2019 05:32 AM
Edited by iliveinabox05 at 06:34, 25 Feb 2019.

Roman2211 said:
Very long wait for open file Heroes4.h4r?


Yes, that can sometimes be the case, since the file is quite big. It usually takes my laptop a couple seconds to open it. I did make it so that it only tries to parse the table of contents, but that can still take a little time on the bigger .h4r files.

Edit. Michael, so I was going to revisit the ability to change an object's type, but the list you sent me is not really viewable using notepad. I thought somewhere you mentioned what to view the file with, but I'm currently unable to find where you posted that (and I'm tired so I didn't look for too long), so could you remind me what I should use to take a look at the object types list?

Edit 2. Found that I had downloaded the text editor for heroes text files when I searched through the tools I downloaded a while back, and it opens the file so that it's actually readable

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


Adventuring Hero
posted February 26, 2019 08:43 AM

Heroes4.h4r is not open, waited for 2 hours, no result

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


Honorable
Famous Hero
posted February 26, 2019 05:29 PM

Roman2211 said:
Heroes4.h4r is not open, waited for 2 hours, no result


It might be a memory issue with your machine. Jonny had an issue like that as well. In the folder where you are running the H4 Resource Editor, there should be a text file called something like "H4ResourceEditorLog.txt"

Could you please upload that somewhere and send me the link so I can have a look?

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


Responsible
Supreme Hero
posted February 26, 2019 06:21 PM

iliveinabox05 said:
Roman2211 said:
Very long wait for open file Heroes4.h4r?


Yes, that can sometimes be the case, since the file is quite big. It usually takes my laptop a couple seconds to open it. I did make it so that it only tries to parse the table of contents, but that can still take a little time on the bigger .h4r files.

Edit. Michael, so I was going to revisit the ability to change an object's type, but the list you sent me is not really viewable using notepad. I thought somewhere you mentioned what to view the file with, but I'm currently unable to find where you posted that (and I'm tired so I didn't look for too long), so could you remind me what I should use to take a look at the object types list?

Edit 2. Found that I had downloaded the text editor for heroes text files when I searched through the tools I downloaded a while back, and it opens the file so that it's actually readable


I found using the TAB function in a notepad was just a killer and I'm currently without excel so the TextEditor it was. Looking forward to having that option available
____________

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


Honorable
Famous Hero
posted March 04, 2019 08:07 PM
Edited by iliveinabox05 at 22:17, 04 Mar 2019.

I got all the major type mapped to minor types and update the minor type combo box depending on which major type is selected in its combo box, but I need one more thing before I can finish implementing the ability to change an object's type: I now need each major type code (number) associated with each major type, as well as each minor type code associated with each minor type!

I need this because if you change the major / minor types, then I need to also update the corresponding major / minor type code.

Anyone have this offhand? I guess I could make a map and drop one of each major / minor type, and then add a little debug to the H4MG to print out each major / minor type + its code..

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

Page compiled in 0.0443 seconds