Aller au contenu

Photo

NWHak Error


  • Veuillez vous connecter pour répondre
19 réponses à ce sujet

#1
Jenna WSI

Jenna WSI
  • Members
  • 1 078 messages
Has anyone ever seen this? It gives a different letter for the error each time I try to open these files. Doesn't happen with any other files or hak.




Image IPB

Modifié par Jenna WSI, 11 février 2011 - 11:22 .


#2
Bannor Bloodfist

Bannor Bloodfist
  • Members
  • 938 messages
Well, what files are you attempting to open? From what I am seeing, this is a NEW and EMPTY hak?

#3
Jenna WSI

Jenna WSI
  • Members
  • 1 078 messages
Clothing hak, I had used it for a week and went to add robe files and suddenly it doesn't work anymore.



http://mythdrannor.w...on_Myth_Drannor

#4
Bannor Bloodfist

Bannor Bloodfist
  • Members
  • 938 messages
Likely you will have to redownload the original. It you open, add content to, save, and then close NWHak before it finishes saving, ti can easily corrupt the hak.


#5
Jenna WSI

Jenna WSI
  • Members
  • 1 078 messages
I tried that, and having someone else download, extract, and repackage (with original files). Same error. Baffled because I worked in this mod for a week. It doesn't even get to the point where it saves. Error happens when trying to add the files.

#6
Frith5

Frith5
  • Members
  • 381 messages
What happens when you try to use nwhak.exe for another .hak file? (back up first)

If nwhak is working okay, then try opening the busted hak in nwnexplorer, and export all the resources to a folder. Then, make a new hak outta those and see how that goes.



JFK

#7
Bannor Bloodfist

Bannor Bloodfist
  • Members
  • 938 messages
And for clarification, please be sure we are all talking about the same thing... a hak is not a mod, so if you are having issues ADDING the HAK to the MOD, then, you may have a corrupted mod file. If it you are talking about just adding files to the hak, then you may have a corrupted file that you are attempting to add to the hak.

#8
Jenna WSI

Jenna WSI
  • Members
  • 1 078 messages
Any other hak works fine.



Second option gave the same error.

#9
Jenna WSI

Jenna WSI
  • Members
  • 1 078 messages
Bannor: Originally I wanted to edit and add files to this hak. I was doing that. After a week of using it just fine, it gave me the error. I removed the additional files, still got an error. I downloaded the original vault hak again, still got the errors.

#10
Bannor Bloodfist

Bannor Bloodfist
  • Members
  • 938 messages
Ok, I am going to have to make an assumption here, you are actually talking about getting the same errors when you open the module that uses this hak?



if so, the module itself it likely corrupted.



You MAY be able to recover it as I have seen folks claim that they have been able to fix damaged mods... Unfortunately, I don't remember the steps to do it, and you will have to ask others for help.

#11
Jenna WSI

Jenna WSI
  • Members
  • 1 078 messages
No it does just fine if I use a module with this hak. I only get an error in NWhak.

#12
ShadowM

ShadowM
  • Members
  • 768 messages
Well I just downloaded it and tested it and ran fine for me. Some thing to try is to add only a few files at a time and narrow it down to maybe a specific file (you said the error happens when adding to new blank hak right?) you are using save as so you can name it something new right? Maybe get a new nwhak.exe, maybe reboot after error. You could also get some of the other packer programs on the vault that let pack files together and save them as a hak. Good luck :)

Modifié par ShadowM, 12 février 2011 - 06:16 .


#13
Jenna WSI

Jenna WSI
  • Members
  • 1 078 messages
The error happens when I unpack the hak and try to repack it in nwhak... with or without any new files added. Will look for a new program then... this has stumped me for like a week now.

#14
Bannor Bloodfist

Bannor Bloodfist
  • Members
  • 938 messages
hmmm... I have absolutely no idea, maybe a file name issue... nwhak generally only accepts 15 characters in a file name, including the extension (16 total if you count the period, which it does count for the 16 character max). Not quite what you might expect.

It may also be something you are potentially overwriting in the original hak. NWHak can accept non bioware files, but I am not positive on the limit for those. I do know that .txt is accepted, .doc is accepted, .wri is accepted, I don't think it will take a .erf extension, which would be a waste of space anyway, because it would never get loaded by the engine.

