36 lines
891 B
Tcsh
36 lines
891 B
Tcsh
#!/bin/csh
|
|
|
|
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
#
|
|
# auto skeleton shape make
|
|
#
|
|
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
|
|
|
|
ls -la *.asc > al.sos
|
|
awk '{ print $9 }' al.sos > al.sos1
|
|
sed 's/\(.*\)\.asc$/softcv2 \1 -m40 -v -c;ls -la \1.c;soft2ultra \1 @/' al.sos1 > al.sos2
|
|
sed s/@/$2/ al.sos2 > al.sos3
|
|
chmod 700 al.sos3
|
|
al.sos3
|
|
mkanime *.anm
|
|
|
|
echo ---- cut light_sourcex ---
|
|
sed s/light_sourcex/$1_light_sourcex/ $1.sou > al.sos4
|
|
|
|
echo ---- rename HmsEnemyXXX ----
|
|
sed -e 's/\(RCP_HmsEnemy[A-Za-z0-9]*\)_.*\[/\1[/' al.sos4 > $1.softimage
|
|
|
|
echo ---- make /softimage/ /sou/ file ----
|
|
cp $1.softimage $1.sou
|
|
|
|
echo ---- disp seqHms ---
|
|
sed -n -e 's/.*\(RCP_HmsEnemy\)\([A-Za-z0-9]*\).*/ seqHmsShape(S_\2 ,\1\2 )/p' al.sos4
|
|
|
|
rm al.sos al.sos?
|
|
|
|
echo -----------------------
|
|
echo al filename shadowsize
|
|
echo -----------------------
|
|
|