#!/bin/sh

D=''
d=''
yrp=y,r,p/0-
perl ../../tools/ptsed -O0xff \
    -s -Vb,v/0:a,c,d,e/0-:${yrp} \
    -o 01.txt 01.pto
PToptimizer 01.txt
perl ../../tools/ptscluster -O0xff \
    -x48 -y36 ${D} ${d} \
    -o 01.txt 01.txt \
&& perl ../../tools/ptsed -O0xff \
    -s -r \
    -o 01.txt 01.txt
PToptimizer 01.txt
perl ../../tools/ptscluster -O0xff \
    -x24 -y18 ${D} ${d} \
    -o 01.txt 01.txt \
&& perl ../../tools/ptsed -O0xff \
    -s -r \
    -o 01.txt 01.txt
PToptimizer 01.txt
perl ../../tools/ptscluster -O0xff \
    ${D} ${d} \
    -o 01.txt 01.txt \
&& perl ../../tools/ptsed -O0xff \
    -s -r \
    -o 01.txt 01.txt
PToptimizer 01.txt
perl ../../tools/ptsed -O0xff \
    -i \
    -o 00.pto 01.txt

