r5271 - trunk/data

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri Dec 19 05:23:14 EST 2008


Author: div0
Date: 2008-12-19 05:23:07 -0500 (Fri, 19 Dec 2008)
New Revision: 5271

Modified:
   trunk/data/build-compat-pack.sh
Log:
build script now reducing texture quality to make smaller pack


Modified: trunk/data/build-compat-pack.sh
===================================================================
--- trunk/data/build-compat-pack.sh	2008-12-19 10:19:14 UTC (rev 5270)
+++ trunk/data/build-compat-pack.sh	2008-12-19 10:23:07 UTC (rev 5271)
@@ -602,8 +602,21 @@
 	textures/seeker.tga
 "
 
+rm -rf pack
+mkdir pack
+for F in $COMPAT_FILES; do
+	mkdir -p pack/${F%/*}
+	cp "$F" pack/"$F"
+done
+
+cd pack
+find . -type f -print0 | xargs -0 ../../misc/jpeg-if-not-alpha.sh
+
 rev=`svnversion`
-pack="zzz_svn-compat-$rev"
+pack="../zzz_svn-compat-$rev"
 echo "Support files to play on svn servers of revision $rev" > "$pack.txt"
 7za a -tzip -mx=9 "$pack.pk3" $COMPAT_FILES "$pack.txt"
 rm -f "$pack.txt"
+
+cd ..
+rm -rf pack




More information about the nexuiz-commits mailing list