Tokyo Mirage Sessions #FE: simple progress stuff

This commit is contained in:
Christopher Roy Bratusek 2016-07-03 13:06:20 +02:00
parent b37ec884ec
commit c71fb632bc

View File

@ -68,9 +68,12 @@ patch () {
${PWD}/TMSxFE-Uncensored ${PWD}/TMSxFE-Uncensored
done done
cur=0
all=${#PACH_FILES[@]}
echo -e "\n> Patching Files" echo -e "\n> Patching Files"
for patch in ${PATCH_FILES[@]}; do for patch in ${PATCH_FILES[@]}; do
echo ">> pack_${patch}.cpk" cur=$((cur+1)
echo ">> [${cur}/${all}] pack_${patch}.cpk"
${XD3} -d -f -s ${PWD}/TMSxFE-Uncensored/pack_${patch}.cpk \ ${XD3} -d -f -s ${PWD}/TMSxFE-Uncensored/pack_${patch}.cpk \
${XDELTA_PATH}/patch_${patch}.xdelta \ ${XDELTA_PATH}/patch_${patch}.xdelta \
${PWD}/TMSxFE-Uncensored/pack_${patch}.cpk_new || exit 51 ${PWD}/TMSxFE-Uncensored/pack_${patch}.cpk_new || exit 51