joeylib3d/j3d/postlink.sh
2019-08-27 21:19:57 -05:00

14 lines
244 B
Bash
Executable file

#!/bin/bash
GAME=$1
export JOEY=$2
# ***TODO*** Automatically convert OBJ to J3D
pushd "${GAME}"
find . -type f -name "*.xcf" -exec ${JOEY}/utils/xcf2sta.sh {} \;
popd
mkdir -p data
cp -f "${GAME}"/*.sta data/.
cp -f "${GAME}"/*.j3d data/.