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 ]
New Server | HOMM1: info forum | HOMM2: info forum | HOMM3: info forum | HOMM4: info forum | HOMM5: info forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > Heroes 4 - Lands of Axeoth > Thread: Problem with extracting UI (Namerutan's)
Thread: Problem with extracting UI (Namerutan's)
NimoStar
NimoStar


Promising
Famous Hero
Modding the Unmoddable
posted December 05, 2017 12:02 AM

Problem with extracting UI (Namerutan's)

Hello, H4 community

I was hoping to receive support on a single, mindbreaking issue.

As you may know, we "solved" many stuff of namerutan's tool before.

You could extract the town screens while I could not (with my old computer).

However, this is a different issue. It seems the tool simply refuses to export this layer altogether.

You can take it out of a resource file and save it as an H4 file, but you can't export it as an .ora

Thus, I can't edit it.

I have though of doing with hex editing but as you see in the images, it has tens of confusing layers, so this is not viable.

Can anyone try exporting this file?

If not, I would hope someone with programming skills can override the program check for "files of the same name" (and no, there wasn't any, I even tried exporting to a empty folder)

It is a very strange error but I am not so surprised given the alpha-like state of the program...

If this image can be extracted, we can completely change the look and feel of the game. We can even make an H3-like interface for the nostalgics. Maybe that will make them come to modded h4





Any help and comment appreciated.

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


Adventuring Hero
posted December 05, 2017 06:40 PM

Key is not the same thing as name.

Namerutan never finished implementing the ability to extract, or even view, all resources. Only some of them are able to be edited and replaced as .ora files. It's likely that's what you've run into here.

I emailed him several times but, unfortunately, never received a response.

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


Promising
Famous Hero
Modding the Unmoddable
posted December 05, 2017 11:22 PM
Edited by NimoStar at 23:23, 05 Dec 2017.

What's strange for me is that other UI elements can be extracted with no problem. This file has the same format as any other Layers file.

The preview even works perfectly. You *can* extract it. And view it. You just can't export it.

It's definitely a bug and not an unfinished feature.

And such a shame, because these are the most important layer files in the whole game actually...

I think it may be possible to fix this with hex editing on the namerutan .exe or auxiliary files, by disabling the "same key" check.

I don't have the necessary knowledge to do it, but someone with a background in hacking/cracking could potentially easily do so.

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


Adventuring Hero
posted December 05, 2017 11:59 PM

Definitely an unfinished feature. There was still work for him to do in order to make it so that all of the different resources could be exported / imported as .ora files. He worked on specific ones first, but never had the chance to generalize things so that it could be done for all.

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


Promising
Famous Hero
Modding the Unmoddable
posted December 06, 2017 12:33 AM

That's the thing. This isn't a "different resource". It's the same resource type as the hundreds layers files that can be exported.

Also if it was something unfinished it woudn't say it "already exists" when it doesn't.

This is much like the accidental renaming of layers... a purely coincidental malfunction.

Of course the program is unfinished and many things were left half-done or not at all. But bugs are also part of unfinished business. The program crashes when you tell to "export all" from the original h4 .h4r file (where these UI features are), for example.

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


Supreme Hero
posted December 06, 2017 01:01 PM

I tried to modify interface.
1. Add dragon to 600x800 because is not.
2. Add beta interface.

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


Adventuring Hero
posted December 06, 2017 05:54 PM

AGAIN, "key" does not mean the same thing as "name". Same resource type or not, that means nothing if you're handling them in a different way in the program code.

You've said it yourself, you're not a programmer, so why are you arguing with me?

I was working side by side with Namerutan helping him test his program while he helped me work through bugs and test my H4 Advanced Options Map Editor, so I think I have some insight into the way things were left once Namerutan disappeared.

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


Famous Hero
posted December 08, 2017 11:13 PM

I have no insight to add, but simply that I've encountered the same issue with a different layer. One of the artifact layers reports the same error, while all others can be extracted just fine.
If you seek to replace the image anyway, why not simply create it as a new file? You can view the file name and image size..

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


Promising
Famous Hero
Modding the Unmoddable
posted December 09, 2017 07:34 AM
Edited by NimoStar at 07:35, 09 Dec 2017.

Quote:
I have no insight to add, but simply that I've encountered the same issue with a different layer. One of the artifact layers reports the same error, while all others can be extracted just fine.
If you seek to replace the image anyway, why not simply create it as a new file? You can view the file name and image size..


Because this particular file has about 20 layers, with each a different position.

Quote:
AGAIN, "key" does not mean the same thing as "name". Same resource type or not, that means nothing if you're handling them in a different way in the program code.

You've said it yourself, you're not a programmer, so why are you arguing with me?

I was working side by side with Namerutan helping him test his program while he helped me work through bugs and test my H4 Advanced Options Map Editor, so I think I have some insight into the way things were left once Namerutan disappeared.


I didn't say it is the same as name:
Quote:
I think it may be possible to fix this with hex editing on the namerutan .exe or auxiliary files, by disabling the "same key" check.


I am not a programmer but I can distinguish a bug from a feature. If something works in everything except an exception, gives an spurious error, and then crashes, it's obviously a bug.

Also I have encountered the "same key" error even when importing.

I have run tests

SUPRISE SURPRISE

It happens when two layers of the file have the same name.

SO KEY DID MEAN NAME IN THIS CASE, just not filename.

Test anim ORA:



Result:



The same file works if you remove or RENAME the redundant layer.

So now I think I can solve this by hex-renaming some layers before and after import.
Who needs programming after all

(Another layer naming problem, just like the one before... and I kept telling to include layer rename capability during development... -_-)

I was going to say "another problem overcome, not thanks to you". But actually it IS thanks to you. If not for having to prove you wrong, I would have probably never found the cause error.

So thank you ; )





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


Adventuring Hero
posted December 11, 2017 05:41 PM
Edited by iliveinabox05 at 17:43, 11 Dec 2017.

Clearly you are not able to do so, and I'm not going to educate you.

I have been looking through the source code for Namerutan's tool, but since you want to continue being a child, I'm just going to let it sit where it is.

Edit: The only thing you have proven is that you're a moron, which is also evidenced by your interactions with Luc.

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


Supreme Hero
posted December 11, 2017 07:24 PM

Peace! Dont make hell here. We should be friends. I know that people have various temperaments. But try to moderate it. We will do more of one will be support the second...

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


Famous Hero
posted December 11, 2017 10:41 PM

iliveinabox05 said:
Clearly you are not able to do so, and I'm not going to educate you.

I have been looking through the source code for Namerutan's tool, but since you want to continue being a child, I'm just going to let it sit where it is.

Edit: The only thing you have proven is that you're a moron, which is also evidenced by your interactions with Luc.


Just like Salamandre's 'prediction' of the conversation between Nimo and Luc, the above post could have been easily foreseen, though I decided not to comment it at the time. Now while I can't blame iLiVe for his response,
I agree with Baronus that this isn't really contributing with anything constructive for the community.

Nimo, there's no denying your achievements in modding H4, but sometimes you really present yourself with a superior behavior (or arrogance some might say) that is bound to spawn offensive behavior from others. Sadly, coz you have both achieved stuff, we haven't seen before with H4 modding, if only you were to collaborate instead of going solo/offending the other.
It's ironic how in some areas you've been the driving force, while in others you keep putting a stick in the wheel. Just sharing my observation...
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread »
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0320 seconds