Project

General

Profile

#TODO probably wrong
TYPE=$1
cp $2 ${TYPE}_orig.pof

./swapbits sidwavedata.bin sidwavedata_swap.bin
dd if=sidwavedata_swap.bin bs=1 seek=$3 count=65536 of=$2 conv=notrunc
truncate -s -2 $2
HASHCODE=`../rehashr/rehash $2 -norecur -none -fcs16 | grep FCS | sed -e 's/.*:\s*//'`
../addhash.pl $2 $HASHCODE
(50-50/106)