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!
Server side hak?
Débuté par
Chaszmyr
, déc. 21 2013 01:45
#1
Posté 21 décembre 2013 - 01:45
#2
Posté 21 décembre 2013 - 09:44
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.
.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
Posté 21 décembre 2013 - 04:48
That sounds right to me! I figured someone else had done this already. Thanks so much! My host will be very pleased
#4
Posté 01 janvier 2014 - 02:19
Does these slim-HAKs speed up the loading of the module when hosting?
Couldn't slimmed HAKs be uploaded somehwere? That would be nice!
Couldn't slimmed HAKs be uploaded somehwere? That would be nice!
#5
Posté 01 janvier 2014 - 05:38
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.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!
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
Posté 01 janvier 2014 - 07:13
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
Posté 01 janvier 2014 - 07:44
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.Chaszmyr wrote...
(provided there aren't any hoops to jump through re-hosting edited versions of the CEP).
Modifié par Malagant, 01 janvier 2014 - 07:45 .





Retour en haut






