Author Topic: .exe Hak Installer?  (Read 785 times)

Legacy_Jenna WSI

  • Hero Member
  • *****
  • Posts: 1837
  • Karma: +0/-0
.exe Hak Installer?
« on: May 13, 2011, 09:35:53 pm »


               How hard is it to learn how to make one, and to update it as the haks are updated? Should we just wait until we're done editing haks?
               
               

               
            

Legacy_Calvinthesneak

  • Hero Member
  • *****
  • Posts: 1159
  • Karma: +0/-0
.exe Hak Installer?
« Reply #1 on: May 13, 2011, 10:31:57 pm »


               Pretty sure NWN includes an exe hak maker, but it's not very sophisticated (can be found in the utils directory).

In the past I've used nullsoft's package creator, but that involves some scripting.

Honestly the best route short of using rsync and pkzip, is to simply use 7 zip to compress your haks and then distribute.  The only problem is if you make even a small change someone has to download the entirety of that hak again.  The EXE system also has that against it.  There isn't a good download manager to simply update contents.  

You may wish to look at a svn repository, or maybe even the Worldgate software designed for NWN.

Ideal way which I mean to do some day would be to write rsync and pkzip routines so that when a player tries to log in it will just update the contents inside the hak, but I will have to find serious time to devote to that.
               
               

               
            

Legacy_Jenna WSI

  • Hero Member
  • *****
  • Posts: 1837
  • Karma: +0/-0
.exe Hak Installer?
« Reply #2 on: May 13, 2011, 11:09:32 pm »


               Don't they do that in NWN2? Auto-update haks when you try to login to a server? I wonder if you could use some of the code for NWN1.

Looks a little too complicated to me to bother with until we're done editing haks. Thanks.
               
               

               
            

Legacy_Calvinthesneak

  • Hero Member
  • *****
  • Posts: 1159
  • Karma: +0/-0
.exe Hak Installer?
« Reply #3 on: May 14, 2011, 12:04:19 am »


               No, they have nothing like it for NWN 1.  Brian Chung did write a self updating routine (CEP had something like this as well) that would use rsync and pkzip.

NWN2 very well might have an auto updater, I never played it long enough to learn the ins and outs.

If you want to build exe files, the program is in the utils directory. nwcontbuild.exe.  I get all sorts of registry issues with win7 but probably because I just copied over my old install from win xp lock stock and barrel.  Perhaps if I fixed my install or tried it from another machine it might work better.
               
               

               
            

Legacy_ShadowM

  • Hero Member
  • *****
  • Posts: 1373
  • Karma: +0/-0
.exe Hak Installer?
« Reply #4 on: May 15, 2011, 05:10:35 pm »


               Here one for nwn one. Give this a try. I have not tested it but was thinking of using it for mine.
nwvault.ign.com/View.php
               
               

               
            

Legacy_Mdarkbyte

  • Jr. Member
  • **
  • Posts: 62
  • Karma: +0/-0
.exe Hak Installer?
« Reply #5 on: May 15, 2011, 05:46:00 pm »


                There's also this tool available at the vault  Word Gate for NWN1  :innocent: oops..this is discontinued work, my fault. But the original for NWN2 is full compatible with NWN1 here's the link at the vault  World Gate for NWN2  
               
               

               


                     Modifié par Mdarkbyte, 15 mai 2011 - 05:37 .