Unfortunately, we can't test this for you without having the files you are attempting to import. How many new files? You currently have 5542 total files in the hak, prior to you adding more. I have seen haks with over 11,000 files, so unless you are adding more than about 5500, I can't seen an issue with that.

Edit:  Wait, you are saying Unpack and then Repack the hak?  How are you doing that?

Just open the orignal .hak with nwhak.exe.  The just do a ctrl-a and it will open a browser window for you, grab the NEW files with that, all at once, it should just add them in.   Then just save an densure that it completely finishes saving.  NWhak returns to give you control, sometimes LONG before it is actually finished saving... give it an extra minute or so, before closing it, or watch your HD activity light to make sure it is actually done with writing the file before you exit the nwhak.exe program.

Modifié par Bannor Bloodfist, 12 février 2011 - 06:46 .


#15
Jenna WSI

Jenna WSI
  • Members
  • 1 078 messages
I was originally opening a hak with nwnviewer, exporting the files, then resaving it in hak form via nwhak after adding new files to the folder. But this worked many times with many haks, including this one that now won't let me use it anymore with or without the new files. I'll try doing it different ways and see if this works...

#16
Jenna WSI

Jenna WSI
  • Members
  • 1 078 messages
Also crashes using NWN2 Packer, but the program does fine with other files. I'm not sure how everyone else can download and work with these files but they give me an error. If NWHak was messed up, sure... but it's not.

Edit: NWPacker gives a better error memory, if in french. "Memory Insufficiant" ... not sure why.

Modifié par Jenna WSI, 13 février 2011 - 06:05 .


#17
Calvinthesneak

Calvinthesneak
  • Members
  • 656 messages
How many items are you adding to said hak. Much like a module resource, you're limited to 16k and change for number of items allowed. If you have a lot lot more, and depending on what you're adding it's easy to go over 16k.



I never have gotten the error you got, but resources when loading simply overwrite each other and a bit of other strange behavior.



If you feel like a bit of an experiment, simply pack up your MDL, PLT's and other textures into a RAR file. Send me a PM with a link, I'll have a look.

#18
Bannor Bloodfist

Bannor Bloodfist
  • Members
  • 938 messages
So far, you are either not paying attention to what folks are telling you, or at least not directly answering the questions.



Step by step do things this way:



1) Open original hak, do not extract anything at all here.

2) Add just a few of your new files and add them to the original content.

3) keep doing this, a few files at a time, until you get your error.



That will point out which exact files are causing the issue.



You can list the files, and their respective sizes here, and maybe we can point out exactly what you are doing wrong.



However, you keep doing the exact same error every time your report it. Using multiple programs to attempt to do the same thing.



NWHak.exe is ALL that you need. You do NOT need nwnviewer, or nwnexplorer, or most specifically nwn2 packer. You are working with a simple NWN 1 type hak file. Stick with NWHak.exe only at this stage, and Just add a few files at a time until you get that error. Then you may be able to figure out what exactly is happening or at least tell us what files are causing the issue.

#19
Frith5

Frith5
  • Members
  • 381 messages
Hold on a sec...

How sure are you that you've tried this with a newly downloaded version? What I mean is, could have have only -thought- you were opening the new version, but still be using the one you'd modified earlier?

Try a brand new download of the hak file in question, and then put it in another folder, like on your desktop. Now, open nwhak.exe and navigate out of the nwn/hak folder to your new desktop folder, (File, Open) and open that hak.

What happens? Just try opening it first, and nothing more.



JFK

#20
Jenna WSI

Jenna WSI
  • Members
  • 1 078 messages

Frith5 wrote...

Hold on a sec...
How sure are you that you've tried this with a newly downloaded version? What I mean is, could have have only -thought- you were opening the new version, but still be using the one you'd modified earlier?
Try a brand new download of the hak file in question, and then put it in another folder, like on your desktop. Now, open nwhak.exe and navigate out of the nwn/hak folder to your new desktop folder, (File, Open) and open that hak.
What happens? Just try opening it first, and nothing more.

JFK


Yes that is basically what I did, same error. I also had a friend download it, extract and send me the files. Same error.

I got around it by downloading several other programs on the vault and found one that would work finally...