Author Topic: Can't open module because a hak file is missing  (Read 509 times)

Legacy_Bassix

  • Jr. Member
  • **
  • Posts: 65
  • Karma: +0/-0
Can't open module because a hak file is missing
« on: February 10, 2012, 12:55:17 pm »


               So, I have this problem with my module. I want to open it in the toolset but it won't open. A certain hakfile is missing I created by my self. I have no idea what's in the hak file, so my question is if I could erase the hakfile from the module? So I can continue working on it?
               
               

               
            

Legacy_Sphynxette

  • Newbie
  • *
  • Posts: 17
  • Karma: +0/-0
Can't open module because a hak file is missing
« Reply #1 on: February 10, 2012, 02:41:34 pm »


               You could create a dummy hakfile and give it the name of the one that is causing the problem. Then you should be able to open your module to remove the hak from the list. It doesn't matter if it's a empty hak, as long as the name is the one which the toolset asks for.
               
               

               
            

Legacy_Bassix

  • Jr. Member
  • **
  • Posts: 65
  • Karma: +0/-0
Can't open module because a hak file is missing
« Reply #2 on: February 10, 2012, 04:15:39 pm »


               I feel quite silly right now, but how do I create a hak file again? It's been a very long time hahaha. Should I just save a notepad file with the .hak extension?
               
               

               
            

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0
Can't open module because a hak file is missing
« Reply #3 on: February 10, 2012, 04:27:20 pm »


               Look in the utils folder in your nwn install.  

If you had things like models and tilesets in the hak that are used in the module. Not having them may also cause the module to crash.   You may want to do a rebuild with check for missing resources  checked.
               
               

               
            

Legacy_Sphynxette

  • Newbie
  • *
  • Posts: 17
  • Karma: +0/-0
Can't open module because a hak file is missing
« Reply #4 on: February 10, 2012, 04:27:40 pm »


               What I usually do is make a copy of one of the smallest haks I have (like a cep patch) and rename it. But creating it from scratch should work just as well.