1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
#!/bin/bash
#
# Change this to point to your smartblend.exe
SMARTBLENDEXE="/home/bbb/bin/smartblend_1_2_5/smartblend.exe"
# Do not change this
SMARTBLEND=${SMARTBLEND-$SMARTBLENDEXE}
SMARTBLENDARGS=`echo $* \
| sed -re "s/--compression NONE ?//" \
-e "s/--compression PACKBITS ?//" \
-e "s/--compression LZW ?//" \
-e "s/--compression DEFLATE ?//" \
-e "s/--compression [0-9]+ ?//" \
-e "s/--gpu ?//" \
-e "s/-f *[0-9]+x[0-9]+\+?[0-9]*\+?[0-9]* //" \
-e "s/-l *[0-9]+ //" \
-e "s/-m [0-9]+ //"`
echo -e "\nExecuting smartblend.exe $SMARTBLENDARGS\n"
wine "$SMARTBLEND" $SMARTBLENDARGS
exit $?
|