Author Topic: NWHak Error  (Read 892 times)

Legacy_Jenna WSI

  • Hero Member
  • *****
  • Posts: 1837
  • Karma: +0/-0
NWHak Error
« on: February 11, 2011, 11:21:05 pm »


               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
               
               

               


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


            

Legacy_Bannor Bloodfist

  • Hero Member
  • *****
  • Posts: 1578
  • Karma: +0/-0
NWHak Error
« Reply #1 on: February 11, 2011, 11:29:39 pm »


               Well, what files are you attempting to open?  From what I am seeing, this is a NEW and EMPTY hak?
               
               

               
            

Legacy_Jenna WSI

  • Hero Member
  • *****
  • Posts: 1837
  • Karma: +0/-0
NWHak Error
« Reply #2 on: February 11, 2011, 11:38:45 pm »


               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
               
               

               
            

Legacy_Bannor Bloodfist

  • Hero Member
  • *****
  • Posts: 1578
  • Karma: +0/-0
NWHak Error
« Reply #3 on: February 11, 2011, 11:53:18 pm »


               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.

               
               

               
            

Legacy_Jenna WSI

  • Hero Member
  • *****
  • Posts: 1837
  • Karma: +0/-0
NWHak Error
« Reply #4 on: February 12, 2011, 12:11:28 am »


               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.
               
               

               
            

Legacy_Frith5

  • Hero Member
  • *****
  • Posts: 595
  • Karma: +0/-0
NWHak Error
« Reply #5 on: February 12, 2011, 03:25:54 am »


               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
               
               

               
            

Legacy_Bannor Bloodfist

  • Hero Member
  • *****
  • Posts: 1578
  • Karma: +0/-0
NWHak Error
« Reply #6 on: February 12, 2011, 03:59:31 am »


               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.
               
               

               
            

Legacy_Jenna WSI

  • Hero Member
  • *****
  • Posts: 1837
  • Karma: +0/-0
NWHak Error
« Reply #7 on: February 12, 2011, 04:23:10 am »


               Any other hak works fine.



Second option gave the same error.
               
               

               
            

Legacy_Jenna WSI

  • Hero Member
  • *****
  • Posts: 1837
  • Karma: +0/-0
NWHak Error
« Reply #8 on: February 12, 2011, 04:24:35 am »


               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.
               
               

               
            

Legacy_Bannor Bloodfist

  • Hero Member
  • *****
  • Posts: 1578
  • Karma: +0/-0
NWHak Error
« Reply #9 on: February 12, 2011, 06:44:00 am »


               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.
               
               

               
            

Legacy_Jenna WSI

  • Hero Member
  • *****
  • Posts: 1837
  • Karma: +0/-0
NWHak Error
« Reply #10 on: February 12, 2011, 04:42:47 pm »


               No it does just fine if I use a module with this hak. I only get an error in NWhak.
               
               

               
            

Legacy_ShadowM

  • Hero Member
  • *****
  • Posts: 1373
  • Karma: +0/-0
NWHak Error
« Reply #11 on: February 12, 2011, 06:12:50 pm »


               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 '<img'>
               
               

               


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


            

Legacy_Jenna WSI

  • Hero Member
  • *****
  • Posts: 1837
  • Karma: +0/-0
NWHak Error
« Reply #12 on: February 12, 2011, 06:28:50 pm »


               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.
               
               

               
            

Legacy_Bannor Bloodfist

  • Hero Member
  • *****
  • Posts: 1578
  • Karma: +0/-0
NWHak Error
« Reply #13 on: February 12, 2011, 06:29:53 pm »


               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 .
                     
                  


            

Legacy_Jenna WSI

  • Hero Member
  • *****
  • Posts: 1837
  • Karma: +0/-0
NWHak Error
« Reply #14 on: February 12, 2011, 07:42:19 pm »


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