View Single Post
  #22  
Old 09-07-2006, 01:08 AM
eq4me
Hill Giant
 
Join Date: Jul 2006
Posts: 166
Default

Here is something to speed up the process.

make a temorary directory, copy ./azone in there and make softlinks from the .eqg files in your everquest directory to here. Then go over all the .eqg files and feed em to azone one at a time.

Code:
mkdir /var/tmp/build
cd /var/tmp/build/
cp <path to azone>/azone .
ln -s <path to everquest directory>/*eqg .
for i in `ls |grep "\.eqg"|cut -d"." -f1` ; do ./azone $i ; done
rm *.eqg
Voila, you are left with alot of map files. Now the only thing left to do is to determine what .eqg files where actual zone files and have no .map file yet.
If you can find this out in advance make an txt file with the filenames and modify the script to this

Provided that the name of the file with the new zones is 'eqg_zonefiles':
Code:
mkdir /var/tmp/build
cd /var/tmp/build/
cp <path to azone>/azone .
ln -s <path to everquest directory>/*eqg .
for i in `cat eqg_zonefiles|cut -d"." -f1` ; do ./azone $i ; done
rm *.eqg

Last edited by eq4me; 09-07-2006 at 09:12 AM..
Reply With Quote