t commit, please reset
authordiv0 <div0@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Wed, 27 Jan 2010 11:46:06 +0000 (11:46 +0000)
committerdiv0 <div0@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Wed, 27 Jan 2010 11:46:06 +0000 (11:46 +0000)
git-svn-id: svn://svn.icculus.org/nexuiz/trunk@8578 f962a42d-fe04-0410-a3ab-8c8b0445ebaa

misc/tools/demosplit.pl
nexuiz-linux-glx.sh

index 5f5e4d2..e61de1c 100755 (executable)
@@ -45,6 +45,8 @@ for(;;)
        die "Invalid demo packet"
                unless $length == read $infh, my($data), $length;
 
+       use Data::Dumper; $Data::Dumper::Useqq = 1; print Dumper $data;
+
        if($data =~ m{
                ^
                $svc_signon
@@ -61,11 +63,11 @@ for(;;)
                print "Writing to $outname...\n";
        }
 
-       die "No signon received"
-               unless $outfh;
-       print $outfh pack("V", length $data);
-       print $outfh $angles;
-       print $outfh $data;
+       #die "No signon received"
+       #       unless $outfh;
+       #print $outfh pack("V", length $data);
+       #print $outfh $angles;
+       #print $outfh $data;
 }
 
 close $outfh;
index f99704b..8b3858a 100755 (executable)
@@ -119,3 +119,4 @@ case "$xserver" in
 esac
 
 exec "$@"
+42