Last modified 4 years ago Last modified on 06/28/08 10:59:13

#Zip up all files in “data/base/” and call that base.wz”. #Zip up all files in “data/mp/” and call that “mp.wz”. #Place both in the appropriate location for your OS (or specify the location with --datadir)

*By default Warzone searches for the data in ../data/ if you run a SVN copy from src/, in PREFIX/share/warzone2100 or in the directory where the executable resides.

A small script to help you zip up data folders, put it into “data/” and call it makedatafiles.sh <pre> #!/bin/sh

cd base find . -type f | grep -v -e .svn > /tmp/ilist.$$ cat /tmp/ilist.$$ | zip ../base.wz -@

cd ../mp find . -type f | grep -v -e .svn > /tmp/ilist.$$ cat /tmp/ilist.$$ | zip ../mp.wz -@ rm /tmp/ilist.$$ cd - </pre>

Category:Development ?