#!/bin/bash
root=$(dirname $0)

hcas=$(find resource/sound_native/voice/ -name *.hca)
for i in $hcas
do
	dir=$(dirname $i)
	name=$(basename $i .hca)
	if [ -e $dir/$name".opus" -o -e $dir/$name".mp3" -o -e $dir/$name".aac" ]
	then
		continue
	fi
	$root/bin/hcam.sh $i
done
