#!/bin/sh # for grepping: ;P # keywords: edje_decc edje_cc eet # list all keys, usually just "config" if [ "x$1" == "x" ]; then echo "cfg file missing, nothing to do..." exit 1 fi echo "List of configuration keys (press Enter to continue):" eet -l $1 read # writes human readable values to file ptt_<$1>.src echo "Decompiling conf..." eet -d $1 config ptt_$1.src # change whatever you like echo "Launch editor..." vi ptt_$1.src # compile human readable values to binary form and use compression echo "Creating new cfg file..." eet -e $1_ptt.cfg config ptt_$1.src 1 echo "" echo "Created $1_ptt.cfg from $1" echo ""