Add assets, databases, overlays and shaders

This commit is contained in:
U-Huygens-PC\Bibibi 2016-08-09 20:37:07 +02:00
parent f7e9fc8620
commit cbb4d6fcee

View File

@ -259,8 +259,34 @@ for f in `ls -v *_${platform}.${EXT}`; do
done
# Additional build step
if [ $PLATFORM = "ps3" ] ; then
make -C ../ -f Makefile.griffin platform=${platform} shaders-deploy
if [ $platform = "ps3" ] ; then
if [ $PLATFORM = "ode-ps3" ] ; then
echo Deploy : Assets...
mkdir -p ../pkg/${platform}_iso/PS3_GAME/USRDIR/cores/assets
cp -r ../media/assets/* ../pkg/${platform}_iso/PS3_GAME/USRDIR/cores/assets
echo Deploy : Databases...
mkdir -p ../pkg/${platform}_iso/PS3_GAME/USRDIR/cores/database/rdb
cp -r ../media/libretrodb/rdb/* ../pkg/${platform}_iso/PS3_GAME/USRDIR/cores/database/rdb
echo Deploy : Overlays...
mkdir -p ../pkg/${platform}_iso/PS3_GAME/USRDIR/cores/overlays
cp -r ../media/overlays/* ../pkg/${platform}_iso/PS3_GAME/USRDIR/cores/overlays
echo Deploy : Shaders...
mkdir -p ../pkg/${platform}_iso/PS3_GAME/USRDIR/cores/shaders_cg
cp -r ../media/shaders_cg/* ../pkg/${platform}_iso/PS3_GAME/USRDIR/cores/shaders_cg
else
echo Deploy : Assets...
mkdir -p ../pkg/${platform}/USRDIR/cores/assets
cp -r ../media/assets/* ../pkg/${platform}/USRDIR/cores/assets
echo Deploy : Databases...
mkdir -p ../pkg/${platform}/USRDIR/cores/database/rdb
cp -r ../media/libretrodb/rdb/* ../pkg/${platform}/USRDIR/cores/database/rdb
echo Deploy : Overlays...
mkdir -p ../pkg/${platform}/USRDIR/cores/overlays
cp -r ../media/overlays/* ../pkg/${platform}/USRDIR/cores/overlays
echo Deploy : Shaders...
mkdir -p ../pkg/${platform}/USRDIR/cores/shaders_cg
cp -r ../media/shaders_cg/* ../pkg/${platform}/USRDIR/cores/shaders_cg
fi
fi
# Packaging