Warzone 2100 Resurrection

.WZ Files

From WarzoneWiki

Jump to: navigation, search
  1. Zip up all files in “data/base/” and call that base.wz”.
  2. Zip up all files in “data/mp/” and call that “mp.wz”.
  3. 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

#!/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 -