Author Topic: Quick Question about the order of hakpacks for my modules  (Read 719 times)

Legacy_Tythesly

  • Newbie
  • *
  • Posts: 36
  • Karma: +0/-0
Quick Question about the order of hakpacks for my modules
« on: September 10, 2011, 01:35:48 am »


               If i used these what order should i put them in on the custom content screen?

1. CTP - http://nwvault.ign.c....Detail&id=6992 

2. CEP (vr. 1.52) http://nwvault.ign.c....Detail&id=6211

3. CEP Patch (to allow it to work with the newest version of NWN) 
http://nwvault.ign.c....Detail&id=6974


Also when I applied the patch it gave me a cep.tlk... do I have to add that in the custom tlk file dropdown list?
               
               

               


                     Modifié par Tythesly, 10 septembre 2011 - 12:44 .
                     
                  


            

Legacy_Hardcore UFO

  • Full Member
  • ***
  • Posts: 157
  • Karma: +0/-0
Quick Question about the order of hakpacks for my modules
« Reply #1 on: September 10, 2011, 04:45:46 am »


               If you don't have a .tlk folder in your NWN directory, you have to create one and place the CEP.tlk file into it (to be able to play on a server that uses that .tlk, which includes yours by the sound of it). The .tlk folder should be called just that - "tlk" - and be at the same place as the other existing folders like ambient, data, hak, utils, and so on.

I don't know about CEP1.52, it came out before I even had NWN. If you'd like there are more up-to-date versions that will let you play compatibly on many of the srvers curretly using it (2.4 is the latest). I also don't know of any list of the hak order in circulation for this version, but the one for CEP2.4 is on nwnwiki.com (many file related things are).

The other 2 things I have never toyed with so I don't know.
               
               

               
            

Legacy_werelynx

  • Hero Member
  • *****
  • Posts: 1110
  • Karma: +0/-0
Quick Question about the order of hakpacks for my modules
« Reply #2 on: September 10, 2011, 09:28:12 am »


               "Hak order to use:
ctp_common
ctp_loadscreens
ctp_tileset(x) "

Regarding CEP: 1.52 is outdated, use 2.4 instead(all the contents of previous patches + lots of new content).
In custom content screen there is label with talktable(tlk file).
I do not really know if ctp should be above or under CEP. You could ask here to get more answers: http://social.biowar...egory/191/index

What I know is that if the haks (cep and ctp) have both the same(name) 2da files, then they should be merged or otherwise the problems are sure to follow. See in the utils folder, there should be some hak contents viewer.
               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Quick Question about the order of hakpacks for my modules
« Reply #3 on: September 10, 2011, 12:25:44 pm »


               Well it was me who suggested OP CEP1. Its definitely not outdated. It still works, the version 2 is a new project that I just cant recommend so I suggested CEP1.

Doesnt matter if CEP haks will be under or above CTP haks, I would probably choose above, anyway as werelynx said, if there are any two same 2das in both packages you need to "merge" them and make you own hak that you give as the top hak, commonly people call these hak configs, that is configuration haks and also adding some extra content that is not in the other packages they use.

However someone else will have to tell you how to merge haks, Im not really the best person with my english to do it. But since you also installed my patch you will want after you merge CTP with CEP1 probably merge 2das also with my patch. Thats easy because I have auto 2da merger program, just tell me after you manage to merge CTP and CEP (this program however need to be setup so its not possible to use for CTP and CEP yet, it works only with my patch and anything)
               
               

               


                     Modifié par ShaDoOoW, 10 septembre 2011 - 11:26 .
                     
                  


            

Legacy_Tythesly

  • Newbie
  • *
  • Posts: 36
  • Karma: +0/-0
Quick Question about the order of hakpacks for my modules
« Reply #4 on: September 10, 2011, 11:21:44 pm »


               How do I know if they have the same name for the 2da files?
               
               

               
            

Legacy_Hardcore UFO

  • Full Member
  • ***
  • Posts: 157
  • Karma: +0/-0
Quick Question about the order of hakpacks for my modules
« Reply #5 on: September 11, 2011, 02:09:16 am »


               NWN uses a set number of 2da files for determining some of the game's settings. There is a finite list of what 2da files get used and their usage depends on their name. So, for example, when the game loads, it will look for baseitems.2da (first in its own data, and then again if baseitems.2da is present in a hak that will override the game's standard data). If a 2da is called "baseitems_custom.2da" it will be ignored along with its content. On the other hand, all versions of the file named "baseitems.2da" will be included, one after the other depending on hak order (the latest overrides the previous ones completely at each step).

The way 2da files are structured is very primitive in appearance: it's a series of lines and columns and the network of the game references these lines to get the data in the columns. So if you have two haks that use the same 2da file (but with different content), only the latest one the game scans before starting up will be included and have its content rendered to the game.

So to answer your question: if the haks from different sources you want to include contain the same 2da file, they will need to be merged (made so their line entries do not conflict) and placed in the topmost hak in order to take effect. If one hak contains 2da files that are not in the other, then they aren't under a different name - they simply aren't in the other hak and you don't have to do anything to them.
               
               

               


                     Modifié par Hardcore UFO, 11 septembre 2011 - 01:11 .