r2168 - branches/nexuiz-2.0/data/maps trunk/attic/maps trunk/data/maps
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Tue Feb 6 09:55:48 EST 2007
Author: esteel
Date: 2007-02-06 09:55:48 -0500 (Tue, 06 Feb 2007)
New Revision: 2168
Added:
trunk/attic/maps/compile.sh
Removed:
branches/nexuiz-2.0/data/maps/compile.sh
trunk/data/maps/compile.sh
Log:
compile.sh IS obsolete
Deleted: branches/nexuiz-2.0/data/maps/compile.sh
===================================================================
--- branches/nexuiz-2.0/data/maps/compile.sh 2007-02-06 14:31:18 UTC (rev 2167)
+++ branches/nexuiz-2.0/data/maps/compile.sh 2007-02-06 14:55:48 UTC (rev 2168)
@@ -1,68 +0,0 @@
-#!/bin/sh
-
-# this script is OBSOLETE, use nexuiz-map-compiler
-
-exit 0
-
-# nexuiz-map-compiler * -bsp -samplesize 8 -vis -light -deluxe -patchshadows -samples 3
-# nexuiz-map-compiler farewell -bsp -samplesize 8 -patchmeta -vis -light -deluxe -patchshadows -samples 3
-# nexuiz-map-compiler aggressor -scale 1.25 -bsp -samplesize 8 -vis -light -deluxe -patchshadows -samples 3
-# nexuiz-map-compiler bloodprison -scale 1.25:0.96 -bsp -samplesize 8 -vis -light -deluxe -patchshadows -samples 3
-
-: ignore <<'EOF'
-
-Nexuiz map recompilation script
-
-NOTE: to use this script, you need a shell script called q3map2 in your $PATH.
- Mine looks like this:
-
- #!/bin/sh
- exec ~/bin/q3map2.x86 -threads 2 "$@"
-
- Note that you can NOT call q3map2.x86 directly from $PATH, as it segfaults
- then!
-
-Usage:
-sh compile.sh tznex01
-
-EOF
-
-settings_bloodprison=":-fast:-fast"
-settings_default="-samplesize 8::-deluxe -patchshadows -samples 3"
-scale_bloodprison=1.2
-
-set -ex
-
-map2()
-{
- dir=`pwd`
- # note: you are in data/maps. Removintg these two components...
- dir=${dir%/*/*}
-
- q3map2 -fs_basepath "$dir" -fs_game data -v "$@"
-}
-
-for MAP in "$@"; do
- [ -f "$MAP.map" ]
-
- # get settings for this map
- eval s=\$settings_$MAP
- [ -n "$s" ] || s=$settings_default
- eval scale=\$scale_$MAP
-
- # recompile it
- if [ -n "$scale" ]; then
- if ! grep "_keeplights" "$MAP.map" >/dev/null; then
- echo "$MAP does not have _keeplights in worldspawn!"
- exit 1
- fi
- fi
- map2 -bsp -meta `echo "$s" | cut -d : -f 1` "$MAP.map" | tee "$MAP.log"
- if [ -n "$scale" ]; then
- map2 -scale "$scale" "$MAP.bsp"
- mv "${MAP}_s.bsp" "$MAP.bsp"
- fi
- map2 -vis `echo "$s" | cut -d : -f 2` "$MAP.map" | tee -a "$MAP.log"
- map2 -light `echo "$s" | cut -d : -f 3` "$MAP.map" | tee -a "$MAP.log"
- rm -f "$MAP.srf"
-done
Copied: trunk/attic/maps/compile.sh (from rev 2159, trunk/data/maps/compile.sh)
===================================================================
--- trunk/attic/maps/compile.sh (rev 0)
+++ trunk/attic/maps/compile.sh 2007-02-06 14:55:48 UTC (rev 2168)
@@ -0,0 +1,69 @@
+#!/bin/sh
+
+# this script is OBSOLETE, use nexuiz-map-compiler
+
+exit 0
+
+# nexuiz-map-compiler * -bsp -samplesize 8 -vis -light -deluxe -patchshadows -samples 3
+# nexuiz-map-compiler farewell -bsp -samplesize 8 -patchmeta -vis -light -deluxe -patchshadows -samples 3
+# nexuiz-map-compiler aggressor -scale 1.25 -bsp -samplesize 8 -vis -light -deluxe -patchshadows -samples 3
+# nexuiz-map-compiler bloodprison -scale 1.25:0.96 -bsp -samplesize 8 -vis -light -deluxe -patchshadows -samples 3
+
+: ignore <<'EOF'
+
+Nexuiz map recompilation script
+
+NOTE: to use this script, you need a shell script called q3map2 in your $PATH.
+ Mine looks like this:
+
+ #!/bin/sh
+ exec ~/bin/q3map2.x86 -threads 2 "$@"
+
+ Note that you can NOT call q3map2.x86 directly from $PATH, as it segfaults
+ then!
+
+Usage:
+sh compile.sh tznex01
+
+EOF
+
+settings_default="-samplesize 8::-deluxe -patchshadows -samples 3"
+settings_farewell="-samplesize 8 -patchmeta::-deluxe -patchshadows -samples 3"
+scale_bloodprison=1.2
+scale_aggressor=1.25
+
+set -ex
+
+map2()
+{
+ dir=`pwd`
+ # note: you are in data/maps. Removintg these two components...
+ dir=${dir%/*/*}
+
+ q3map2 -fs_basepath "$dir" -fs_game data -v "$@"
+}
+
+for MAP in "$@"; do
+ [ -f "$MAP.map" ]
+
+ # get settings for this map
+ eval s=\$settings_$MAP
+ [ -n "$s" ] || s=$settings_default
+ eval scale=\$scale_$MAP
+
+ # recompile it
+ if [ -n "$scale" ]; then
+ if ! grep "_keeplights" "$MAP.map" >/dev/null; then
+ echo "$MAP does not have _keeplights in worldspawn!"
+ exit 1
+ fi
+ fi
+ map2 -bsp -meta `echo "$s" | cut -d : -f 1` "$MAP.map" | tee "$MAP.log"
+ if [ -n "$scale" ]; then
+ map2 -scale "$scale" "$MAP.bsp"
+ mv "${MAP}_s.bsp" "$MAP.bsp"
+ fi
+ map2 -vis `echo "$s" | cut -d : -f 2` "$MAP.map" | tee -a "$MAP.log"
+ map2 -light `echo "$s" | cut -d : -f 3` "$MAP.map" | tee -a "$MAP.log"
+ rm -f "$MAP.srf"
+done
Deleted: trunk/data/maps/compile.sh
===================================================================
--- trunk/data/maps/compile.sh 2007-02-06 14:31:18 UTC (rev 2167)
+++ trunk/data/maps/compile.sh 2007-02-06 14:55:48 UTC (rev 2168)
@@ -1,69 +0,0 @@
-#!/bin/sh
-
-# this script is OBSOLETE, use nexuiz-map-compiler
-
-exit 0
-
-# nexuiz-map-compiler * -bsp -samplesize 8 -vis -light -deluxe -patchshadows -samples 3
-# nexuiz-map-compiler farewell -bsp -samplesize 8 -patchmeta -vis -light -deluxe -patchshadows -samples 3
-# nexuiz-map-compiler aggressor -scale 1.25 -bsp -samplesize 8 -vis -light -deluxe -patchshadows -samples 3
-# nexuiz-map-compiler bloodprison -scale 1.25:0.96 -bsp -samplesize 8 -vis -light -deluxe -patchshadows -samples 3
-
-: ignore <<'EOF'
-
-Nexuiz map recompilation script
-
-NOTE: to use this script, you need a shell script called q3map2 in your $PATH.
- Mine looks like this:
-
- #!/bin/sh
- exec ~/bin/q3map2.x86 -threads 2 "$@"
-
- Note that you can NOT call q3map2.x86 directly from $PATH, as it segfaults
- then!
-
-Usage:
-sh compile.sh tznex01
-
-EOF
-
-settings_default="-samplesize 8::-deluxe -patchshadows -samples 3"
-settings_farewell="-samplesize 8 -patchmeta::-deluxe -patchshadows -samples 3"
-scale_bloodprison=1.2
-scale_aggressor=1.25
-
-set -ex
-
-map2()
-{
- dir=`pwd`
- # note: you are in data/maps. Removintg these two components...
- dir=${dir%/*/*}
-
- q3map2 -fs_basepath "$dir" -fs_game data -v "$@"
-}
-
-for MAP in "$@"; do
- [ -f "$MAP.map" ]
-
- # get settings for this map
- eval s=\$settings_$MAP
- [ -n "$s" ] || s=$settings_default
- eval scale=\$scale_$MAP
-
- # recompile it
- if [ -n "$scale" ]; then
- if ! grep "_keeplights" "$MAP.map" >/dev/null; then
- echo "$MAP does not have _keeplights in worldspawn!"
- exit 1
- fi
- fi
- map2 -bsp -meta `echo "$s" | cut -d : -f 1` "$MAP.map" | tee "$MAP.log"
- if [ -n "$scale" ]; then
- map2 -scale "$scale" "$MAP.bsp"
- mv "${MAP}_s.bsp" "$MAP.bsp"
- fi
- map2 -vis `echo "$s" | cut -d : -f 2` "$MAP.map" | tee -a "$MAP.log"
- map2 -light `echo "$s" | cut -d : -f 3` "$MAP.map" | tee -a "$MAP.log"
- rm -f "$MAP.srf"
-done
More information about the nexuiz-commits
mailing list