I wrote up this little script which simplifies matters, especially if you have custom meshes and textures to go with your maps. Every time you run it, it will overwrite the previous files compressed by this script unless you move them, though I don't expect this should ever be a problem, be forewarned anyway.
paste the following into a text file and name it CompressMaps.bat and put it in your kf server system folder.
whenever you add new maps now, just run the script, and then do a bulk upload of everything in the new maps\compressed\ directory to your download server (recommend using the option to skip already existing files when uploading, to save time and bandwidth)
paste the following into a text file and name it CompressMaps.bat and put it in your kf server system folder.
Code:
ucc compress ..\maps\*.rom
ucc compress ..\staticmeshes\*.usx
ucc compress ..\textures\*.utx
mkdir ..\maps\compressed\
echo a|move ..\maps\*.uz2 ..\maps\compressed\
echo a|move ..\staticmeshes\*.uz2 ..\maps\compressed\
echo a|move ..\textures\*.uz2 ..\maps\compressed\
Last edited: