r5902 - trunk/misc/tools

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri Feb 20 02:07:56 EST 2009


Author: div0
Date: 2009-02-20 02:07:56 -0500 (Fri, 20 Feb 2009)
New Revision: 5902

Modified:
   trunk/misc/tools/assault-circuit-board-creator.pl
   trunk/misc/tools/autoshader.sh
   trunk/misc/tools/brightspot.sh
   trunk/misc/tools/csqcarchive.sh
   trunk/misc/tools/demotc-race-record-extractor.sh
   trunk/misc/tools/entmerge.pl
   trunk/misc/tools/fiximage.pl
   trunk/misc/tools/polycount.pl
Log:
set some x bits



Property changes on: trunk/misc/tools/assault-circuit-board-creator.pl
___________________________________________________________________
Name: svn:executable
   + *


Property changes on: trunk/misc/tools/autoshader.sh
___________________________________________________________________
Name: svn:executable
   + *


Property changes on: trunk/misc/tools/brightspot.sh
___________________________________________________________________
Name: svn:executable
   + *


Property changes on: trunk/misc/tools/csqcarchive.sh
___________________________________________________________________
Name: svn:executable
   + *

Modified: trunk/misc/tools/demotc-race-record-extractor.sh
===================================================================
--- trunk/misc/tools/demotc-race-record-extractor.sh	2009-02-19 21:54:35 UTC (rev 5901)
+++ trunk/misc/tools/demotc-race-record-extractor.sh	2009-02-20 07:07:56 UTC (rev 5902)
@@ -1,8 +1,17 @@
 #!/bin/sh
 
+case "$2" in
+	old)
+		PATTERN='all-time fastest lap record with (.*)\n'
+		;;
+	new|*)
+		PATTERN='//RACE RECORD SET (.*)\n'
+		;;
+esac
+
 d=$1
 i=0
-demotc.pl grep "$d" '//RACE RECORD SET (.*)\n' | while IFS=" " read -r timecode result; do
+demotc.pl grep "$d" "$PATTERN" | while IFS=" " read -r timecode result; do
 	timecode=${timecode%:}
 	result=${result#\"}
 	result=${result%\"}
@@ -18,6 +27,6 @@
 	timecode_start=`echo "$timecode - $minutes*60 - $seconds - $tenths*0.1 - 2" | bc -l`
 	timecode_end=`echo "$timecode + 2" | bc -l`
 	i=$(($i + 1))
-	perl demotc.pl cut "$d" "playback-$i.dem" "$timecode_start" "$timecode_end"
-	perl demotc.pl cut "$d" "capture-$i.dem" "$timecode_start" "$timecode_end" --capture
+	demotc.pl cut "$d" "playback-$i.dem" "$timecode_start" "$timecode_end"
+	demotc.pl cut "$d" "capture-$i.dem" "$timecode_start" "$timecode_end" --capture
 done


Property changes on: trunk/misc/tools/demotc-race-record-extractor.sh
___________________________________________________________________
Name: svn:executable
   + *


Property changes on: trunk/misc/tools/entmerge.pl
___________________________________________________________________
Name: svn:executable
   + *


Property changes on: trunk/misc/tools/fiximage.pl
___________________________________________________________________
Name: svn:executable
   + *


Property changes on: trunk/misc/tools/polycount.pl
___________________________________________________________________
Name: svn:executable
   + *




More information about the nexuiz-commits mailing list