Aller au contenu

Photo

Server side hak?


  • Veuillez vous connecter pour répondre
6 réponses à ce sujet

#1
Chaszmyr

Chaszmyr
  • Members
  • 12 messages
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!

#2
The Amethyst Dragon

The Amethyst Dragon
  • Members
  • 1 881 messages
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. :)

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


#3
Chaszmyr

Chaszmyr
  • Members
  • 12 messages
That sounds right to me! I figured someone else had done this already. Thanks so much! My host will be very pleased :D

#4
TheOneBlackRider

TheOneBlackRider
  • Members
  • 382 messages
Does these slim-HAKs speed up the loading of the module when hosting?

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

#5
The Amethyst Dragon

The Amethyst Dragon
  • Members
  • 1 881 messages

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).

#6
Chaszmyr

Chaszmyr
  • Members
  • 12 messages
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).

#7
Malagant

Malagant
  • Members
  • 221 messages

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 .