123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858 |
- #!/bin/sh
- set -e
- SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
- cd $SCRIPT_DIR
- ROOT=$SCRIPT_DIR/../..
- echo "Spine Runtimes path: $ROOT"
- echo "Copying assets to runtimes..."
- echo ""
- echo "spine-libgdx"
- rm "$ROOT/spine-libgdx/spine-libgdx-tests/assets/goblins/"*
- cp -f ../goblins/export/*.json "$ROOT/spine-libgdx/spine-libgdx-tests/assets/goblins/"
- cp -f ../goblins/export/*.skel "$ROOT/spine-libgdx/spine-libgdx-tests/assets/goblins/"
- cp -f ../goblins/export/*-pma.* "$ROOT/spine-libgdx/spine-libgdx-tests/assets/goblins/"
- rm "$ROOT/spine-libgdx/spine-libgdx-tests/assets/raptor/"*
- cp -f ../raptor/export/*.json "$ROOT/spine-libgdx/spine-libgdx-tests/assets/raptor/"
- cp -f ../raptor/export/*.skel "$ROOT/spine-libgdx/spine-libgdx-tests/assets/raptor/"
- cp -f ../raptor/export/*-pma.* "$ROOT/spine-libgdx/spine-libgdx-tests/assets/raptor/"
- rm "$ROOT/spine-libgdx/spine-libgdx-tests/assets/spineboy/"*
- cp -f ../spineboy/export/*.json "$ROOT/spine-libgdx/spine-libgdx-tests/assets/spineboy/"
- cp -r ../spineboy/export/*.skel "$ROOT/spine-libgdx/spine-libgdx-tests/assets/spineboy/"
- cp -r ../spineboy/export/*-pma.* "$ROOT/spine-libgdx/spine-libgdx-tests/assets/spineboy/"
- rm "$ROOT/spine-libgdx/spine-libgdx-tests/assets/coin/"*
- cp -f ../coin/export/*.json "$ROOT/spine-libgdx/spine-libgdx-tests/assets/coin/"
- cp -f ../coin/export/*.skel "$ROOT/spine-libgdx/spine-libgdx-tests/assets/coin/"
- cp -f ../coin/export/*-pma.* "$ROOT/spine-libgdx/spine-libgdx-tests/assets/coin/"
- rm -f "$ROOT/spine-libgdx/spine-libgdx-tests/assets/mix-and-match/"*
- cp -f ../mix-and-match/export/*.json "$ROOT/spine-libgdx/spine-libgdx-tests/assets/mix-and-match/"
- cp -f ../mix-and-match/export/*.skel "$ROOT/spine-libgdx/spine-libgdx-tests/assets/mix-and-match/"
- cp -f ../mix-and-match/export/*-pma.* "$ROOT/spine-libgdx/spine-libgdx-tests/assets/mix-and-match/"
- rm -f "$ROOT/spine-libgdx/spine-libgdx-tests/assets/sack/"*
- mkdir -p "$ROOT/spine-libgdx/spine-libgdx-tests/assets/sack/"
- cp -f ../sack/export/sack-pro.json "$ROOT/spine-libgdx/spine-libgdx-tests/assets/sack/"
- cp -f ../sack/export/sack-pro.skel "$ROOT/spine-libgdx/spine-libgdx-tests/assets/sack/"
- cp -f ../sack/export/sack-pma.atlas "$ROOT/spine-libgdx/spine-libgdx-tests/assets/sack/"
- cp -f ../sack/export/sack-pma.png "$ROOT/spine-libgdx/spine-libgdx-tests/assets/sack/"
- rm -f "$ROOT/spine-libgdx/spine-libgdx-tests/assets/celestial-circus/"*
- mkdir -p "$ROOT/spine-libgdx/spine-libgdx-tests/assets/celestial-circus/"
- cp -f ../celestial-circus/export/* "$ROOT/spine-libgdx/spine-libgdx-tests/assets/celestial-circus/"
- rm -f "$ROOT/spine-libgdx/spine-libgdx-tests/assets/snowglobe/"*
- mkdir -p "$ROOT/spine-libgdx/spine-libgdx-tests/assets/snowglobe/"
- cp -f ../snowglobe/export/* "$ROOT/spine-libgdx/spine-libgdx-tests/assets/snowglobe/"
- rm -f "$ROOT/spine-libgdx/spine-libgdx-tests/assets/cloud-pot/"*
- mkdir -p "$ROOT/spine-libgdx/spine-libgdx-tests/assets/cloud-pot/"
- cp -f ../cloud-pot/export/* "$ROOT/spine-libgdx/spine-libgdx-tests/assets/cloud-pot/"
- echo "spine-cocos2d-objc"
- rm "$ROOT/spine-cocos2d-objc/Resources/"*
- cp -f ../coin/export/coin-pro.json "$ROOT/spine-cocos2d-objc/Resources/"
- cp -f ../coin/export/coin.atlas "$ROOT/spine-cocos2d-objc/Resources/"
- cp -f ../coin/export/coin.png "$ROOT/spine-cocos2d-objc/Resources/"
- cp -f ../goblins/export/goblins-pro.json "$ROOT/spine-cocos2d-objc/Resources/"
- cp -f ../goblins/export/goblins.atlas "$ROOT/spine-cocos2d-objc/Resources/"
- cp -f ../goblins/export/goblins.png "$ROOT/spine-cocos2d-objc/Resources/"
- cp -f ../raptor/export/raptor-pro.json "$ROOT/spine-cocos2d-objc/Resources/"
- cp -f ../raptor/export/raptor.atlas "$ROOT/spine-cocos2d-objc/Resources/"
- cp -f ../raptor/export/raptor.png "$ROOT/spine-cocos2d-objc/Resources/"
- cp -f ../spineboy/export/spineboy-pro.json "$ROOT/spine-cocos2d-objc/Resources/"
- cp -f ../spineboy/export/spineboy.atlas "$ROOT/spine-cocos2d-objc/Resources/"
- cp -f ../spineboy/export/spineboy.png "$ROOT/spine-cocos2d-objc/Resources/"
- cp -f ../tank/export/tank-pro.json "$ROOT/spine-cocos2d-objc/Resources/"
- cp -f ../tank/export/tank.atlas "$ROOT/spine-cocos2d-objc/Resources/"
- cp -f ../tank/export/tank.png "$ROOT/spine-cocos2d-objc/Resources/"
- echo "spine-cocos2dx"
- rm -rf "$ROOT/spine-cocos2dx/example/Resources/common/"*
- cp -f ../dragon/export/dragon-ess.skel "$ROOT/spine-cocos2dx/example/Resources/common/"
- cp -f ../dragon/export/dragon-pma.atlas "$ROOT/spine-cocos2dx/example/Resources/common/"
- cp -f ../dragon/export/dragon-pma*.png "$ROOT/spine-cocos2dx/example/Resources/common/"
- cp -f ../coin/export/coin-pro.skel "$ROOT/spine-cocos2dx/example/Resources/common/"
- cp -f ../coin/export/coin.atlas "$ROOT/spine-cocos2dx/example/Resources/common/"
- cp -f ../coin/export/coin.png "$ROOT/spine-cocos2dx/example/Resources/common/"
- cp -f ../goblins/export/goblins-pro.json "$ROOT/spine-cocos2dx/example/Resources/common/"
- cp -f ../goblins/export/goblins.atlas "$ROOT/spine-cocos2dx/example/Resources/common/"
- cp -f ../goblins/export/goblins.png "$ROOT/spine-cocos2dx/example/Resources/common/"
- cp -f ../raptor/export/raptor-pro.json "$ROOT/spine-cocos2dx/example/Resources/common/"
- cp -f ../raptor/export/raptor.atlas "$ROOT/spine-cocos2dx/example/Resources/common/"
- cp -f ../raptor/export/raptor.png "$ROOT/spine-cocos2dx/example/Resources/common/"
- cp -f ../spineboy/export/spineboy-pro.json "$ROOT/spine-cocos2dx/example/Resources/common/"
- cp -f ../spineboy/export/spineboy.atlas "$ROOT/spine-cocos2dx/example/Resources/common/"
- cp -f ../spineboy/export/spineboy.png "$ROOT/spine-cocos2dx/example/Resources/common/"
- cp -f ../tank/export/tank-pro.skel "$ROOT/spine-cocos2dx/example/Resources/common/"
- cp -f ../tank/export/tank.atlas "$ROOT/spine-cocos2dx/example/Resources/common/"
- cp -f ../tank/export/tank.png "$ROOT/spine-cocos2dx/example/Resources/common/"
- cp -f ../mix-and-match/export/mix-and-match-pro.skel "$ROOT/spine-cocos2dx/example/Resources/common/"
- cp -f ../mix-and-match/export/mix-and-match.atlas "$ROOT/spine-cocos2dx/example/Resources/common/"
- cp -f ../mix-and-match/export/mix-and-match.png "$ROOT/spine-cocos2dx/example/Resources/common/"
- cp -f ../celestial-circus/export/celestial-circus-pro.skel "$ROOT/spine-cocos2dx/example/Resources/common/"
- cp -f ../celestial-circus/export/celestial-circus.atlas "$ROOT/spine-cocos2dx/example/Resources/common/"
- cp -f ../celestial-circus/export/celestial-circus.png "$ROOT/spine-cocos2dx/example/Resources/common/"
- echo "spine-flutter"
- rm -rf "$ROOT/spine-flutter/example/assets/"*
- cp -f ../spineboy/export/spineboy-pro.json "$ROOT/spine-flutter/example/assets/"
- cp -f ../spineboy/export/spineboy-pro.skel "$ROOT/spine-flutter/example/assets/"
- cp -f ../spineboy/export/spineboy.atlas "$ROOT/spine-flutter/example/assets/"
- cp -f ../spineboy/export/spineboy.png "$ROOT/spine-flutter/example/assets/"
- cp -f ../mix-and-match/export/mix-and-match-pro.skel "$ROOT/spine-flutter/example/assets/"
- cp -f ../mix-and-match/export/mix-and-match.atlas "$ROOT/spine-flutter/example/assets/"
- cp -f ../mix-and-match/export/mix-and-match.png "$ROOT/spine-flutter/example/assets/"
- cp -f ../dragon/export/dragon-ess.skel "$ROOT/spine-flutter/example/assets/"
- cp -f ../dragon/export/dragon.atlas "$ROOT/spine-flutter/example/assets/"
- cp -f ../dragon/export/dragon.png "$ROOT/spine-flutter/example/assets/"
- cp -f ../dragon/export/dragon_*.png "$ROOT/spine-flutter/example/assets/"
- cp -f ../celestial-circus/export/celestial-circus-pro.skel "$ROOT/spine-flutter/example/assets/"
- cp -f ../celestial-circus/export/celestial-circus.atlas "$ROOT/spine-flutter/example/assets/"
- cp -f ../celestial-circus/export/celestial-circus.png "$ROOT/spine-flutter/example/assets/"
- echo "spine-godot"
- rm -f "$ROOT"/spine-godot/example/assets/spineboy/*.atlas
- rm -f "$ROOT"/spine-godot/example/assets/spineboy/*.png
- rm -f "$ROOT"/spine-godot/example/assets/spineboy/*.spine-json
- rm -f "$ROOT"/spine-godot/example/assets/spineboy/*.skel
- rm -f "$ROOT"/spine-godot/example/assets/raptor/*.atlas
- rm -f "$ROOT"/spine-godot/example/assets/raptor/*.png
- rm -f "$ROOT"/spine-godot/example/assets/raptor/*.skel
- rm -f "$ROOT"/spine-godot/example/assets/mix-and-match/*.atlas
- rm -f "$ROOT"/spine-godot/example/assets/mix-and-match/*.png
- rm -f "$ROOT"/spine-godot/example/assets/mix-and-match/*.spine-json
- rm -f "$ROOT"/spine-godot/example/assets/mix-and-match/*.skel
- rm -f "$ROOT"/spine-godot/example/assets/raggedyspineboy/*.atlas
- rm -f "$ROOT"/spine-godot/example/assets/raggedyspineboy/*.png
- rm -f "$ROOT"/spine-godot/example/assets/raggedyspineboy/*.spine-json
- rm -f "$ROOT"/spine-godot/example/assets/celestial-circus/*.atlas
- rm -f "$ROOT"/spine-godot/example/assets/celestial-circus/*.png
- rm -f "$ROOT"/spine-godot/example/assets/celestial-circus/*.skel
- cp -f ../spineboy/export/spineboy-pro.json "$ROOT/spine-godot/example/assets/spineboy/spineboy-pro.spine-json"
- cp -f ../spineboy/export/spineboy-pro.skel "$ROOT/spine-godot/example/assets/spineboy/"
- cp -f ../spineboy/export/spineboy.atlas "$ROOT/spine-godot/example/assets/spineboy/"
- cp -f ../spineboy/export/spineboy.png "$ROOT/spine-godot/example/assets/spineboy/"
- cp -f ../mix-and-match/export/mix-and-match-pro.json "$ROOT/spine-godot/example/assets/mix-and-match/mix-and-match-pro.spine-json"
- cp -f ../mix-and-match/export/mix-and-match.atlas "$ROOT/spine-godot/example/assets/mix-and-match/"
- cp -f ../mix-and-match/export/mix-and-match.png "$ROOT/spine-godot/example/assets/mix-and-match/"
- cp -f ../raptor/export/raptor-pro.skel "$ROOT/spine-godot/example/assets/raptor/"
- cp -f ../raptor/export/raptor.atlas "$ROOT/spine-godot/example/assets/raptor/"
- cp -f ../raptor/export/raptor.png "$ROOT/spine-godot/example/assets/raptor/"
- cp -f ../raptor/manual-maps/raptor-normals.png "$ROOT/spine-godot/example/assets/raptor/n_raptor.png"
- cp -f ../raptor/manual-maps/light-sprite.png "$ROOT/spine-godot/example/assets/raptor/light-sprite.png"
- cp -f ../celestial-circus/export/celestial-circus-pro.skel "$ROOT/spine-godot/example/assets/celestial-circus/celestial-circus.skel"
- cp -f ../celestial-circus/export/celestial-circus.atlas "$ROOT/spine-godot/example/assets/celestial-circus/"
- cp -f ../celestial-circus/export/celestial-circus.png "$ROOT/spine-godot/example/assets/celestial-circus/"
- rm -f "$ROOT"/spine-godot/example-v4/assets/spineboy/*.atlas
- rm -f "$ROOT"/spine-godot/example-v4/assets/spineboy/*.png
- rm -f "$ROOT"/spine-godot/example-v4/assets/spineboy/*.spine-json
- rm -f "$ROOT"/spine-godot/example-v4/assets/spineboy/*.skel
- rm -f "$ROOT"/spine-godot/example-v4/assets/raptor/*.atlas
- rm -f "$ROOT"/spine-godot/example-v4/assets/raptor/*.png
- rm -f "$ROOT"/spine-godot/example-v4/assets/raptor/*.skel
- rm -f "$ROOT"/spine-godot/example-v4/assets/mix-and-match/*.atlas
- rm -f "$ROOT"/spine-godot/example-v4/assets/mix-and-match/*.png
- rm -f "$ROOT"/spine-godot/example-v4/assets/mix-and-match/*.spine-json
- rm -f "$ROOT"/spine-godot/example-v4/assets/mix-and-match/*.skel
- rm -f "$ROOT"/spine-godot/example-v4/assets/raggedyspineboy/*.atlas
- rm -f "$ROOT"/spine-godot/example-v4/assets/raggedyspineboy/*.png
- rm -f "$ROOT"/spine-godot/example-v4/assets/raggedyspineboy/*.spine-json
- rm -f "$ROOT"/spine-godot/example-v4/assets/celestial-circus/*.atlas
- rm -f "$ROOT"/spine-godot/example-v4/assets/celestial-circus/*.png
- rm -f "$ROOT"/spine-godot/example-v4/assets/celestial-circus/*.skel
- cp -f ../spineboy/export/spineboy-pro.json "$ROOT/spine-godot/example-v4/assets/spineboy/spineboy-pro.spine-json"
- cp -f ../spineboy/export/spineboy-pro.skel "$ROOT/spine-godot/example-v4/assets/spineboy/"
- cp -f ../spineboy/export/spineboy.atlas "$ROOT/spine-godot/example-v4/assets/spineboy/"
- cp -f ../spineboy/export/spineboy.png "$ROOT/spine-godot/example-v4/assets/spineboy/"
- cp -f ../mix-and-match/export/mix-and-match-pro.json "$ROOT/spine-godot/example-v4/assets/mix-and-match/mix-and-match-pro.spine-json"
- cp -f ../mix-and-match/export/mix-and-match.atlas "$ROOT/spine-godot/example-v4/assets/mix-and-match/"
- cp -f ../mix-and-match/export/mix-and-match.png "$ROOT/spine-godot/example-v4/assets/mix-and-match/"
- cp -f ../raptor/export/raptor-pro.skel "$ROOT/spine-godot/example-v4/assets/raptor/"
- cp -f ../raptor/export/raptor.atlas "$ROOT/spine-godot/example-v4/assets/raptor/"
- cp -f ../raptor/export/raptor.png "$ROOT/spine-godot/example-v4/assets/raptor/"
- cp -f ../raptor/manual-maps/raptor-normals.png "$ROOT/spine-godot/example-v4/assets/raptor/n_raptor.png"
- cp -f ../raptor/manual-maps/light-sprite.png "$ROOT/spine-godot/example-v4/assets/raptor/light-sprite.png"
- cp -f ../celestial-circus/export/celestial-circus-pro.skel "$ROOT/spine-godot/example-v4/assets/celestial-circus/celestial-circus.skel"
- cp -f ../celestial-circus/export/celestial-circus.atlas "$ROOT/spine-godot/example-v4/assets/celestial-circus/"
- cp -f ../celestial-circus/export/celestial-circus.png "$ROOT/spine-godot/example-v4/assets/celestial-circus/"
- rm -f "$ROOT"/spine-godot/example-v4-csharp/assets/spineboy/*.atlas
- rm -f "$ROOT"/spine-godot/example-v4-csharp/assets/spineboy/*.png
- rm -f "$ROOT"/spine-godot/example-v4-csharp/assets/spineboy/*.spine-json
- rm -f "$ROOT"/spine-godot/example-v4-csharp/assets/spineboy/*.skel
- rm -f "$ROOT"/spine-godot/example-v4-csharp/assets/raptor/*.atlas
- rm -f "$ROOT"/spine-godot/example-v4-csharp/assets/raptor/*.png
- rm -f "$ROOT"/spine-godot/example-v4-csharp/assets/raptor/*.skel
- rm -f "$ROOT"/spine-godot/example-v4-csharp/assets/mix-and-match/*.atlas
- rm -f "$ROOT"/spine-godot/example-v4-csharp/assets/mix-and-match/*.png
- rm -f "$ROOT"/spine-godot/example-v4-csharp/assets/mix-and-match/*.spine-json
- rm -f "$ROOT"/spine-godot/example-v4-csharp/assets/mix-and-match/*.skel
- rm -f "$ROOT"/spine-godot/example-v4-csharp/assets/raggedyspineboy/*.atlas
- rm -f "$ROOT"/spine-godot/example-v4-csharp/assets/raggedyspineboy/*.png
- rm -f "$ROOT"/spine-godot/example-v4-csharp/assets/raggedyspineboy/*.spine-json
- rm -f "$ROOT"/spine-godot/example-v4-csharp/assets/celestial-circus/*.atlas
- rm -f "$ROOT"/spine-godot/example-v4-csharp/assets/celestial-circus/*.png
- rm -f "$ROOT"/spine-godot/example-v4-csharp/assets/celestial-circus/*.skel
- cp -f ../spineboy/export/spineboy-pro.json "$ROOT/spine-godot/example-v4-csharp/assets/spineboy/spineboy-pro.spine-json"
- cp -f ../spineboy/export/spineboy-pro.skel "$ROOT/spine-godot/example-v4-csharp/assets/spineboy/"
- cp -f ../spineboy/export/spineboy.atlas "$ROOT/spine-godot/example-v4-csharp/assets/spineboy/"
- cp -f ../spineboy/export/spineboy.png "$ROOT/spine-godot/example-v4-csharp/assets/spineboy/"
- cp -f ../mix-and-match/export/mix-and-match-pro.json "$ROOT/spine-godot/example-v4-csharp/assets/mix-and-match/mix-and-match-pro.spine-json"
- cp -f ../mix-and-match/export/mix-and-match.atlas "$ROOT/spine-godot/example-v4-csharp/assets/mix-and-match/"
- cp -f ../mix-and-match/export/mix-and-match.png "$ROOT/spine-godot/example-v4-csharp/assets/mix-and-match/"
- cp -f ../raptor/export/raptor-pro.skel "$ROOT/spine-godot/example-v4-csharp/assets/raptor/"
- cp -f ../raptor/export/raptor.atlas "$ROOT/spine-godot/example-v4-csharp/assets/raptor/"
- cp -f ../raptor/export/raptor.png "$ROOT/spine-godot/example-v4-csharp/assets/raptor/"
- cp -f ../raptor/manual-maps/raptor-normals.png "$ROOT/spine-godot/example-v4-csharp/assets/raptor/n_raptor.png"
- cp -f ../raptor/manual-maps/light-sprite.png "$ROOT/spine-godot/example-v4-csharp/assets/raptor/light-sprite.png"
- cp -f ../celestial-circus/export/celestial-circus-pro.skel "$ROOT/spine-godot/example-v4-csharp/assets/celestial-circus/celestial-circus.skel"
- cp -f ../celestial-circus/export/celestial-circus.atlas "$ROOT/spine-godot/example-v4-csharp/assets/celestial-circus/"
- cp -f ../celestial-circus/export/celestial-circus.png "$ROOT/spine-godot/example-v4-csharp/assets/celestial-circus/"
- echo "spine-sdl"
- rm -f "$ROOT/spine-sdl/data/"*
- cp -f ../spineboy/export/spineboy-pro.json "$ROOT/spine-sdl/data/"
- cp -f ../spineboy/export/spineboy.atlas "$ROOT/spine-sdl/data/"
- cp -f ../spineboy/export/spineboy.png "$ROOT/spine-sdl/data/"
- echo "spine-sfml-c"
- rm "$ROOT/spine-sfml/c/data/"*
- cp -f ../coin/export/coin-pro.json "$ROOT/spine-sfml/c/data/"
- cp -f ../coin/export/coin-pro.skel "$ROOT/spine-sfml/c/data/"
- cp -f ../coin/export/coin-pma.atlas "$ROOT/spine-sfml/c/data/"
- cp -f ../coin/export/coin-pma.png "$ROOT/spine-sfml/c/data/"
- cp -f ../dragon/export/dragon-ess.json "$ROOT/spine-sfml/c/data/"
- cp -f ../dragon/export/dragon-ess.skel "$ROOT/spine-sfml/c/data/"
- cp -f ../dragon/export/dragon-pma.atlas "$ROOT/spine-sfml/c/data/"
- cp -f ../dragon/export/dragon-pma*.png "$ROOT/spine-sfml/c/data/"
- cp -f ../goblins/export/goblins-pro.json "$ROOT/spine-sfml/c/data/"
- cp -f ../goblins/export/goblins-pro.skel "$ROOT/spine-sfml/c/data/"
- cp -f ../goblins/export/goblins-pma.atlas "$ROOT/spine-sfml/c/data/"
- cp -f ../goblins/export/goblins-pma.png "$ROOT/spine-sfml/c/data/"
- cp -f ../raptor/export/raptor-pro.json "$ROOT/spine-sfml/c/data/"
- cp -f ../raptor/export/raptor-pro.skel "$ROOT/spine-sfml/c/data/"
- cp -f ../raptor/export/raptor-pma.atlas "$ROOT/spine-sfml/c/data/"
- cp -f ../raptor/export/raptor-pma.png "$ROOT/spine-sfml/c/data/"
- cp -f ../spineboy/export/spineboy-pro.json "$ROOT/spine-sfml/c/data/"
- cp -f ../spineboy/export/spineboy-pro.skel "$ROOT/spine-sfml/c/data/"
- cp -f ../spineboy/export/spineboy-pma.atlas "$ROOT/spine-sfml/c/data/"
- cp -f ../spineboy/export/spineboy-pma.png "$ROOT/spine-sfml/c/data/"
- cp -f ../tank/export/tank-pro.json "$ROOT/spine-sfml/c/data/"
- cp -f ../tank/export/tank-pro.skel "$ROOT/spine-sfml/c/data/"
- cp -f ../tank/export/tank-pma.atlas "$ROOT/spine-sfml/c/data/"
- cp -f ../tank/export/tank-pma.png "$ROOT/spine-sfml/c/data/"
- cp -f ../vine/export/vine-pro.json "$ROOT/spine-sfml/c/data/"
- cp -f ../vine/export/vine-pro.skel "$ROOT/spine-sfml/c/data/"
- cp -f ../vine/export/vine-pma.atlas "$ROOT/spine-sfml/c/data/"
- cp -f ../vine/export/vine-pma.png "$ROOT/spine-sfml/c/data/"
- cp -f ../stretchyman/export/stretchyman-pro.json "$ROOT/spine-sfml/c/data/"
- cp -f ../stretchyman/export/stretchyman-pro.skel "$ROOT/spine-sfml/c/data/"
- cp -f ../stretchyman/export/stretchyman-pma.atlas "$ROOT/spine-sfml/c/data/"
- cp -f ../stretchyman/export/stretchyman-pma.png "$ROOT/spine-sfml/c/data/"
- cp -f ../owl/export/owl-pro.json "$ROOT/spine-sfml/c/data/"
- cp -f ../owl/export/owl-pro.skel "$ROOT/spine-sfml/c/data/"
- cp -f ../owl/export/owl-pma.atlas "$ROOT/spine-sfml/c/data/"
- cp -f ../owl/export/owl-pma.png "$ROOT/spine-sfml/c/data/"
- cp -f ../mix-and-match/export/mix-and-match-pro.json "$ROOT/spine-sfml/c/data/"
- cp -f ../mix-and-match/export/mix-and-match-pro.skel "$ROOT/spine-sfml/c/data/"
- cp -f ../mix-and-match/export/mix-and-match-pma.atlas "$ROOT/spine-sfml/c/data/"
- cp -f ../mix-and-match/export/mix-and-match-pma.png "$ROOT/spine-sfml/c/data/"
- cp -f ../sack/export/sack-pro.json "$ROOT/spine-sfml/c/data/"
- cp -f ../sack/export/sack-pro.skel "$ROOT/spine-sfml/c/data/"
- cp -f ../sack/export/sack-pma.atlas "$ROOT/spine-sfml/c/data/"
- cp -f ../sack/export/sack-pma.png "$ROOT/spine-sfml/c/data/"
- cp -f ../celestial-circus/export/* "$ROOT/spine-sfml/c/data/"
- cp -f ../snowglobe/export/* "$ROOT/spine-sfml/c/data/"
- cp -f ../cloud-pot/export/* "$ROOT/spine-sfml/c/data/"
- echo "spine-sfml-cpp"
- rm "$ROOT/spine-sfml/cpp/data/"*
- cp -f ../coin/export/coin-pro.json "$ROOT/spine-sfml/cpp/data/"
- cp -f ../coin/export/coin-pro.skel "$ROOT/spine-sfml/cpp/data/"
- cp -f ../coin/export/coin-pma.atlas "$ROOT/spine-sfml/cpp/data/"
- cp -f ../coin/export/coin-pma.png "$ROOT/spine-sfml/cpp/data/"
- cp -f ../dragon/export/dragon-ess.json "$ROOT/spine-sfml/cpp/data/"
- cp -f ../dragon/export/dragon-ess.skel "$ROOT/spine-sfml/cpp/data/"
- cp -f ../dragon/export/dragon-pma.atlas "$ROOT/spine-sfml/cpp/data/"
- cp -f ../dragon/export/dragon-pma*.png "$ROOT/spine-sfml/cpp/data/"
- cp -f ../goblins/export/goblins-pro.json "$ROOT/spine-sfml/cpp/data/"
- cp -f ../goblins/export/goblins-pro.skel "$ROOT/spine-sfml/cpp/data/"
- cp -f ../goblins/export/goblins-pma.atlas "$ROOT/spine-sfml/cpp/data/"
- cp -f ../goblins/export/goblins-pma.png "$ROOT/spine-sfml/cpp/data/"
- cp -f ../raptor/export/raptor-pro.json "$ROOT/spine-sfml/cpp/data/"
- cp -f ../raptor/export/raptor-pro.skel "$ROOT/spine-sfml/cpp/data/"
- cp -f ../raptor/export/raptor-pma.atlas "$ROOT/spine-sfml/cpp/data/"
- cp -f ../raptor/export/raptor-pma.png "$ROOT/spine-sfml/cpp/data/"
- cp -f ../spineboy/export/spineboy-pro.json "$ROOT/spine-sfml/cpp/data/"
- cp -f ../spineboy/export/spineboy-pro.skel "$ROOT/spine-sfml/cpp/data/"
- cp -f ../spineboy/export/spineboy-pma.atlas "$ROOT/spine-sfml/cpp/data/"
- cp -f ../spineboy/export/spineboy-pma.png "$ROOT/spine-sfml/cpp/data/"
- cp -f ../tank/export/tank-pro.json "$ROOT/spine-sfml/cpp/data/"
- cp -f ../tank/export/tank-pro.skel "$ROOT/spine-sfml/cpp/data/"
- cp -f ../tank/export/tank-pma.atlas "$ROOT/spine-sfml/cpp/data/"
- cp -f ../tank/export/tank-pma.png "$ROOT/spine-sfml/cpp/data/"
- cp -f ../vine/export/vine-pro.json "$ROOT/spine-sfml/cpp/data/"
- cp -f ../vine/export/vine-pro.skel "$ROOT/spine-sfml/cpp/data/"
- cp -f ../vine/export/vine-pma.atlas "$ROOT/spine-sfml/cpp/data/"
- cp -f ../vine/export/vine-pma.png "$ROOT/spine-sfml/cpp/data/"
- cp -f ../stretchyman/export/stretchyman-pro.json "$ROOT/spine-sfml/cpp/data/"
- cp -f ../stretchyman/export/stretchyman-pro.skel "$ROOT/spine-sfml/cpp/data/"
- cp -f ../stretchyman/export/stretchyman-pma.atlas "$ROOT/spine-sfml/cpp/data/"
- cp -f ../stretchyman/export/stretchyman-pma.png "$ROOT/spine-sfml/cpp/data/"
- cp -f ../owl/export/owl-pro.json "$ROOT/spine-sfml/cpp/data/"
- cp -f ../owl/export/owl-pro.skel "$ROOT/spine-sfml/cpp/data/"
- cp -f ../owl/export/owl-pma.atlas "$ROOT/spine-sfml/cpp/data/"
- cp -f ../owl/export/owl-pma.png "$ROOT/spine-sfml/cpp/data/"
- cp -f ../mix-and-match/export/mix-and-match-pro.json "$ROOT/spine-sfml/cpp/data/"
- cp -f ../mix-and-match/export/mix-and-match-pro.skel "$ROOT/spine-sfml/cpp/data/"
- cp -f ../mix-and-match/export/mix-and-match-pma.atlas "$ROOT/spine-sfml/cpp/data/"
- cp -f ../mix-and-match/export/mix-and-match-pma.png "$ROOT/spine-sfml/cpp/data/"
- cp -f ../sack/export/sack-pro.json "$ROOT/spine-sfml/cpp/data/"
- cp -f ../sack/export/sack-pro.skel "$ROOT/spine-sfml/cpp/data/"
- cp -f ../sack/export/sack-pma.atlas "$ROOT/spine-sfml/cpp/data/"
- cp -f ../sack/export/sack-pma.png "$ROOT/spine-sfml/cpp/data/"
- cp -f ../celestial-circus/export/* "$ROOT/spine-sfml/cpp/data/"
- cp -f ../snowglobe/export/* "$ROOT/spine-sfml/cpp/data/"
- cp -f ../cloud-pot/export/* "$ROOT/spine-sfml/cpp/data/"
- echo "spine-ts"
- rm "$ROOT/spine-ts/spine-webgl/example/assets/"*
- cp -f ../coin/export/coin-pro.json "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../coin/export/coin-pro.skel "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../coin/export/coin-pma.atlas "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../coin/export/coin-pma.png "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../cloud-pot/export/cloud-pot.json "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../cloud-pot/export/cloud-pot.skel "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../cloud-pot/export/cloud-pot-pma.atlas "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../cloud-pot/export/cloud-pot-pma.png "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../snowglobe/export/snowglobe-pro.json "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../snowglobe/export/snowglobe-pro.skel "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../snowglobe/export/snowglobe-pma* "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../goblins/export/goblins-pro.json "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../goblins/export/goblins-pro.skel "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../goblins/export/goblins-pma.atlas "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../goblins/export/goblins-pma.png "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../dragon/export/dragon-ess.json "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../dragon/export/dragon-ess.skel "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../dragon/export/dragon-pma.atlas "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../dragon/export/dragon-pma*.png "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../raptor/export/raptor-pro.json "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../raptor/export/raptor-pro.skel "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../raptor/export/raptor-pma.atlas "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../raptor/export/raptor-pma.png "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../spineboy/export/spineboy-pro.json "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../spineboy/export/spineboy-pro.skel "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../spineboy/export/spineboy-pma.atlas "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../spineboy/export/spineboy-pma.png "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../spineboy/export/spineboy.png "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../tank/export/tank-pro.json "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../tank/export/tank-pro.skel "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../tank/export/tank-pma.atlas "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../tank/export/tank-pma.png "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../vine/export/vine-pro.json "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../vine/export/vine-pro.skel "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../vine/export/vine-pma.atlas "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../vine/export/vine-pma.png "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../owl/export/owl-pro.json "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../owl/export/owl-pro.skel "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../owl/export/owl-pma.atlas "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../owl/export/owl-pma.png "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../stretchyman/export/stretchyman-pro.json "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../stretchyman/export/stretchyman-pro.skel "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../stretchyman/export/stretchyman-pma.atlas "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../stretchyman/export/stretchyman-pma.png "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../mix-and-match/export/mix-and-match-pro.json "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../mix-and-match/export/mix-and-match-pro.skel "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../mix-and-match/export/mix-and-match-pma.atlas "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../mix-and-match/export/mix-and-match-pma.png "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../sack/export/sack-pro.json "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../sack/export/sack-pro.skel "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../sack/export/sack-pma.atlas "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../sack/export/sack-pma.png "$ROOT/spine-ts/spine-webgl/example/assets/"
- cp -f ../celestial-circus/export/* "$ROOT/spine-ts/spine-webgl/example/assets/"
- rm "$ROOT/spine-ts/spine-canvas/example/assets/"*
- cp -f ../spineboy/export/spineboy-ess.json "$ROOT/spine-ts/spine-canvas/example/assets/"
- cp -f ../spineboy/export/spineboy.atlas "$ROOT/spine-ts/spine-canvas/example/assets/"
- cp -f ../spineboy/export/spineboy.png "$ROOT/spine-ts/spine-canvas/example/assets/"
- rm "$ROOT/spine-ts/spine-threejs/example/assets/"*
- cp -f ../raptor/export/raptor-pro.json "$ROOT/spine-ts/spine-threejs/example/assets/"
- cp -f ../raptor/export/raptor.atlas "$ROOT/spine-ts/spine-threejs/example/assets/"
- cp -f ../raptor/export/raptor.png "$ROOT/spine-ts/spine-threejs/example/assets/"
- rm "$ROOT/spine-ts/spine-player/example/assets/"*
- cp -f ../raptor/export/raptor-pro.json "$ROOT/spine-ts/spine-player/example/assets/"
- cp -f ../raptor/export/raptor-pma.atlas "$ROOT/spine-ts/spine-player/example/assets/"
- cp -f ../raptor/export/raptor-pma.png "$ROOT/spine-ts/spine-player/example/assets/"
- cp -f ../spineboy/export/spineboy-pro.skel "$ROOT/spine-ts/spine-player/example/assets/"
- cp -f ../spineboy/export/spineboy-pma.atlas "$ROOT/spine-ts/spine-player/example/assets/"
- cp -f ../spineboy/export/spineboy-pma.png "$ROOT/spine-ts/spine-player/example/assets/"
- cp -f ../celestial-circus/export/* "$ROOT/spine-ts/spine-player/example/assets/"
- rm "$ROOT/spine-ts/spine-phaser/example/assets/"*
- cp -f ../raptor/export/raptor-pro.json "$ROOT/spine-ts/spine-phaser/example/assets/"
- cp -f ../raptor/export/raptor-pma.atlas "$ROOT/spine-ts/spine-phaser/example/assets/"
- cp -f ../raptor/export/raptor-pma.png "$ROOT/spine-ts/spine-phaser/example/assets/"
- cp -f ../spineboy/export/spineboy-pro.skel "$ROOT/spine-ts/spine-phaser/example/assets/"
- cp -f ../spineboy/export/spineboy-pma.atlas "$ROOT/spine-ts/spine-phaser/example/assets/"
- cp -f ../spineboy/export/spineboy-pma.png "$ROOT/spine-ts/spine-phaser/example/assets/"
- cp -f ../spineboy/export/spineboy-pro.skel "$ROOT/spine-ts/spine-phaser/example/typescript/assets/"
- cp -f ../spineboy/export/spineboy-pma.atlas "$ROOT/spine-ts/spine-phaser/example/typescript/assets/"
- cp -f ../spineboy/export/spineboy-pma.png "$ROOT/spine-ts/spine-phaser/example/typescript/assets/"
- cp -f ../coin/export/coin-pro.skel "$ROOT/spine-ts/spine-phaser/example/assets/"
- cp -f ../coin/export/coin-pma.atlas "$ROOT/spine-ts/spine-phaser/example/assets/"
- cp -f ../coin/export/coin-pma.png "$ROOT/spine-ts/spine-phaser/example/assets/"
- cp -f ../stretchyman/export/stretchyman-pro.skel "$ROOT/spine-ts/spine-phaser/example/assets/"
- cp -f ../stretchyman/export/stretchyman-pma.atlas "$ROOT/spine-ts/spine-phaser/example/assets/"
- cp -f ../stretchyman/export/stretchyman-pma.png "$ROOT/spine-ts/spine-phaser/example/assets/"
- cp -f ../mix-and-match/export/mix-and-match-pro.skel "$ROOT/spine-ts/spine-phaser/example/assets/"
- cp -f ../mix-and-match/export/mix-and-match-pma.atlas "$ROOT/spine-ts/spine-phaser/example/assets/"
- cp -f ../mix-and-match/export/mix-and-match-pma.png "$ROOT/spine-ts/spine-phaser/example/assets/"
- rm "$ROOT/spine-ts/spine-pixi/example/assets/"*
- cp -f ../raptor/export/raptor-pro.json "$ROOT/spine-ts/spine-pixi/example/assets/"
- cp -f ../raptor/export/raptor.atlas "$ROOT/spine-ts/spine-pixi/example/assets/"
- cp -f ../raptor/export/raptor.png "$ROOT/spine-ts/spine-pixi/example/assets/"
- cp -f ../spineboy/export/spineboy-pro.json "$ROOT/spine-ts/spine-pixi/example/assets/"
- cp -f ../spineboy/export/spineboy-pro.skel "$ROOT/spine-ts/spine-pixi/example/assets/"
- cp -f ../spineboy/export/spineboy-pma.atlas "$ROOT/spine-ts/spine-pixi/example/assets/"
- cp -f ../spineboy/export/spineboy-pma.png "$ROOT/spine-ts/spine-pixi/example/assets/"
- cp -f ../spineboy/export/spineboy.atlas "$ROOT/spine-ts/spine-pixi/example/assets/"
- cp -f ../spineboy/export/spineboy.png "$ROOT/spine-ts/spine-pixi/example/assets/"
- cp -f ../coin/export/coin-pro.skel "$ROOT/spine-ts/spine-pixi/example/assets/"
- cp -f ../coin/export/coin-pma.atlas "$ROOT/spine-ts/spine-pixi/example/assets/"
- cp -f ../coin/export/coin-pma.png "$ROOT/spine-ts/spine-pixi/example/assets/"
- cp -f ../stretchyman/export/stretchyman-pro.skel "$ROOT/spine-ts/spine-pixi/example/assets/"
- cp -f ../stretchyman/export/stretchyman-pma.atlas "$ROOT/spine-ts/spine-pixi/example/assets/"
- cp -f ../stretchyman/export/stretchyman-pma.png "$ROOT/spine-ts/spine-pixi/example/assets/"
- cp -f ../mix-and-match/export/mix-and-match-pro.skel "$ROOT/spine-ts/spine-pixi/example/assets/"
- cp -f ../mix-and-match/export/mix-and-match-pma.atlas "$ROOT/spine-ts/spine-pixi/example/assets/"
- cp -f ../mix-and-match/export/mix-and-match-pma.png "$ROOT/spine-ts/spine-pixi/example/assets/"
- cp -f ../celestial-circus/export/* "$ROOT/spine-ts/spine-pixi/example/assets/"
- cp -f ../cloud-pot/export/cloud-pot.json "$ROOT/spine-ts/spine-pixi/example/assets/"
- cp -f ../cloud-pot/export/cloud-pot.skel "$ROOT/spine-ts/spine-pixi/example/assets/"
- cp -f ../cloud-pot/export/cloud-pot-pma.atlas "$ROOT/spine-ts/spine-pixi/example/assets/"
- cp -f ../cloud-pot/export/cloud-pot-pma.png "$ROOT/spine-ts/spine-pixi/example/assets/"
- cp -f ../sack/export/sack-pro.json "$ROOT/spine-ts/spine-pixi/example/assets/"
- cp -f ../sack/export/sack-pro.skel "$ROOT/spine-ts/spine-pixi/example/assets/"
- cp -f ../sack/export/sack-pma.atlas "$ROOT/spine-ts/spine-pixi/example/assets/"
- cp -f ../sack/export/sack-pma.png "$ROOT/spine-ts/spine-pixi/example/assets/"
- cp -f ../snowglobe/export/snowglobe-pro.json "$ROOT/spine-ts/spine-pixi/example/assets/"
- cp -f ../snowglobe/export/snowglobe-pro.skel "$ROOT/spine-ts/spine-pixi/example/assets/"
- cp -f ../snowglobe/export/snowglobe-pma* "$ROOT/spine-ts/spine-pixi/example/assets/"
- echo "spine-monogame"
- rm "$ROOT/spine-monogame/spine-monogame-example/data/"*
- cp -f ../coin/export/coin-pro.json "$ROOT/spine-monogame/spine-monogame-example/data/"
- cp -f ../coin/export/coin-pro.skel "$ROOT/spine-monogame/spine-monogame-example/data/"
- cp -f ../coin/export/coin.atlas "$ROOT/spine-monogame/spine-monogame-example/data/"
- cp -f ../coin/export/coin.png "$ROOT/spine-monogame/spine-monogame-example/data/"
- cp -f ../raptor/export/raptor-pro.json "$ROOT/spine-monogame/spine-monogame-example/data/"
- # Note: normalmap need to be created manually. Thus we use a separately prepared atlas and
- # diffuse map so that the maps always match. These atlas textures are copied to the target dir.
- cp -f ../raptor/manual-maps/raptor.atlas "$ROOT/spine-monogame/spine-monogame-example/data/"
- cp -f ../raptor/manual-maps/raptor.png "$ROOT/spine-monogame/spine-monogame-example/data/"
- cp -f ../raptor/manual-maps/raptor-normals.png "$ROOT/spine-monogame/spine-monogame-example/data/raptor_normals.png"
- cp -f ../spineboy/export/spineboy-pro.skel "$ROOT/spine-monogame/spine-monogame-example/data/"
- cp -f ../spineboy/export/spineboy.atlas "$ROOT/spine-monogame/spine-monogame-example/data/"
- cp -f ../spineboy/export/spineboy.png "$ROOT/spine-monogame/spine-monogame-example/data/"
- cp -f ../tank/export/tank-pro.json "$ROOT/spine-monogame/spine-monogame-example/data/"
- cp -f ../tank/export/tank.atlas "$ROOT/spine-monogame/spine-monogame-example/data/"
- cp -f ../tank/export/tank.png "$ROOT/spine-monogame/spine-monogame-example/data/"
- cp -f ../mix-and-match/export/mix-and-match-pro.json "$ROOT/spine-monogame/spine-monogame-example/data/"
- cp -f ../mix-and-match/export/mix-and-match.atlas "$ROOT/spine-monogame/spine-monogame-example/data/"
- cp -f ../mix-and-match/export/mix-and-match.png "$ROOT/spine-monogame/spine-monogame-example/data/"
- cp -f ../celestial-circus/export/celestial-circus-pro.json "$ROOT/spine-monogame/spine-monogame-example/data/"
- cp -f ../celestial-circus/export/celestial-circus.atlas "$ROOT/spine-monogame/spine-monogame-example/data/"
- cp -f ../celestial-circus/export/celestial-circus.png "$ROOT/spine-monogame/spine-monogame-example/data/"
- cp -f ../snowglobe/export/snowglobe-pro.skel "$ROOT/spine-monogame/spine-monogame-example/data/"
- cp -f ../snowglobe/export/snowglobe.atlas "$ROOT/spine-monogame/spine-monogame-example/data/"
- cp -f ../snowglobe/export/snowglobe.png "$ROOT/spine-monogame/spine-monogame-example/data/"
- cp -f ../snowglobe/export/snowglobe_*.png "$ROOT/spine-monogame/spine-monogame-example/data/"
- cp -f ../cloud-pot/export/cloud-pot.skel "$ROOT/spine-monogame/spine-monogame-example/data/"
- cp -f ../cloud-pot/export/cloud-pot.atlas "$ROOT/spine-monogame/spine-monogame-example/data/"
- cp -f ../cloud-pot/export/cloud-pot.png "$ROOT/spine-monogame/spine-monogame-example/data/"
- echo "spine-haxe"
- rm "$ROOT/spine-haxe/example/assets/"*
- cp -f ../coin/export/coin-pro.json "$ROOT/spine-haxe/example/assets/"
- cp -f ../coin/export/coin-pro.skel "$ROOT/spine-haxe/example/assets/"
- cp -f ../coin/export/coin.atlas "$ROOT/spine-haxe/example/assets/"
- cp -f ../coin/export/coin.png "$ROOT/spine-haxe/example/assets/"
- cp -f ../goblins/export/goblins-pro.json "$ROOT/spine-haxe/example/assets/"
- cp -f ../goblins/export/goblins-pro.skel "$ROOT/spine-haxe/example/assets/"
- cp -f ../goblins/export/goblins.atlas "$ROOT/spine-haxe/example/assets/"
- cp -f ../goblins/export/goblins.png "$ROOT/spine-haxe/example/assets/"
- cp -f ../dragon/export/dragon-ess.json "$ROOT/spine-haxe/example/assets/"
- cp -f ../dragon/export/dragon-ess.skel "$ROOT/spine-haxe/example/assets/"
- cp -f ../dragon/export/dragon.atlas "$ROOT/spine-haxe/example/assets/"
- cp -f ../dragon/export/dragon*.png "$ROOT/spine-haxe/example/assets/"
- cp -f ../raptor/export/raptor-pro.json "$ROOT/spine-haxe/example/assets/"
- cp -f ../raptor/export/raptor-pro.skel "$ROOT/spine-haxe/example/assets/"
- cp -f ../raptor/export/raptor.atlas "$ROOT/spine-haxe/example/assets/"
- cp -f ../raptor/export/raptor.png "$ROOT/spine-haxe/example/assets/"
- cp -f ../spineboy/export/spineboy-pro.json "$ROOT/spine-haxe/example/assets/"
- cp -f ../spineboy/export/spineboy-pro.skel "$ROOT/spine-haxe/example/assets/"
- cp -f ../spineboy/export/spineboy.atlas "$ROOT/spine-haxe/example/assets/"
- cp -f ../spineboy/export/spineboy.png "$ROOT/spine-haxe/example/assets/"
- cp -f ../spineboy/export/spineboy.png "$ROOT/spine-haxe/example/assets/"
- cp -f ../tank/export/tank-pro.json "$ROOT/spine-haxe/example/assets/"
- cp -f ../tank/export/tank-pro.skel "$ROOT/spine-haxe/example/assets/"
- cp -f ../tank/export/tank.atlas "$ROOT/spine-haxe/example/assets/"
- cp -f ../tank/export/tank.png "$ROOT/spine-haxe/example/assets/"
- cp -f ../vine/export/vine-pro.json "$ROOT/spine-haxe/example/assets/"
- cp -f ../vine/export/vine-pro.skel "$ROOT/spine-haxe/example/assets/"
- cp -f ../vine/export/vine.atlas "$ROOT/spine-haxe/example/assets/"
- cp -f ../vine/export/vine.png "$ROOT/spine-haxe/example/assets/"
- cp -f ../owl/export/owl-pro.json "$ROOT/spine-haxe/example/assets/"
- cp -f ../owl/export/owl-pro.skel "$ROOT/spine-haxe/example/assets/"
- cp -f ../owl/export/owl.atlas "$ROOT/spine-haxe/example/assets/"
- cp -f ../owl/export/owl.png "$ROOT/spine-haxe/example/assets/"
- cp -f ../stretchyman/export/stretchyman-pro.json "$ROOT/spine-haxe/example/assets/"
- cp -f ../stretchyman/export/stretchyman-pro.skel "$ROOT/spine-haxe/example/assets/"
- cp -f ../stretchyman/export/stretchyman.atlas "$ROOT/spine-haxe/example/assets/"
- cp -f ../stretchyman/export/stretchyman.png "$ROOT/spine-haxe/example/assets/"
- cp -f ../mix-and-match/export/mix-and-match-pro.json "$ROOT/spine-haxe/example/assets/"
- cp -f ../mix-and-match/export/mix-and-match-pro.skel "$ROOT/spine-haxe/example/assets/"
- cp -f ../mix-and-match/export/mix-and-match.atlas "$ROOT/spine-haxe/example/assets/"
- cp -f ../mix-and-match/export/mix-and-match.png "$ROOT/spine-haxe/example/assets/"
- cp -f ../celestial-circus/export/* "$ROOT/spine-haxe/example/assets/"
- cp -f ../cloud-pot/export/cloud-pot.json "$ROOT/spine-haxe/example/assets/"
- cp -f ../cloud-pot/export/cloud-pot.skel "$ROOT/spine-haxe/example/assets/"
- cp -f ../cloud-pot/export/cloud-pot.atlas "$ROOT/spine-haxe/example/assets/"
- cp -f ../cloud-pot/export/cloud-pot.png "$ROOT/spine-haxe/example/assets/"
- cp -f ../sack/export/sack-pro.json "$ROOT/spine-haxe/example/assets/"
- cp -f ../sack/export/sack-pro.skel "$ROOT/spine-haxe/example/assets/"
- cp -f ../sack/export/sack.atlas "$ROOT/spine-haxe/example/assets/"
- cp -f ../sack/export/sack.png "$ROOT/spine-haxe/example/assets/"
- cp -f ../snowglobe/export/snowglobe-pro.json "$ROOT/spine-haxe/example/assets/"
- cp -f ../snowglobe/export/snowglobe-pro.skel "$ROOT/spine-haxe/example/assets/"
- cp -f ../snowglobe/export/snowglobe* "$ROOT/spine-haxe/example/assets/"
- echo "spine-ue"
- rm -f "$ROOT/spine-ue/Content/GettingStarted/Assets/Raptor/raptor.json"
- rm -f "$ROOT/spine-ue/Content/GettingStarted/Assets/Raptor/raptor-pro.json"
- rm -f "$ROOT/spine-ue/Content/GettingStarted/Assets/Raptor/raptor.atlas"
- rm -f "$ROOT/spine-ue/Content/GettingStarted/Assets/Raptor/raptor.png"
- rm -f "$ROOT/spine-ue/Content/GettingStarted/Assets/Spineboy/spineboy.json"
- rm -f "$ROOT/spine-ue/Content/GettingStarted/Assets/Spineboy/spineboy-pro.json"
- rm -f "$ROOT/spine-ue/Content/GettingStarted/Assets/Spineboy/spineboy.atlas"
- rm -f "$ROOT/spine-ue/Content/GettingStarted/Assets/Spineboy/spineboy.png"
- rm -f "$ROOT/spine-ue/Content/GettingStarted/Assets/mix-and-match/mix-and-match-pro.skel"
- rm -f "$ROOT/spine-ue/Content/GettingStarted/Assets/mix-and-match/mix-and-match-pro-skeleton.skel"
- rm -f "$ROOT/spine-ue/Content/GettingStarted/Assets/mix-and-match/mix-and-match-pro.atlas"
- rm -f "$ROOT/spine-ue/Content/GettingStarted/Assets/mix-and-match/mix-and-match-pro.png"
- cp -f ../raptor/export/raptor-pro.json "$ROOT/spine-ue/Content/GettingStarted/Assets/Raptor/raptor-pro.json"
- cp -f ../raptor/export/raptor.atlas "$ROOT/spine-ue/Content/GettingStarted/Assets/Raptor/"
- cp -f ../raptor/export/raptor.png "$ROOT/spine-ue/Content/GettingStarted/Assets/Raptor/"
- cp -f ../spineboy/export/spineboy-pro.json "$ROOT/spine-ue/Content/GettingStarted/Assets/Spineboy/spineboy-pro.json"
- cp -f ../spineboy/export/spineboy.atlas "$ROOT/spine-ue/Content/GettingStarted/Assets/Spineboy/"
- cp -f ../spineboy/export/spineboy.png "$ROOT/spine-ue/Content/GettingStarted/Assets/Spineboy/"
- cp -f ../mix-and-match/export/mix-and-match.png "$ROOT/spine-ue/Content/GettingStarted/Assets/mix-and-match/mix-and-match.png"
- cp -f ../mix-and-match/export/mix-and-match.atlas "$ROOT/spine-ue/Content/GettingStarted/Assets/mix-and-match/mix-and-match.atlas"
- cp -f ../mix-and-match/export/mix-and-match-pro.skel "$ROOT/spine-ue/Content/GettingStarted/Assets/mix-and-match/mix-and-match-pro.skel"
- echo "spine-unity"
- # Section of assets specific for the spine-unity runtime.
- UNITY_SOURCE_DIR=../spine-unity
- # On macOS, we need gsed for the -i switch to work. Check it's available
- # and error out otherwise.
- sed="sed"
- if [[ $OSTYPE == 'darwin'* ]]; then
- if [ ! -f "/opt/homebrew/bin/gsed" ]; then
- echo "macOS sed detected. Please install GNU sed via brew install gnu-sed"
- exit -1
- fi
- sed="/opt/homebrew/bin/gsed"
- fi
- # Do not delete everything in unity dirs, especially not .meta files.
- # Note: We copy the files following the existing naming scheme (e.g. goblins.json instead of goblins-pro.json)
- # to the unity assets directories. This requires to change the png file reference line in the atlas file.
- UNITY_TARGET_DIR="$ROOT/spine-unity/Assets/Spine Examples/Spine Skeletons/Dragon"
- cp -f ../dragon/export/dragon-ess.json "$UNITY_TARGET_DIR/dragon.json"
- cp -f ../dragon/export/dragon-pma.atlas "$UNITY_TARGET_DIR/dragon.atlas.txt"
- $sed -i "s/dragon-pma.png/dragon.png/g" "$UNITY_TARGET_DIR/dragon.atlas.txt"
- $sed -i "s/dragon-pma_2.png/dragon2.png/g" "$UNITY_TARGET_DIR/dragon.atlas.txt"
- $sed -i "s/dragon-pma_3.png/dragon3.png/g" "$UNITY_TARGET_DIR/dragon.atlas.txt"
- $sed -i "s/dragon-pma_4.png/dragon4.png/g" "$UNITY_TARGET_DIR/dragon.atlas.txt"
- $sed -i "s/dragon-pma_5.png/dragon5.png/g" "$UNITY_TARGET_DIR/dragon.atlas.txt"
- cp -f ../dragon/export/dragon-pma.png "$UNITY_TARGET_DIR/dragon.png"
- cp -f ../dragon/export/dragon-pma_2.png "$UNITY_TARGET_DIR/dragon2.png"
- cp -f ../dragon/export/dragon-pma_3.png "$UNITY_TARGET_DIR/dragon3.png"
- cp -f ../dragon/export/dragon-pma_4.png "$UNITY_TARGET_DIR/dragon4.png"
- cp -f ../dragon/export/dragon-pma_5.png "$UNITY_TARGET_DIR/dragon5.png"
- UNITY_TARGET_DIR="$ROOT/spine-unity/Assets/Spine Examples/Spine Skeletons/Goblins"
- cp -f ../goblins/export/goblins-pro.json "$UNITY_TARGET_DIR/goblins.json"
- cp -f ../goblins/export/goblins-pma.atlas "$UNITY_TARGET_DIR/goblins.atlas.txt"
- $sed -i 's/goblins-pma.png/goblins.png/g' "$UNITY_TARGET_DIR/goblins.atlas.txt"
- cp -f ../goblins/export/goblins-pma.png "$UNITY_TARGET_DIR/goblins.png"
- UNITY_TARGET_DIR="$ROOT/spine-unity/Assets/Spine Examples/Spine Skeletons/Hero"
- cp -f ../hero/export/hero-pro.json "$UNITY_TARGET_DIR/"
- cp -f ../hero/export/hero-pma.atlas "$UNITY_TARGET_DIR/hero-pro.atlas.txt"
- $sed -i 's/hero-pma.png/hero-pro.png/g' "$UNITY_TARGET_DIR/hero-pro.atlas.txt"
- cp -f ../hero/export/hero-pma.png "$UNITY_TARGET_DIR/hero-pro.png"
- UNITY_TARGET_DIR="$ROOT/spine-unity/Assets/Spine Examples/Spine Skeletons/raptor-pro-and-mask"
- cp -f ../raptor/export/raptor-pro.json "$UNITY_TARGET_DIR/raptor-pro.json"
- cp -f ../raptor/export/raptor-pma.atlas "$UNITY_TARGET_DIR/raptor-pma.atlas.txt"
- cp -f ../raptor/export/raptor-pma.png "$UNITY_TARGET_DIR/raptor-pma.png"
- # URP packages
- UNITY_TARGET_DIR="$ROOT/spine-unity/Modules/com.esotericsoftware.spine.urp-shaders/Samples~/Examples/2D/Spine Skeletons/RaptorURP"
- cp -f ../raptor/export/raptor-pro.json "$UNITY_TARGET_DIR/"
- cp -f ../raptor/manual-maps/raptor.atlas "$UNITY_TARGET_DIR/raptor.atlas.txt"
- cp -f ../raptor/manual-maps/raptor.png "$UNITY_TARGET_DIR/"
- cp -f ../raptor/manual-maps/raptor-rim-mask.png "$UNITY_TARGET_DIR/"
- UNITY_TARGET_DIR="$ROOT/spine-unity/Modules/com.esotericsoftware.spine.urp-shaders/Samples~/Examples/3D/Spine Skeletons/RaptorURP"
- cp -f ../raptor/export/raptor-pro.json "$UNITY_TARGET_DIR/"
- cp -f ../raptor/export/raptor.atlas "$UNITY_TARGET_DIR/raptor.atlas.txt"
- cp -f ../raptor/export/raptor.png "$UNITY_TARGET_DIR/"
- UNITY_TARGET_DIR="$ROOT/spine-unity/Modules/com.esotericsoftware.spine.lwrp-shaders/Spine Skeletons/RaptorLWRP"
- cp -f ../raptor/export/raptor-pro.json "$UNITY_TARGET_DIR/"
- cp -f ../raptor/export/raptor.atlas "$UNITY_TARGET_DIR/raptor.atlas.txt"
- cp -f ../raptor/export/raptor.png "$UNITY_TARGET_DIR/"
- UNITY_TARGET_DIR="$ROOT/spine-unity/Assets/Spine Examples/Spine Skeletons/spineboy-pro"
- cp -f ../spineboy/export/spineboy-pro.json "$UNITY_TARGET_DIR/spineboy-pro.json"
- cp -f ../spineboy/export/spineboy-pma.atlas "$UNITY_TARGET_DIR/spineboy-pro.atlas.txt"
- $sed -i 's/spineboy-pma.png/spineboy-pro.png/g' "$UNITY_TARGET_DIR/spineboy-pro.atlas.txt"
- cp -f ../spineboy/export/spineboy-pma.png "$UNITY_TARGET_DIR/spineboy-pro.png"
- UNITY_TARGET_DIR="$ROOT/spine-unity/Assets/Spine Examples/Spine Skeletons/mix-and-match"
- cp -f ../mix-and-match/export/mix-and-match-pro.json "$UNITY_TARGET_DIR/"
- cp -f ../mix-and-match/export/mix-and-match-pma.atlas "$UNITY_TARGET_DIR/mix-and-match-pma.atlas.txt"
- cp -f ../mix-and-match/export/mix-and-match-pma.png "$UNITY_TARGET_DIR/"
- UNITY_TARGET_DIR="$ROOT/spine-unity/Assets/Spine Examples/Spine Skeletons/Stretchyman"
- cp -f ../stretchyman/export/stretchyman-pro.json "$UNITY_TARGET_DIR/stretchyman.json"
- # Note: normalmap and emissionmap need to be created manually. Thus we use a separately prepared
- # atlas and diffuse map here so that the maps always match. These atlas textures are copied to the target dir.
- cp -f ../stretchyman/manual-maps/stretchyman-pma.atlas "$UNITY_TARGET_DIR/stretchyman-diffuse-pma.atlas.txt"
- $sed -i 's/stretchyman-pma.png/stretchyman-diffuse-pma.png/g' "$UNITY_TARGET_DIR/stretchyman-diffuse-pma.atlas.txt"
- cp -f ../stretchyman/manual-maps/stretchyman-pma.png "$UNITY_TARGET_DIR/stretchyman-diffuse-pma.png"
- cp -f ../stretchyman/manual-maps/stretchyman-normals.png "$UNITY_TARGET_DIR/"
- cp -f ../stretchyman/manual-maps/stretchyman-emission.png "$UNITY_TARGET_DIR/"
- # URP packages
- UNITY_TARGET_DIR="$ROOT/spine-unity/Modules/com.esotericsoftware.spine.urp-shaders/Samples~/Examples/2D/Spine Skeletons/StretchymanURP"
- cp -f ../stretchyman/export/stretchyman-pro.json "$UNITY_TARGET_DIR/stretchyman.json"
- cp -f ../stretchyman/manual-maps/stretchyman.atlas "$UNITY_TARGET_DIR/stretchyman.atlas.txt"
- cp -f ../stretchyman/manual-maps/stretchyman.png "$UNITY_TARGET_DIR/"
- cp -f ../stretchyman/manual-maps/stretchyman-normals.png "$UNITY_TARGET_DIR/"
- cp -f ../stretchyman/manual-maps/stretchyman-emission.png "$UNITY_TARGET_DIR/"
- cp -f ../stretchyman/manual-maps/stretchyman-rim-mask.png "$UNITY_TARGET_DIR/"
- UNITY_TARGET_DIR="$ROOT/spine-unity/Modules/com.esotericsoftware.spine.urp-shaders/Samples~/Examples/3D/Spine Skeletons/StretchymanURP"
- cp -f ../stretchyman/export/stretchyman-pro.json "$UNITY_TARGET_DIR/stretchyman.json"
- cp -f ../stretchyman/manual-maps/stretchyman.atlas "$UNITY_TARGET_DIR/stretchyman.atlas.txt"
- cp -f ../stretchyman/manual-maps/stretchyman.png "$UNITY_TARGET_DIR/"
- cp -f ../stretchyman/manual-maps/stretchyman-normals.png "$UNITY_TARGET_DIR/"
- cp -f ../stretchyman/manual-maps/stretchyman-emission.png "$UNITY_TARGET_DIR/"
- UNITY_TARGET_DIR="$ROOT/spine-unity/Modules/com.esotericsoftware.spine.lwrp-shaders/Spine Skeletons/StretchymanLWRP"
- cp -f ../stretchyman/export/stretchyman-pro.json "$UNITY_TARGET_DIR/stretchyman.json"
- cp -f ../stretchyman/manual-maps/stretchyman.atlas "$UNITY_TARGET_DIR/stretchyman.atlas.txt"
- cp -f ../stretchyman/manual-maps/stretchyman.png "$UNITY_TARGET_DIR/"
- cp -f ../stretchyman/manual-maps/stretchyman-normals.png "$UNITY_TARGET_DIR/"
- cp -f ../stretchyman/manual-maps/stretchyman-emission.png "$UNITY_TARGET_DIR/"
- UNITY_TARGET_DIR="$ROOT/spine-unity/Assets/Spine Examples/Spine Skeletons/Eyes"
- cp -f $UNITY_SOURCE_DIR/eyes/export/eyes.json "$UNITY_TARGET_DIR/eyes.json"
- cp -f $UNITY_SOURCE_DIR/eyes/export/eyes-pma.atlas "$UNITY_TARGET_DIR/eyes.atlas.txt"
- $sed -i 's/eyes-pma.png/eyes.png/g' "$UNITY_TARGET_DIR/eyes.atlas.txt"
- cp -f $UNITY_SOURCE_DIR/eyes/export/eyes-pma.png "$UNITY_TARGET_DIR/eyes.png"
- UNITY_TARGET_DIR="$ROOT/spine-unity/Assets/Spine Examples/Spine Skeletons/FootSoldier"
- cp -f $UNITY_SOURCE_DIR/footsoldier/export/footsoldier.json "$UNITY_TARGET_DIR/FootSoldier.json"
- cp -f $UNITY_SOURCE_DIR/footsoldier/export/footsoldier-pma.atlas "$UNITY_TARGET_DIR/FS_White.atlas.txt"
- $sed -i 's/footsoldier-pma.png/FS_White.png/g' "$UNITY_TARGET_DIR/FS_White.atlas.txt"
- cp -f $UNITY_SOURCE_DIR/footsoldier/export/footsoldier-pma.png "$UNITY_TARGET_DIR/FS_White.png"
- UNITY_TARGET_DIR="$ROOT/spine-unity/Assets/Spine Examples/Spine Skeletons/Gauge"
- cp -f $UNITY_SOURCE_DIR/gauge/export/gauge.json "$UNITY_TARGET_DIR/Gauge.json"
- cp -f $UNITY_SOURCE_DIR/gauge/export/gauge-pma.atlas "$UNITY_TARGET_DIR/Gauge.atlas.txt"
- $sed -i 's/gauge-pma.png/Gauge.png/g' "$UNITY_TARGET_DIR/Gauge.atlas.txt"
- cp -f $UNITY_SOURCE_DIR/gauge/export/gauge-pma.png "$UNITY_TARGET_DIR/Gauge.png"
- UNITY_TARGET_DIR="$ROOT/spine-unity/Assets/Spine Examples/Spine Skeletons/Raptor"
- cp -f $UNITY_SOURCE_DIR/raptor/export/raptor.json "$UNITY_TARGET_DIR/raptor.json"
- cp -f $UNITY_SOURCE_DIR/raptor/export/raptor-pma.atlas "$UNITY_TARGET_DIR/raptor.atlas.txt"
- $sed -i 's/raptor-pma.png/raptor.png/g' "$UNITY_TARGET_DIR/raptor.atlas.txt"
- cp -f $UNITY_SOURCE_DIR/raptor/export/raptor-pma.png "$UNITY_TARGET_DIR/raptor.png"
- UNITY_TARGET_DIR="$ROOT/spine-unity/Assets/Spine Examples/Spine Skeletons/Raggedy Spineboy"
- cp -f $UNITY_SOURCE_DIR/raggedyspineboy/export/raggedyspineboy.json "$UNITY_TARGET_DIR/raggedy spineboy.json"
- cp -f $UNITY_SOURCE_DIR/raggedyspineboy/export/raggedyspineboy-pma.atlas "$UNITY_TARGET_DIR/Raggedy Spineboy.atlas.txt"
- $sed -i 's/raggedyspineboy-pma.png/Raggedy Spineboy.png/g' "$UNITY_TARGET_DIR/Raggedy Spineboy.atlas.txt"
- cp -f $UNITY_SOURCE_DIR/raggedyspineboy/export/raggedyspineboy-pma.png "$UNITY_TARGET_DIR/Raggedy Spineboy.png"
- UNITY_TARGET_DIR="$ROOT/spine-unity/Assets/Spine Examples/Spine Skeletons/spineboy-pro"
- cp -f $UNITY_SOURCE_DIR/spineboy-pro/export/spineboy-pro.json "$UNITY_TARGET_DIR/spineboy-pro.json"
- cp -f $UNITY_SOURCE_DIR/spineboy-pro/export/spineboy-pma.atlas "$UNITY_TARGET_DIR/spineboy-pro.atlas.txt"
- $sed -i 's/spineboy-pma.png/spineboy-pro.png/g' "$UNITY_TARGET_DIR/spineboy-pro.atlas.txt"
- cp -f $UNITY_SOURCE_DIR/spineboy-pro/export/spineboy-pma.png "$UNITY_TARGET_DIR/spineboy-pro.png"
- UNITY_TARGET_DIR="$ROOT/spine-unity/Assets/Spine Examples/Spine Skeletons/spineboy-unity"
- cp -f $UNITY_SOURCE_DIR/spineboy-unity/export/spineboy-unity.json "$UNITY_TARGET_DIR/spineboy-unity.json"
- cp -f $UNITY_SOURCE_DIR/spineboy-unity/export/spineboy-pma.atlas "$UNITY_TARGET_DIR/spineboy.atlas.txt"
- $sed -i 's/spineboy-pma.png/spineboy.png/g' "$UNITY_TARGET_DIR/spineboy.atlas.txt"
- cp -f $UNITY_SOURCE_DIR/spineboy-unity/export/spineboy-pma.png "$UNITY_TARGET_DIR/spineboy.png"
- UNITY_TARGET_DIR="$ROOT/spine-unity/Assets/Spine Examples/Spine Skeletons/Spineunitygirl"
- cp -f $UNITY_SOURCE_DIR/spineunitygirl/export/doi.json "$UNITY_TARGET_DIR/Doi.json"
- cp -f $UNITY_SOURCE_DIR/spineunitygirl/export/doi-pma.atlas "$UNITY_TARGET_DIR/Doi.atlas.txt"
- $sed -i 's/doi-pma.png/Doi.png/g' "$UNITY_TARGET_DIR/Doi.atlas.txt"
- cp -f $UNITY_SOURCE_DIR/spineunitygirl/export/doi-pma.png "$UNITY_TARGET_DIR/Doi.png"
- UNITY_TARGET_DIR="$ROOT/spine-unity/Assets/Spine Examples/Spine Skeletons/Whirlyblendmodes"
- cp -f $UNITY_SOURCE_DIR/whirlyblendmodes/export/whirlyblendmodes.json "$UNITY_TARGET_DIR/whirlyblendmodes.json"
- cp -f $UNITY_SOURCE_DIR/whirlyblendmodes/export/whirlyblendmodes-pma.atlas "$UNITY_TARGET_DIR/whirlyblendmodes.atlas.txt"
- $sed -i 's/whirlyblendmodes-pma.png/whirlyblendmodes.png/g' "$UNITY_TARGET_DIR/whirlyblendmodes.atlas.txt"
- cp -f $UNITY_SOURCE_DIR/whirlyblendmodes/export/whirlyblendmodes-pma.png "$UNITY_TARGET_DIR/whirlyblendmodes.png"
- UNITY_TARGET_DIR="$ROOT/spine-unity/Assets/Spine Examples/Spine Skeletons/celestial-circus"
- cp -f ../celestial-circus/export/celestial-circus-pro.json "$UNITY_TARGET_DIR/"
- cp -f ../celestial-circus/export/celestial-circus-pma.atlas "$UNITY_TARGET_DIR/celestial-circus-pma.atlas.txt"
- cp -f ../celestial-circus/export/celestial-circus-pma*.png "$UNITY_TARGET_DIR/"
- UNITY_TARGET_DIR="$ROOT/spine-unity/Assets/Spine Examples/Spine Skeletons/snowglobe"
- cp -f ../snowglobe/export/snowglobe-pro.skel "$UNITY_TARGET_DIR/snowglobe-pro.skel.bytes"
- cp -f ../snowglobe/export/snowglobe-pma.atlas "$UNITY_TARGET_DIR/snowglobe-pma.atlas.txt"
- cp -f ../snowglobe/export/snowglobe-pma*.png "$UNITY_TARGET_DIR/"
- UNITY_TARGET_DIR="$ROOT/spine-unity/Assets/Spine Examples/Spine Skeletons/cloud-pot"
- cp -f ../cloud-pot/export/cloud-pot.skel "$UNITY_TARGET_DIR/cloud-pot.skel.bytes"
- cp -f ../cloud-pot/export/cloud-pot-pma.atlas "$UNITY_TARGET_DIR/cloud-pot-pma.atlas.txt"
- cp -f ../cloud-pot/export/cloud-pot-pma.png "$UNITY_TARGET_DIR/"
- UNITY_TARGET_DIR="$ROOT/spine-unity/Assets/Spine Examples/Spine Skeletons/sack"
- cp -f ../sack/export/sack-pro.skel "$UNITY_TARGET_DIR/sack-pro.skel.bytes"
- cp -f ../sack/export/sack-pma.atlas "$UNITY_TARGET_DIR/sack-pma.atlas.txt"
- cp -f ../sack/export/sack-pma.png "$UNITY_TARGET_DIR/"
- echo "--"
- echo "Note regarding spine-xna and spine-unity:"
- echo "Some textures (normalmap, emission, rim-mask) need manual update."
- echo "Please update the following maps when an atlas update is needed:"
- echo "[xna and unity] 'raptor/manual-maps' to match png in 'raptor/export/'"
- echo "[unity only] 'stretchyman/manual-maps' to match png in 'stretchyman/export/'"
- echo "If not updated, the old consistent file-set in the directory is used."
- echo "--"
|