Author Topic: Server side hak?  (Read 399 times)

Legacy_Chaszmyr

  • Newbie
  • *
  • Posts: 24
  • Karma: +0/-0
Server side hak?
« on: December 21, 2013, 01:45:40 am »


               I was wondering if anyone knew off the top of their head or had a link to any sort of resource that has a list of which resources the server does not need? I'm trying to build a server side copy of our major haks with the goal of memory usage reduction, I know that texture files can be removed as the server does not need them but I'm not sure if that is all. I assume it needs .mdl and .plt files? Maybe, maybe not? .wav, .ssf? Thanks!
               
               

               
            

Legacy_The Amethyst Dragon

  • Hero Member
  • *****
  • Posts: 2981
  • Karma: +0/-0
Server side hak?
« Reply #1 on: December 21, 2013, 09:44:04 am »


               I think in general a server side hak does not need purely visual / audio assets:
.mdl
.plt
.tga
.dds
.txi
.wav
.mus

The server's hak does need files related to "art content" for controlling movement and what's visible to other assets in the game.  So it'll need .wok files (tileset walkmeshes, to determine where PCs and NPCs can move and what they can see), .pwk files (placeable walkmeshes to determine were PCs and NPCs can not move), various 2da files which define the size of things (such as appearance.2da and all it's creature space/movement/etc. settings), and other files the game server would need to function properly.

I did the same thing a few months ago, stripping out all the unneeded files from my PW's haks, CEP, and Project Q.  Took my 8.5+ GB of haks on the server down to 279 MB. '<img'>
               
               

               


                     Modifié par The Amethyst Dragon, 21 décembre 2013 - 09:44 .
                     
                  


            

Legacy_Chaszmyr

  • Newbie
  • *
  • Posts: 24
  • Karma: +0/-0
Server side hak?
« Reply #2 on: December 21, 2013, 04:48:21 pm »


               That sounds right to me! I figured someone else had done this already. Thanks so much! My host will be very pleased '<img'>
               
               

               
            

Legacy_TheOneBlackRider

  • Hero Member
  • *****
  • Posts: 512
  • Karma: +0/-0
Server side hak?
« Reply #3 on: January 01, 2014, 02:19:31 pm »


               Does these slim-HAKs speed up the loading of the module when hosting?

Couldn't slimmed HAKs be uploaded somehwere? That would be nice!
               
               

               
            

Legacy_The Amethyst Dragon

  • Hero Member
  • *****
  • Posts: 2981
  • Karma: +0/-0
Server side hak?
« Reply #4 on: January 01, 2014, 05:38:45 pm »


               

TheOneBlackRider wrote...

Does these slim-HAKs speed up the loading of the module when hosting?

Couldn't slimmed HAKs be uploaded somehwere? That would be nice!

I have not seen any reduction in the time it takes the server to load my module.  I think that's purely a function of the size of the module itself, rather than the size of the haks.

The only real result (and the reason I made the art-less haks) was to save space on my server's hard drive (to make room for 7 1/2 years worth of character and database files).
               
               

               
            

Legacy_Chaszmyr

  • Newbie
  • *
  • Posts: 24
  • Karma: +0/-0
Server side hak?
« Reply #5 on: January 01, 2014, 07:13:29 pm »


               I only use a selection of CEP's haks, I didn't slim down the ones I don't utilize. Unfortunately I have a lot of work left to do on my module, maybe down the road I'll do the rest and upload them somewhere (provided there aren't any hoops to jump through re-hosting edited versions of the CEP).
               
               

               
            

Legacy_Malagant

  • Sr. Member
  • ****
  • Posts: 391
  • Karma: +0/-0
Server side hak?
« Reply #6 on: January 01, 2014, 07:44:40 pm »


               

Chaszmyr wrote...

(provided there aren't any hoops to jump through re-hosting edited versions of the CEP).

The only major hurdle I can think of is The Wrath of Barry, and it's a fairly big one. I don't see that one being overcome. IIRC, the unofficial 1.69 compliant hak for 1.x had to be pulled for this very reason.
               
               

               


                     Modifié par Malagant, 01 janvier 2014 - 07:45 .