You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

11 lines
225 B

#!/usr/bin/perl
open (bzimg, @ARGV[0]);
while (<bzimg>) { $i .= $_; }
$i .= pack "v", -(unpack "%v*", $i);
print "CSYS";
print pack("V", length($i));
print pack("V", 0);
print "WRRM";
print pack("V", length($i));
print $i;