Author Topic: Can't Open Module. Missing Hak File. How Do I Make A Fake Hak? Please Help Me Someone!?  (Read 533 times)

Legacy_MissJaded

  • Full Member
  • ***
  • Posts: 243
  • Karma: +0/-0


               Excuse me? Can anyone out there help me please?

I've been doing some play testing with the CEP 2.4 for ages now..... just
adding different haks, making new areas and experimenting in different
ways.

About 15 mins ago,  I've made a bad mistake of removing a
hak file from my test module (a test module in which I've made a number
of areas I rather like, and would take absolutely ages to rebuild them
all, let alone remember what areas I've made and what on earth is in
them all! A bad memory, I know ! '<img'>)  under a name I completely made up myself due to some editing with other haks.

The way in which I removed this hak was just by simply deleting it from my nwn haks folder.
I completely forgot to remove it from my haks list in "Module Properties" / "Custom Content " in the toolset first.
And having done this, I do not have a previous back up module.
So now when I try to open my module, it keeps telling me that a hak file is missing and that it won't let me
open my module until it can find the missing hak file. '<img'>:(

I only had 1 single copy of this hak file, and now I've completely lost it!'<img'>:(

I tried making a fake hak using the n.w. hak ediitor in my Utils Folder and giving the same hak name as before.
But the STUPID module won't accept it, hence telling me that there is still a missing hak file!'<img'>:(


Please can someone tell me...... how do I make a fake hak so that I can put it in my hak folder, for which my
module will know of it and accept to open the module so that I can then remove the hak..... the CORRECT way?
               
               

               


                     Modifié par MissJaded, 05 septembre 2012 - 10:26 .
                     
                  


            

Legacy_Malagant

  • Sr. Member
  • ****
  • Posts: 391
  • Karma: +0/-0


               When you made this hak, was it empty? You could try copying a small already existing hak that has contend (maybe just a set of 2da files) to another folder, renaming it to the hak you are missing, then move the renamed hak back to the hak folder until you can remove it from the module properly. It should work so long as there is something in it.
               
               

               
            

Legacy_Failed.Bard

  • Hero Member
  • *****
  • Posts: 1409
  • Karma: +0/-0


               Any chance you're under windows, and might not have cleared out the recyle bin yet?

Edit:  Malagant is right, completely empty haks aren't recognized.
               
               

               


                     Modifié par Failed.Bard, 05 septembre 2012 - 12:39 .
                     
                  


            

Legacy_Just a ghost

  • Full Member
  • ***
  • Posts: 244
  • Karma: +0/-0


               I also think you need to have at least one file in the hak, but that can be a simple .txt file.

Make sure you got exactly the right name. You can find it with nwnexplorer. Open the module, look in Module Data/module.ifo, and check the Mod_HakList at the bottom.
               
               

               


                     Modifié par Just a ghost, 05 septembre 2012 - 05:09 .
                     
                  


            

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0


               or You can just create an new module and import the old one into it as an ERF.

Just change the file extention on the old module to .erf
               
               

               


                     Modifié par Lightfoot8, 05 septembre 2012 - 06:22 .
                     
                  


            

Legacy_Just a ghost

  • Full Member
  • ***
  • Posts: 244
  • Karma: +0/-0


               ... that's a trick I didn't know!
               
               

               
            

Legacy_MissJaded

  • Full Member
  • ***
  • Posts: 243
  • Karma: +0/-0


               

Malagant wrote...

When you made this hak, was it empty? You could try copying a small already existing hak that has contend (maybe just a set of 2da files) to another folder, renaming it to the hak you are missing, then move the renamed hak back to the hak folder until you can remove it from the module properly. It should work so long as there is something in it.


Failed.Bard wrote...

Any chance you're under windows, and might not have cleared out the recyle bin yet?

Edit:  Malagant is right, completely empty haks aren't recognized.



Just a ghost wrote...

I also think you need to have at least one file in the hak, but that can be a simple .txt file.

Make sure you got exactly the right name. You can find it with nwnexplorer. Open the module, look in Module Data/module.ifo, and check the Mod_HakList at the bottom.



Thanks a lot for the help guys! Your advices worked such a treat! So it was very helpful indeed!
Yayyy!'<img'>:happy:


@ Malagant : Yes, when I tried making a fake hak with the hak editor, I made an empty one, which of course as has been noted, will not be recognized by the module. I did not know this at first, but now that I do, if I ever have this problem again, I'll know what to do.

Having read your advice, I went to copy the CEP 2.4 top hak, (which simply houses all the 2.da text files) renamed it to the correct name of my missing hak file, placed it in my NWN Hak Folder, then opened my module and deleted the file in the correct way from my "Module Properties / Custom Content List"
It worked a treat as I said.Thanks a lot for that! *A Big Thumbs Up!* :happy:


@ Just a ghost : Looks like I didn't really need to use nwn eplorer.
But It seems like a good thing to think about for future preference.
Thanks for that.'<img'>
               
               

               


                     Modifié par MissJaded, 06 septembre 2012 - 03:08 .
                     
                  


            

Legacy_MissJaded

  • Full Member
  • ***
  • Posts: 243
  • Karma: +0/-0


               

Lightfoot8 wrote...

or You can just create an new module and import the old one into it as an ERF.

Just change the file extention on the old module to .erf


I tried this neat little trick, but it didn't seem to work for me.
I couldn't change the extension type of my module into an "erf" type, as my module didn't have the ".mod" extension on the end, so I couldn't change it into an "erf"
Never mind. Looks like I have fixed my problem now at least.
I appreciate your helpful response all the same.'<img'>
               
               

               
            

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0


               in your folder options. Make sure the "Hide extensions for known file types" box is not checked.

'Image
               
               

               
            

Legacy_MissJaded

  • Full Member
  • ***
  • Posts: 243
  • Karma: +0/-0


               

Lightfoot8 wrote...

in your folder options. Make sure the "Hide extensions for known file types" box is not checked.

'Image



Ahh..... thanks! I got that now! It works fine too.'<img'>
Wasn't sure where you were referring to at first when you said  "Folder Options"
But that is in my "Control Panel." Maybe you could have told me that.
Never mind though. It wasn't a problem really.
Your screenshot was a very good guide. very helpful too.

Thanks again.'<img'>
               
               

               


                     Modifié par MissJaded, 06 septembre 2012 - 12:14 .
                     
                  


            

Legacy_Malagant

  • Sr. Member
  • ****
  • Posts: 391
  • Karma: +0/-0


               Glad to be of help and thank you for the big thumbs up. I also accept hugs and lavish affection, even from jaded individuals.

I don't think Lightfoot intentionally left out the Control Panel; most of us assume this to be common knowledge of the Windows environment. It helps to know what version of windows you are onas well. I'm not sure about Win7, but Folder Options can also be accessed directly within Windows Explorer from the Tools drop down menu in XP/Vista.

All else aside, most of us are here to and also willing to help.
               
               

               
            

Legacy_MissJaded

  • Full Member
  • ***
  • Posts: 243
  • Karma: +0/-0


               

Malagant wrote...

Glad to be of help and thank you for the big thumbs up. I also accept hugs and lavish affection, even from jaded individuals.


Heheh..... maybe I try to remember that for future reference then.
Your help was greatly appreciated. *hugs and blushes*'<img'>'<img'>

I don't think Lightfoot intentionally left out the Control Panel; most of us assume this to be common knowledge of the Windows environment. It helps to know what version of windows you are onas well. I'm not sure about Win7, but Folder Options can also be accessed directly within Windows Explorer from the Tools drop down menu in XP/Vista.


Ahh.... okay. Maybe I don't know my computer system aswell as I should do. *blush*
Or maybe I do since it didn't really take me very long to find it anyway.'<img'>
I do of course have Windows XP. (I'm not very familar with Windows 7 either)
Didn't think to look in Windows Explorer where you refered to for the Folder Options until now.
I guess it's a possibility that it might be in a different place for Windows 7.
Guess I didn't think about that at the time. I won't get told off for it, will I?'<img'>

All else aside, most of us are here to and also willing to help.


Thanks. That's good to know, always trying to remember to be as polite as possible.
I found that it took a good while before anyone replied in the first place.
So I just went about my usual business for a good number of hours, coming back later
to find a few very helpful replies. Simple as that I guess.'<img'>
               
               

               


                     Modifié par MissJaded, 07 septembre 2012 - 04:01 .