runtimes.sh 53 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858
  1. #!/bin/sh
  2. set -e
  3. SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
  4. cd $SCRIPT_DIR
  5. ROOT=$SCRIPT_DIR/../..
  6. echo "Spine Runtimes path: $ROOT"
  7. echo "Copying assets to runtimes..."
  8. echo ""
  9. echo "spine-libgdx"
  10. rm "$ROOT/spine-libgdx/spine-libgdx-tests/assets/goblins/"*
  11. cp -f ../goblins/export/*.json "$ROOT/spine-libgdx/spine-libgdx-tests/assets/goblins/"
  12. cp -f ../goblins/export/*.skel "$ROOT/spine-libgdx/spine-libgdx-tests/assets/goblins/"
  13. cp -f ../goblins/export/*-pma.* "$ROOT/spine-libgdx/spine-libgdx-tests/assets/goblins/"
  14. rm "$ROOT/spine-libgdx/spine-libgdx-tests/assets/raptor/"*
  15. cp -f ../raptor/export/*.json "$ROOT/spine-libgdx/spine-libgdx-tests/assets/raptor/"
  16. cp -f ../raptor/export/*.skel "$ROOT/spine-libgdx/spine-libgdx-tests/assets/raptor/"
  17. cp -f ../raptor/export/*-pma.* "$ROOT/spine-libgdx/spine-libgdx-tests/assets/raptor/"
  18. rm "$ROOT/spine-libgdx/spine-libgdx-tests/assets/spineboy/"*
  19. cp -f ../spineboy/export/*.json "$ROOT/spine-libgdx/spine-libgdx-tests/assets/spineboy/"
  20. cp -r ../spineboy/export/*.skel "$ROOT/spine-libgdx/spine-libgdx-tests/assets/spineboy/"
  21. cp -r ../spineboy/export/*-pma.* "$ROOT/spine-libgdx/spine-libgdx-tests/assets/spineboy/"
  22. rm "$ROOT/spine-libgdx/spine-libgdx-tests/assets/coin/"*
  23. cp -f ../coin/export/*.json "$ROOT/spine-libgdx/spine-libgdx-tests/assets/coin/"
  24. cp -f ../coin/export/*.skel "$ROOT/spine-libgdx/spine-libgdx-tests/assets/coin/"
  25. cp -f ../coin/export/*-pma.* "$ROOT/spine-libgdx/spine-libgdx-tests/assets/coin/"
  26. rm -f "$ROOT/spine-libgdx/spine-libgdx-tests/assets/mix-and-match/"*
  27. cp -f ../mix-and-match/export/*.json "$ROOT/spine-libgdx/spine-libgdx-tests/assets/mix-and-match/"
  28. cp -f ../mix-and-match/export/*.skel "$ROOT/spine-libgdx/spine-libgdx-tests/assets/mix-and-match/"
  29. cp -f ../mix-and-match/export/*-pma.* "$ROOT/spine-libgdx/spine-libgdx-tests/assets/mix-and-match/"
  30. rm -f "$ROOT/spine-libgdx/spine-libgdx-tests/assets/sack/"*
  31. mkdir -p "$ROOT/spine-libgdx/spine-libgdx-tests/assets/sack/"
  32. cp -f ../sack/export/sack-pro.json "$ROOT/spine-libgdx/spine-libgdx-tests/assets/sack/"
  33. cp -f ../sack/export/sack-pro.skel "$ROOT/spine-libgdx/spine-libgdx-tests/assets/sack/"
  34. cp -f ../sack/export/sack-pma.atlas "$ROOT/spine-libgdx/spine-libgdx-tests/assets/sack/"
  35. cp -f ../sack/export/sack-pma.png "$ROOT/spine-libgdx/spine-libgdx-tests/assets/sack/"
  36. rm -f "$ROOT/spine-libgdx/spine-libgdx-tests/assets/celestial-circus/"*
  37. mkdir -p "$ROOT/spine-libgdx/spine-libgdx-tests/assets/celestial-circus/"
  38. cp -f ../celestial-circus/export/* "$ROOT/spine-libgdx/spine-libgdx-tests/assets/celestial-circus/"
  39. rm -f "$ROOT/spine-libgdx/spine-libgdx-tests/assets/snowglobe/"*
  40. mkdir -p "$ROOT/spine-libgdx/spine-libgdx-tests/assets/snowglobe/"
  41. cp -f ../snowglobe/export/* "$ROOT/spine-libgdx/spine-libgdx-tests/assets/snowglobe/"
  42. rm -f "$ROOT/spine-libgdx/spine-libgdx-tests/assets/cloud-pot/"*
  43. mkdir -p "$ROOT/spine-libgdx/spine-libgdx-tests/assets/cloud-pot/"
  44. cp -f ../cloud-pot/export/* "$ROOT/spine-libgdx/spine-libgdx-tests/assets/cloud-pot/"
  45. echo "spine-cocos2d-objc"
  46. rm "$ROOT/spine-cocos2d-objc/Resources/"*
  47. cp -f ../coin/export/coin-pro.json "$ROOT/spine-cocos2d-objc/Resources/"
  48. cp -f ../coin/export/coin.atlas "$ROOT/spine-cocos2d-objc/Resources/"
  49. cp -f ../coin/export/coin.png "$ROOT/spine-cocos2d-objc/Resources/"
  50. cp -f ../goblins/export/goblins-pro.json "$ROOT/spine-cocos2d-objc/Resources/"
  51. cp -f ../goblins/export/goblins.atlas "$ROOT/spine-cocos2d-objc/Resources/"
  52. cp -f ../goblins/export/goblins.png "$ROOT/spine-cocos2d-objc/Resources/"
  53. cp -f ../raptor/export/raptor-pro.json "$ROOT/spine-cocos2d-objc/Resources/"
  54. cp -f ../raptor/export/raptor.atlas "$ROOT/spine-cocos2d-objc/Resources/"
  55. cp -f ../raptor/export/raptor.png "$ROOT/spine-cocos2d-objc/Resources/"
  56. cp -f ../spineboy/export/spineboy-pro.json "$ROOT/spine-cocos2d-objc/Resources/"
  57. cp -f ../spineboy/export/spineboy.atlas "$ROOT/spine-cocos2d-objc/Resources/"
  58. cp -f ../spineboy/export/spineboy.png "$ROOT/spine-cocos2d-objc/Resources/"
  59. cp -f ../tank/export/tank-pro.json "$ROOT/spine-cocos2d-objc/Resources/"
  60. cp -f ../tank/export/tank.atlas "$ROOT/spine-cocos2d-objc/Resources/"
  61. cp -f ../tank/export/tank.png "$ROOT/spine-cocos2d-objc/Resources/"
  62. echo "spine-cocos2dx"
  63. rm -rf "$ROOT/spine-cocos2dx/example/Resources/common/"*
  64. cp -f ../dragon/export/dragon-ess.skel "$ROOT/spine-cocos2dx/example/Resources/common/"
  65. cp -f ../dragon/export/dragon-pma.atlas "$ROOT/spine-cocos2dx/example/Resources/common/"
  66. cp -f ../dragon/export/dragon-pma*.png "$ROOT/spine-cocos2dx/example/Resources/common/"
  67. cp -f ../coin/export/coin-pro.skel "$ROOT/spine-cocos2dx/example/Resources/common/"
  68. cp -f ../coin/export/coin.atlas "$ROOT/spine-cocos2dx/example/Resources/common/"
  69. cp -f ../coin/export/coin.png "$ROOT/spine-cocos2dx/example/Resources/common/"
  70. cp -f ../goblins/export/goblins-pro.json "$ROOT/spine-cocos2dx/example/Resources/common/"
  71. cp -f ../goblins/export/goblins.atlas "$ROOT/spine-cocos2dx/example/Resources/common/"
  72. cp -f ../goblins/export/goblins.png "$ROOT/spine-cocos2dx/example/Resources/common/"
  73. cp -f ../raptor/export/raptor-pro.json "$ROOT/spine-cocos2dx/example/Resources/common/"
  74. cp -f ../raptor/export/raptor.atlas "$ROOT/spine-cocos2dx/example/Resources/common/"
  75. cp -f ../raptor/export/raptor.png "$ROOT/spine-cocos2dx/example/Resources/common/"
  76. cp -f ../spineboy/export/spineboy-pro.json "$ROOT/spine-cocos2dx/example/Resources/common/"
  77. cp -f ../spineboy/export/spineboy.atlas "$ROOT/spine-cocos2dx/example/Resources/common/"
  78. cp -f ../spineboy/export/spineboy.png "$ROOT/spine-cocos2dx/example/Resources/common/"
  79. cp -f ../tank/export/tank-pro.skel "$ROOT/spine-cocos2dx/example/Resources/common/"
  80. cp -f ../tank/export/tank.atlas "$ROOT/spine-cocos2dx/example/Resources/common/"
  81. cp -f ../tank/export/tank.png "$ROOT/spine-cocos2dx/example/Resources/common/"
  82. cp -f ../mix-and-match/export/mix-and-match-pro.skel "$ROOT/spine-cocos2dx/example/Resources/common/"
  83. cp -f ../mix-and-match/export/mix-and-match.atlas "$ROOT/spine-cocos2dx/example/Resources/common/"
  84. cp -f ../mix-and-match/export/mix-and-match.png "$ROOT/spine-cocos2dx/example/Resources/common/"
  85. cp -f ../celestial-circus/export/celestial-circus-pro.skel "$ROOT/spine-cocos2dx/example/Resources/common/"
  86. cp -f ../celestial-circus/export/celestial-circus.atlas "$ROOT/spine-cocos2dx/example/Resources/common/"
  87. cp -f ../celestial-circus/export/celestial-circus.png "$ROOT/spine-cocos2dx/example/Resources/common/"
  88. echo "spine-flutter"
  89. rm -rf "$ROOT/spine-flutter/example/assets/"*
  90. cp -f ../spineboy/export/spineboy-pro.json "$ROOT/spine-flutter/example/assets/"
  91. cp -f ../spineboy/export/spineboy-pro.skel "$ROOT/spine-flutter/example/assets/"
  92. cp -f ../spineboy/export/spineboy.atlas "$ROOT/spine-flutter/example/assets/"
  93. cp -f ../spineboy/export/spineboy.png "$ROOT/spine-flutter/example/assets/"
  94. cp -f ../mix-and-match/export/mix-and-match-pro.skel "$ROOT/spine-flutter/example/assets/"
  95. cp -f ../mix-and-match/export/mix-and-match.atlas "$ROOT/spine-flutter/example/assets/"
  96. cp -f ../mix-and-match/export/mix-and-match.png "$ROOT/spine-flutter/example/assets/"
  97. cp -f ../dragon/export/dragon-ess.skel "$ROOT/spine-flutter/example/assets/"
  98. cp -f ../dragon/export/dragon.atlas "$ROOT/spine-flutter/example/assets/"
  99. cp -f ../dragon/export/dragon.png "$ROOT/spine-flutter/example/assets/"
  100. cp -f ../dragon/export/dragon_*.png "$ROOT/spine-flutter/example/assets/"
  101. cp -f ../celestial-circus/export/celestial-circus-pro.skel "$ROOT/spine-flutter/example/assets/"
  102. cp -f ../celestial-circus/export/celestial-circus.atlas "$ROOT/spine-flutter/example/assets/"
  103. cp -f ../celestial-circus/export/celestial-circus.png "$ROOT/spine-flutter/example/assets/"
  104. echo "spine-godot"
  105. rm -f "$ROOT"/spine-godot/example/assets/spineboy/*.atlas
  106. rm -f "$ROOT"/spine-godot/example/assets/spineboy/*.png
  107. rm -f "$ROOT"/spine-godot/example/assets/spineboy/*.spine-json
  108. rm -f "$ROOT"/spine-godot/example/assets/spineboy/*.skel
  109. rm -f "$ROOT"/spine-godot/example/assets/raptor/*.atlas
  110. rm -f "$ROOT"/spine-godot/example/assets/raptor/*.png
  111. rm -f "$ROOT"/spine-godot/example/assets/raptor/*.skel
  112. rm -f "$ROOT"/spine-godot/example/assets/mix-and-match/*.atlas
  113. rm -f "$ROOT"/spine-godot/example/assets/mix-and-match/*.png
  114. rm -f "$ROOT"/spine-godot/example/assets/mix-and-match/*.spine-json
  115. rm -f "$ROOT"/spine-godot/example/assets/mix-and-match/*.skel
  116. rm -f "$ROOT"/spine-godot/example/assets/raggedyspineboy/*.atlas
  117. rm -f "$ROOT"/spine-godot/example/assets/raggedyspineboy/*.png
  118. rm -f "$ROOT"/spine-godot/example/assets/raggedyspineboy/*.spine-json
  119. rm -f "$ROOT"/spine-godot/example/assets/celestial-circus/*.atlas
  120. rm -f "$ROOT"/spine-godot/example/assets/celestial-circus/*.png
  121. rm -f "$ROOT"/spine-godot/example/assets/celestial-circus/*.skel
  122. cp -f ../spineboy/export/spineboy-pro.json "$ROOT/spine-godot/example/assets/spineboy/spineboy-pro.spine-json"
  123. cp -f ../spineboy/export/spineboy-pro.skel "$ROOT/spine-godot/example/assets/spineboy/"
  124. cp -f ../spineboy/export/spineboy.atlas "$ROOT/spine-godot/example/assets/spineboy/"
  125. cp -f ../spineboy/export/spineboy.png "$ROOT/spine-godot/example/assets/spineboy/"
  126. 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"
  127. cp -f ../mix-and-match/export/mix-and-match.atlas "$ROOT/spine-godot/example/assets/mix-and-match/"
  128. cp -f ../mix-and-match/export/mix-and-match.png "$ROOT/spine-godot/example/assets/mix-and-match/"
  129. cp -f ../raptor/export/raptor-pro.skel "$ROOT/spine-godot/example/assets/raptor/"
  130. cp -f ../raptor/export/raptor.atlas "$ROOT/spine-godot/example/assets/raptor/"
  131. cp -f ../raptor/export/raptor.png "$ROOT/spine-godot/example/assets/raptor/"
  132. cp -f ../raptor/manual-maps/raptor-normals.png "$ROOT/spine-godot/example/assets/raptor/n_raptor.png"
  133. cp -f ../raptor/manual-maps/light-sprite.png "$ROOT/spine-godot/example/assets/raptor/light-sprite.png"
  134. cp -f ../celestial-circus/export/celestial-circus-pro.skel "$ROOT/spine-godot/example/assets/celestial-circus/celestial-circus.skel"
  135. cp -f ../celestial-circus/export/celestial-circus.atlas "$ROOT/spine-godot/example/assets/celestial-circus/"
  136. cp -f ../celestial-circus/export/celestial-circus.png "$ROOT/spine-godot/example/assets/celestial-circus/"
  137. rm -f "$ROOT"/spine-godot/example-v4/assets/spineboy/*.atlas
  138. rm -f "$ROOT"/spine-godot/example-v4/assets/spineboy/*.png
  139. rm -f "$ROOT"/spine-godot/example-v4/assets/spineboy/*.spine-json
  140. rm -f "$ROOT"/spine-godot/example-v4/assets/spineboy/*.skel
  141. rm -f "$ROOT"/spine-godot/example-v4/assets/raptor/*.atlas
  142. rm -f "$ROOT"/spine-godot/example-v4/assets/raptor/*.png
  143. rm -f "$ROOT"/spine-godot/example-v4/assets/raptor/*.skel
  144. rm -f "$ROOT"/spine-godot/example-v4/assets/mix-and-match/*.atlas
  145. rm -f "$ROOT"/spine-godot/example-v4/assets/mix-and-match/*.png
  146. rm -f "$ROOT"/spine-godot/example-v4/assets/mix-and-match/*.spine-json
  147. rm -f "$ROOT"/spine-godot/example-v4/assets/mix-and-match/*.skel
  148. rm -f "$ROOT"/spine-godot/example-v4/assets/raggedyspineboy/*.atlas
  149. rm -f "$ROOT"/spine-godot/example-v4/assets/raggedyspineboy/*.png
  150. rm -f "$ROOT"/spine-godot/example-v4/assets/raggedyspineboy/*.spine-json
  151. rm -f "$ROOT"/spine-godot/example-v4/assets/celestial-circus/*.atlas
  152. rm -f "$ROOT"/spine-godot/example-v4/assets/celestial-circus/*.png
  153. rm -f "$ROOT"/spine-godot/example-v4/assets/celestial-circus/*.skel
  154. cp -f ../spineboy/export/spineboy-pro.json "$ROOT/spine-godot/example-v4/assets/spineboy/spineboy-pro.spine-json"
  155. cp -f ../spineboy/export/spineboy-pro.skel "$ROOT/spine-godot/example-v4/assets/spineboy/"
  156. cp -f ../spineboy/export/spineboy.atlas "$ROOT/spine-godot/example-v4/assets/spineboy/"
  157. cp -f ../spineboy/export/spineboy.png "$ROOT/spine-godot/example-v4/assets/spineboy/"
  158. 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"
  159. cp -f ../mix-and-match/export/mix-and-match.atlas "$ROOT/spine-godot/example-v4/assets/mix-and-match/"
  160. cp -f ../mix-and-match/export/mix-and-match.png "$ROOT/spine-godot/example-v4/assets/mix-and-match/"
  161. cp -f ../raptor/export/raptor-pro.skel "$ROOT/spine-godot/example-v4/assets/raptor/"
  162. cp -f ../raptor/export/raptor.atlas "$ROOT/spine-godot/example-v4/assets/raptor/"
  163. cp -f ../raptor/export/raptor.png "$ROOT/spine-godot/example-v4/assets/raptor/"
  164. cp -f ../raptor/manual-maps/raptor-normals.png "$ROOT/spine-godot/example-v4/assets/raptor/n_raptor.png"
  165. cp -f ../raptor/manual-maps/light-sprite.png "$ROOT/spine-godot/example-v4/assets/raptor/light-sprite.png"
  166. cp -f ../celestial-circus/export/celestial-circus-pro.skel "$ROOT/spine-godot/example-v4/assets/celestial-circus/celestial-circus.skel"
  167. cp -f ../celestial-circus/export/celestial-circus.atlas "$ROOT/spine-godot/example-v4/assets/celestial-circus/"
  168. cp -f ../celestial-circus/export/celestial-circus.png "$ROOT/spine-godot/example-v4/assets/celestial-circus/"
  169. rm -f "$ROOT"/spine-godot/example-v4-csharp/assets/spineboy/*.atlas
  170. rm -f "$ROOT"/spine-godot/example-v4-csharp/assets/spineboy/*.png
  171. rm -f "$ROOT"/spine-godot/example-v4-csharp/assets/spineboy/*.spine-json
  172. rm -f "$ROOT"/spine-godot/example-v4-csharp/assets/spineboy/*.skel
  173. rm -f "$ROOT"/spine-godot/example-v4-csharp/assets/raptor/*.atlas
  174. rm -f "$ROOT"/spine-godot/example-v4-csharp/assets/raptor/*.png
  175. rm -f "$ROOT"/spine-godot/example-v4-csharp/assets/raptor/*.skel
  176. rm -f "$ROOT"/spine-godot/example-v4-csharp/assets/mix-and-match/*.atlas
  177. rm -f "$ROOT"/spine-godot/example-v4-csharp/assets/mix-and-match/*.png
  178. rm -f "$ROOT"/spine-godot/example-v4-csharp/assets/mix-and-match/*.spine-json
  179. rm -f "$ROOT"/spine-godot/example-v4-csharp/assets/mix-and-match/*.skel
  180. rm -f "$ROOT"/spine-godot/example-v4-csharp/assets/raggedyspineboy/*.atlas
  181. rm -f "$ROOT"/spine-godot/example-v4-csharp/assets/raggedyspineboy/*.png
  182. rm -f "$ROOT"/spine-godot/example-v4-csharp/assets/raggedyspineboy/*.spine-json
  183. rm -f "$ROOT"/spine-godot/example-v4-csharp/assets/celestial-circus/*.atlas
  184. rm -f "$ROOT"/spine-godot/example-v4-csharp/assets/celestial-circus/*.png
  185. rm -f "$ROOT"/spine-godot/example-v4-csharp/assets/celestial-circus/*.skel
  186. cp -f ../spineboy/export/spineboy-pro.json "$ROOT/spine-godot/example-v4-csharp/assets/spineboy/spineboy-pro.spine-json"
  187. cp -f ../spineboy/export/spineboy-pro.skel "$ROOT/spine-godot/example-v4-csharp/assets/spineboy/"
  188. cp -f ../spineboy/export/spineboy.atlas "$ROOT/spine-godot/example-v4-csharp/assets/spineboy/"
  189. cp -f ../spineboy/export/spineboy.png "$ROOT/spine-godot/example-v4-csharp/assets/spineboy/"
  190. 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"
  191. cp -f ../mix-and-match/export/mix-and-match.atlas "$ROOT/spine-godot/example-v4-csharp/assets/mix-and-match/"
  192. cp -f ../mix-and-match/export/mix-and-match.png "$ROOT/spine-godot/example-v4-csharp/assets/mix-and-match/"
  193. cp -f ../raptor/export/raptor-pro.skel "$ROOT/spine-godot/example-v4-csharp/assets/raptor/"
  194. cp -f ../raptor/export/raptor.atlas "$ROOT/spine-godot/example-v4-csharp/assets/raptor/"
  195. cp -f ../raptor/export/raptor.png "$ROOT/spine-godot/example-v4-csharp/assets/raptor/"
  196. cp -f ../raptor/manual-maps/raptor-normals.png "$ROOT/spine-godot/example-v4-csharp/assets/raptor/n_raptor.png"
  197. cp -f ../raptor/manual-maps/light-sprite.png "$ROOT/spine-godot/example-v4-csharp/assets/raptor/light-sprite.png"
  198. cp -f ../celestial-circus/export/celestial-circus-pro.skel "$ROOT/spine-godot/example-v4-csharp/assets/celestial-circus/celestial-circus.skel"
  199. cp -f ../celestial-circus/export/celestial-circus.atlas "$ROOT/spine-godot/example-v4-csharp/assets/celestial-circus/"
  200. cp -f ../celestial-circus/export/celestial-circus.png "$ROOT/spine-godot/example-v4-csharp/assets/celestial-circus/"
  201. echo "spine-sdl"
  202. rm -f "$ROOT/spine-sdl/data/"*
  203. cp -f ../spineboy/export/spineboy-pro.json "$ROOT/spine-sdl/data/"
  204. cp -f ../spineboy/export/spineboy.atlas "$ROOT/spine-sdl/data/"
  205. cp -f ../spineboy/export/spineboy.png "$ROOT/spine-sdl/data/"
  206. echo "spine-sfml-c"
  207. rm "$ROOT/spine-sfml/c/data/"*
  208. cp -f ../coin/export/coin-pro.json "$ROOT/spine-sfml/c/data/"
  209. cp -f ../coin/export/coin-pro.skel "$ROOT/spine-sfml/c/data/"
  210. cp -f ../coin/export/coin-pma.atlas "$ROOT/spine-sfml/c/data/"
  211. cp -f ../coin/export/coin-pma.png "$ROOT/spine-sfml/c/data/"
  212. cp -f ../dragon/export/dragon-ess.json "$ROOT/spine-sfml/c/data/"
  213. cp -f ../dragon/export/dragon-ess.skel "$ROOT/spine-sfml/c/data/"
  214. cp -f ../dragon/export/dragon-pma.atlas "$ROOT/spine-sfml/c/data/"
  215. cp -f ../dragon/export/dragon-pma*.png "$ROOT/spine-sfml/c/data/"
  216. cp -f ../goblins/export/goblins-pro.json "$ROOT/spine-sfml/c/data/"
  217. cp -f ../goblins/export/goblins-pro.skel "$ROOT/spine-sfml/c/data/"
  218. cp -f ../goblins/export/goblins-pma.atlas "$ROOT/spine-sfml/c/data/"
  219. cp -f ../goblins/export/goblins-pma.png "$ROOT/spine-sfml/c/data/"
  220. cp -f ../raptor/export/raptor-pro.json "$ROOT/spine-sfml/c/data/"
  221. cp -f ../raptor/export/raptor-pro.skel "$ROOT/spine-sfml/c/data/"
  222. cp -f ../raptor/export/raptor-pma.atlas "$ROOT/spine-sfml/c/data/"
  223. cp -f ../raptor/export/raptor-pma.png "$ROOT/spine-sfml/c/data/"
  224. cp -f ../spineboy/export/spineboy-pro.json "$ROOT/spine-sfml/c/data/"
  225. cp -f ../spineboy/export/spineboy-pro.skel "$ROOT/spine-sfml/c/data/"
  226. cp -f ../spineboy/export/spineboy-pma.atlas "$ROOT/spine-sfml/c/data/"
  227. cp -f ../spineboy/export/spineboy-pma.png "$ROOT/spine-sfml/c/data/"
  228. cp -f ../tank/export/tank-pro.json "$ROOT/spine-sfml/c/data/"
  229. cp -f ../tank/export/tank-pro.skel "$ROOT/spine-sfml/c/data/"
  230. cp -f ../tank/export/tank-pma.atlas "$ROOT/spine-sfml/c/data/"
  231. cp -f ../tank/export/tank-pma.png "$ROOT/spine-sfml/c/data/"
  232. cp -f ../vine/export/vine-pro.json "$ROOT/spine-sfml/c/data/"
  233. cp -f ../vine/export/vine-pro.skel "$ROOT/spine-sfml/c/data/"
  234. cp -f ../vine/export/vine-pma.atlas "$ROOT/spine-sfml/c/data/"
  235. cp -f ../vine/export/vine-pma.png "$ROOT/spine-sfml/c/data/"
  236. cp -f ../stretchyman/export/stretchyman-pro.json "$ROOT/spine-sfml/c/data/"
  237. cp -f ../stretchyman/export/stretchyman-pro.skel "$ROOT/spine-sfml/c/data/"
  238. cp -f ../stretchyman/export/stretchyman-pma.atlas "$ROOT/spine-sfml/c/data/"
  239. cp -f ../stretchyman/export/stretchyman-pma.png "$ROOT/spine-sfml/c/data/"
  240. cp -f ../owl/export/owl-pro.json "$ROOT/spine-sfml/c/data/"
  241. cp -f ../owl/export/owl-pro.skel "$ROOT/spine-sfml/c/data/"
  242. cp -f ../owl/export/owl-pma.atlas "$ROOT/spine-sfml/c/data/"
  243. cp -f ../owl/export/owl-pma.png "$ROOT/spine-sfml/c/data/"
  244. cp -f ../mix-and-match/export/mix-and-match-pro.json "$ROOT/spine-sfml/c/data/"
  245. cp -f ../mix-and-match/export/mix-and-match-pro.skel "$ROOT/spine-sfml/c/data/"
  246. cp -f ../mix-and-match/export/mix-and-match-pma.atlas "$ROOT/spine-sfml/c/data/"
  247. cp -f ../mix-and-match/export/mix-and-match-pma.png "$ROOT/spine-sfml/c/data/"
  248. cp -f ../sack/export/sack-pro.json "$ROOT/spine-sfml/c/data/"
  249. cp -f ../sack/export/sack-pro.skel "$ROOT/spine-sfml/c/data/"
  250. cp -f ../sack/export/sack-pma.atlas "$ROOT/spine-sfml/c/data/"
  251. cp -f ../sack/export/sack-pma.png "$ROOT/spine-sfml/c/data/"
  252. cp -f ../celestial-circus/export/* "$ROOT/spine-sfml/c/data/"
  253. cp -f ../snowglobe/export/* "$ROOT/spine-sfml/c/data/"
  254. cp -f ../cloud-pot/export/* "$ROOT/spine-sfml/c/data/"
  255. echo "spine-sfml-cpp"
  256. rm "$ROOT/spine-sfml/cpp/data/"*
  257. cp -f ../coin/export/coin-pro.json "$ROOT/spine-sfml/cpp/data/"
  258. cp -f ../coin/export/coin-pro.skel "$ROOT/spine-sfml/cpp/data/"
  259. cp -f ../coin/export/coin-pma.atlas "$ROOT/spine-sfml/cpp/data/"
  260. cp -f ../coin/export/coin-pma.png "$ROOT/spine-sfml/cpp/data/"
  261. cp -f ../dragon/export/dragon-ess.json "$ROOT/spine-sfml/cpp/data/"
  262. cp -f ../dragon/export/dragon-ess.skel "$ROOT/spine-sfml/cpp/data/"
  263. cp -f ../dragon/export/dragon-pma.atlas "$ROOT/spine-sfml/cpp/data/"
  264. cp -f ../dragon/export/dragon-pma*.png "$ROOT/spine-sfml/cpp/data/"
  265. cp -f ../goblins/export/goblins-pro.json "$ROOT/spine-sfml/cpp/data/"
  266. cp -f ../goblins/export/goblins-pro.skel "$ROOT/spine-sfml/cpp/data/"
  267. cp -f ../goblins/export/goblins-pma.atlas "$ROOT/spine-sfml/cpp/data/"
  268. cp -f ../goblins/export/goblins-pma.png "$ROOT/spine-sfml/cpp/data/"
  269. cp -f ../raptor/export/raptor-pro.json "$ROOT/spine-sfml/cpp/data/"
  270. cp -f ../raptor/export/raptor-pro.skel "$ROOT/spine-sfml/cpp/data/"
  271. cp -f ../raptor/export/raptor-pma.atlas "$ROOT/spine-sfml/cpp/data/"
  272. cp -f ../raptor/export/raptor-pma.png "$ROOT/spine-sfml/cpp/data/"
  273. cp -f ../spineboy/export/spineboy-pro.json "$ROOT/spine-sfml/cpp/data/"
  274. cp -f ../spineboy/export/spineboy-pro.skel "$ROOT/spine-sfml/cpp/data/"
  275. cp -f ../spineboy/export/spineboy-pma.atlas "$ROOT/spine-sfml/cpp/data/"
  276. cp -f ../spineboy/export/spineboy-pma.png "$ROOT/spine-sfml/cpp/data/"
  277. cp -f ../tank/export/tank-pro.json "$ROOT/spine-sfml/cpp/data/"
  278. cp -f ../tank/export/tank-pro.skel "$ROOT/spine-sfml/cpp/data/"
  279. cp -f ../tank/export/tank-pma.atlas "$ROOT/spine-sfml/cpp/data/"
  280. cp -f ../tank/export/tank-pma.png "$ROOT/spine-sfml/cpp/data/"
  281. cp -f ../vine/export/vine-pro.json "$ROOT/spine-sfml/cpp/data/"
  282. cp -f ../vine/export/vine-pro.skel "$ROOT/spine-sfml/cpp/data/"
  283. cp -f ../vine/export/vine-pma.atlas "$ROOT/spine-sfml/cpp/data/"
  284. cp -f ../vine/export/vine-pma.png "$ROOT/spine-sfml/cpp/data/"
  285. cp -f ../stretchyman/export/stretchyman-pro.json "$ROOT/spine-sfml/cpp/data/"
  286. cp -f ../stretchyman/export/stretchyman-pro.skel "$ROOT/spine-sfml/cpp/data/"
  287. cp -f ../stretchyman/export/stretchyman-pma.atlas "$ROOT/spine-sfml/cpp/data/"
  288. cp -f ../stretchyman/export/stretchyman-pma.png "$ROOT/spine-sfml/cpp/data/"
  289. cp -f ../owl/export/owl-pro.json "$ROOT/spine-sfml/cpp/data/"
  290. cp -f ../owl/export/owl-pro.skel "$ROOT/spine-sfml/cpp/data/"
  291. cp -f ../owl/export/owl-pma.atlas "$ROOT/spine-sfml/cpp/data/"
  292. cp -f ../owl/export/owl-pma.png "$ROOT/spine-sfml/cpp/data/"
  293. cp -f ../mix-and-match/export/mix-and-match-pro.json "$ROOT/spine-sfml/cpp/data/"
  294. cp -f ../mix-and-match/export/mix-and-match-pro.skel "$ROOT/spine-sfml/cpp/data/"
  295. cp -f ../mix-and-match/export/mix-and-match-pma.atlas "$ROOT/spine-sfml/cpp/data/"
  296. cp -f ../mix-and-match/export/mix-and-match-pma.png "$ROOT/spine-sfml/cpp/data/"
  297. cp -f ../sack/export/sack-pro.json "$ROOT/spine-sfml/cpp/data/"
  298. cp -f ../sack/export/sack-pro.skel "$ROOT/spine-sfml/cpp/data/"
  299. cp -f ../sack/export/sack-pma.atlas "$ROOT/spine-sfml/cpp/data/"
  300. cp -f ../sack/export/sack-pma.png "$ROOT/spine-sfml/cpp/data/"
  301. cp -f ../celestial-circus/export/* "$ROOT/spine-sfml/cpp/data/"
  302. cp -f ../snowglobe/export/* "$ROOT/spine-sfml/cpp/data/"
  303. cp -f ../cloud-pot/export/* "$ROOT/spine-sfml/cpp/data/"
  304. echo "spine-ts"
  305. rm "$ROOT/spine-ts/spine-webgl/example/assets/"*
  306. cp -f ../coin/export/coin-pro.json "$ROOT/spine-ts/spine-webgl/example/assets/"
  307. cp -f ../coin/export/coin-pro.skel "$ROOT/spine-ts/spine-webgl/example/assets/"
  308. cp -f ../coin/export/coin-pma.atlas "$ROOT/spine-ts/spine-webgl/example/assets/"
  309. cp -f ../coin/export/coin-pma.png "$ROOT/spine-ts/spine-webgl/example/assets/"
  310. cp -f ../cloud-pot/export/cloud-pot.json "$ROOT/spine-ts/spine-webgl/example/assets/"
  311. cp -f ../cloud-pot/export/cloud-pot.skel "$ROOT/spine-ts/spine-webgl/example/assets/"
  312. cp -f ../cloud-pot/export/cloud-pot-pma.atlas "$ROOT/spine-ts/spine-webgl/example/assets/"
  313. cp -f ../cloud-pot/export/cloud-pot-pma.png "$ROOT/spine-ts/spine-webgl/example/assets/"
  314. cp -f ../snowglobe/export/snowglobe-pro.json "$ROOT/spine-ts/spine-webgl/example/assets/"
  315. cp -f ../snowglobe/export/snowglobe-pro.skel "$ROOT/spine-ts/spine-webgl/example/assets/"
  316. cp -f ../snowglobe/export/snowglobe-pma* "$ROOT/spine-ts/spine-webgl/example/assets/"
  317. cp -f ../goblins/export/goblins-pro.json "$ROOT/spine-ts/spine-webgl/example/assets/"
  318. cp -f ../goblins/export/goblins-pro.skel "$ROOT/spine-ts/spine-webgl/example/assets/"
  319. cp -f ../goblins/export/goblins-pma.atlas "$ROOT/spine-ts/spine-webgl/example/assets/"
  320. cp -f ../goblins/export/goblins-pma.png "$ROOT/spine-ts/spine-webgl/example/assets/"
  321. cp -f ../dragon/export/dragon-ess.json "$ROOT/spine-ts/spine-webgl/example/assets/"
  322. cp -f ../dragon/export/dragon-ess.skel "$ROOT/spine-ts/spine-webgl/example/assets/"
  323. cp -f ../dragon/export/dragon-pma.atlas "$ROOT/spine-ts/spine-webgl/example/assets/"
  324. cp -f ../dragon/export/dragon-pma*.png "$ROOT/spine-ts/spine-webgl/example/assets/"
  325. cp -f ../raptor/export/raptor-pro.json "$ROOT/spine-ts/spine-webgl/example/assets/"
  326. cp -f ../raptor/export/raptor-pro.skel "$ROOT/spine-ts/spine-webgl/example/assets/"
  327. cp -f ../raptor/export/raptor-pma.atlas "$ROOT/spine-ts/spine-webgl/example/assets/"
  328. cp -f ../raptor/export/raptor-pma.png "$ROOT/spine-ts/spine-webgl/example/assets/"
  329. cp -f ../spineboy/export/spineboy-pro.json "$ROOT/spine-ts/spine-webgl/example/assets/"
  330. cp -f ../spineboy/export/spineboy-pro.skel "$ROOT/spine-ts/spine-webgl/example/assets/"
  331. cp -f ../spineboy/export/spineboy-pma.atlas "$ROOT/spine-ts/spine-webgl/example/assets/"
  332. cp -f ../spineboy/export/spineboy-pma.png "$ROOT/spine-ts/spine-webgl/example/assets/"
  333. cp -f ../spineboy/export/spineboy.png "$ROOT/spine-ts/spine-webgl/example/assets/"
  334. cp -f ../tank/export/tank-pro.json "$ROOT/spine-ts/spine-webgl/example/assets/"
  335. cp -f ../tank/export/tank-pro.skel "$ROOT/spine-ts/spine-webgl/example/assets/"
  336. cp -f ../tank/export/tank-pma.atlas "$ROOT/spine-ts/spine-webgl/example/assets/"
  337. cp -f ../tank/export/tank-pma.png "$ROOT/spine-ts/spine-webgl/example/assets/"
  338. cp -f ../vine/export/vine-pro.json "$ROOT/spine-ts/spine-webgl/example/assets/"
  339. cp -f ../vine/export/vine-pro.skel "$ROOT/spine-ts/spine-webgl/example/assets/"
  340. cp -f ../vine/export/vine-pma.atlas "$ROOT/spine-ts/spine-webgl/example/assets/"
  341. cp -f ../vine/export/vine-pma.png "$ROOT/spine-ts/spine-webgl/example/assets/"
  342. cp -f ../owl/export/owl-pro.json "$ROOT/spine-ts/spine-webgl/example/assets/"
  343. cp -f ../owl/export/owl-pro.skel "$ROOT/spine-ts/spine-webgl/example/assets/"
  344. cp -f ../owl/export/owl-pma.atlas "$ROOT/spine-ts/spine-webgl/example/assets/"
  345. cp -f ../owl/export/owl-pma.png "$ROOT/spine-ts/spine-webgl/example/assets/"
  346. cp -f ../stretchyman/export/stretchyman-pro.json "$ROOT/spine-ts/spine-webgl/example/assets/"
  347. cp -f ../stretchyman/export/stretchyman-pro.skel "$ROOT/spine-ts/spine-webgl/example/assets/"
  348. cp -f ../stretchyman/export/stretchyman-pma.atlas "$ROOT/spine-ts/spine-webgl/example/assets/"
  349. cp -f ../stretchyman/export/stretchyman-pma.png "$ROOT/spine-ts/spine-webgl/example/assets/"
  350. cp -f ../mix-and-match/export/mix-and-match-pro.json "$ROOT/spine-ts/spine-webgl/example/assets/"
  351. cp -f ../mix-and-match/export/mix-and-match-pro.skel "$ROOT/spine-ts/spine-webgl/example/assets/"
  352. cp -f ../mix-and-match/export/mix-and-match-pma.atlas "$ROOT/spine-ts/spine-webgl/example/assets/"
  353. cp -f ../mix-and-match/export/mix-and-match-pma.png "$ROOT/spine-ts/spine-webgl/example/assets/"
  354. cp -f ../sack/export/sack-pro.json "$ROOT/spine-ts/spine-webgl/example/assets/"
  355. cp -f ../sack/export/sack-pro.skel "$ROOT/spine-ts/spine-webgl/example/assets/"
  356. cp -f ../sack/export/sack-pma.atlas "$ROOT/spine-ts/spine-webgl/example/assets/"
  357. cp -f ../sack/export/sack-pma.png "$ROOT/spine-ts/spine-webgl/example/assets/"
  358. cp -f ../celestial-circus/export/* "$ROOT/spine-ts/spine-webgl/example/assets/"
  359. rm "$ROOT/spine-ts/spine-canvas/example/assets/"*
  360. cp -f ../spineboy/export/spineboy-ess.json "$ROOT/spine-ts/spine-canvas/example/assets/"
  361. cp -f ../spineboy/export/spineboy.atlas "$ROOT/spine-ts/spine-canvas/example/assets/"
  362. cp -f ../spineboy/export/spineboy.png "$ROOT/spine-ts/spine-canvas/example/assets/"
  363. rm "$ROOT/spine-ts/spine-threejs/example/assets/"*
  364. cp -f ../raptor/export/raptor-pro.json "$ROOT/spine-ts/spine-threejs/example/assets/"
  365. cp -f ../raptor/export/raptor.atlas "$ROOT/spine-ts/spine-threejs/example/assets/"
  366. cp -f ../raptor/export/raptor.png "$ROOT/spine-ts/spine-threejs/example/assets/"
  367. rm "$ROOT/spine-ts/spine-player/example/assets/"*
  368. cp -f ../raptor/export/raptor-pro.json "$ROOT/spine-ts/spine-player/example/assets/"
  369. cp -f ../raptor/export/raptor-pma.atlas "$ROOT/spine-ts/spine-player/example/assets/"
  370. cp -f ../raptor/export/raptor-pma.png "$ROOT/spine-ts/spine-player/example/assets/"
  371. cp -f ../spineboy/export/spineboy-pro.skel "$ROOT/spine-ts/spine-player/example/assets/"
  372. cp -f ../spineboy/export/spineboy-pma.atlas "$ROOT/spine-ts/spine-player/example/assets/"
  373. cp -f ../spineboy/export/spineboy-pma.png "$ROOT/spine-ts/spine-player/example/assets/"
  374. cp -f ../celestial-circus/export/* "$ROOT/spine-ts/spine-player/example/assets/"
  375. rm "$ROOT/spine-ts/spine-phaser/example/assets/"*
  376. cp -f ../raptor/export/raptor-pro.json "$ROOT/spine-ts/spine-phaser/example/assets/"
  377. cp -f ../raptor/export/raptor-pma.atlas "$ROOT/spine-ts/spine-phaser/example/assets/"
  378. cp -f ../raptor/export/raptor-pma.png "$ROOT/spine-ts/spine-phaser/example/assets/"
  379. cp -f ../spineboy/export/spineboy-pro.skel "$ROOT/spine-ts/spine-phaser/example/assets/"
  380. cp -f ../spineboy/export/spineboy-pma.atlas "$ROOT/spine-ts/spine-phaser/example/assets/"
  381. cp -f ../spineboy/export/spineboy-pma.png "$ROOT/spine-ts/spine-phaser/example/assets/"
  382. cp -f ../spineboy/export/spineboy-pro.skel "$ROOT/spine-ts/spine-phaser/example/typescript/assets/"
  383. cp -f ../spineboy/export/spineboy-pma.atlas "$ROOT/spine-ts/spine-phaser/example/typescript/assets/"
  384. cp -f ../spineboy/export/spineboy-pma.png "$ROOT/spine-ts/spine-phaser/example/typescript/assets/"
  385. cp -f ../coin/export/coin-pro.skel "$ROOT/spine-ts/spine-phaser/example/assets/"
  386. cp -f ../coin/export/coin-pma.atlas "$ROOT/spine-ts/spine-phaser/example/assets/"
  387. cp -f ../coin/export/coin-pma.png "$ROOT/spine-ts/spine-phaser/example/assets/"
  388. cp -f ../stretchyman/export/stretchyman-pro.skel "$ROOT/spine-ts/spine-phaser/example/assets/"
  389. cp -f ../stretchyman/export/stretchyman-pma.atlas "$ROOT/spine-ts/spine-phaser/example/assets/"
  390. cp -f ../stretchyman/export/stretchyman-pma.png "$ROOT/spine-ts/spine-phaser/example/assets/"
  391. cp -f ../mix-and-match/export/mix-and-match-pro.skel "$ROOT/spine-ts/spine-phaser/example/assets/"
  392. cp -f ../mix-and-match/export/mix-and-match-pma.atlas "$ROOT/spine-ts/spine-phaser/example/assets/"
  393. cp -f ../mix-and-match/export/mix-and-match-pma.png "$ROOT/spine-ts/spine-phaser/example/assets/"
  394. rm "$ROOT/spine-ts/spine-pixi/example/assets/"*
  395. cp -f ../raptor/export/raptor-pro.json "$ROOT/spine-ts/spine-pixi/example/assets/"
  396. cp -f ../raptor/export/raptor.atlas "$ROOT/spine-ts/spine-pixi/example/assets/"
  397. cp -f ../raptor/export/raptor.png "$ROOT/spine-ts/spine-pixi/example/assets/"
  398. cp -f ../spineboy/export/spineboy-pro.json "$ROOT/spine-ts/spine-pixi/example/assets/"
  399. cp -f ../spineboy/export/spineboy-pro.skel "$ROOT/spine-ts/spine-pixi/example/assets/"
  400. cp -f ../spineboy/export/spineboy-pma.atlas "$ROOT/spine-ts/spine-pixi/example/assets/"
  401. cp -f ../spineboy/export/spineboy-pma.png "$ROOT/spine-ts/spine-pixi/example/assets/"
  402. cp -f ../spineboy/export/spineboy.atlas "$ROOT/spine-ts/spine-pixi/example/assets/"
  403. cp -f ../spineboy/export/spineboy.png "$ROOT/spine-ts/spine-pixi/example/assets/"
  404. cp -f ../coin/export/coin-pro.skel "$ROOT/spine-ts/spine-pixi/example/assets/"
  405. cp -f ../coin/export/coin-pma.atlas "$ROOT/spine-ts/spine-pixi/example/assets/"
  406. cp -f ../coin/export/coin-pma.png "$ROOT/spine-ts/spine-pixi/example/assets/"
  407. cp -f ../stretchyman/export/stretchyman-pro.skel "$ROOT/spine-ts/spine-pixi/example/assets/"
  408. cp -f ../stretchyman/export/stretchyman-pma.atlas "$ROOT/spine-ts/spine-pixi/example/assets/"
  409. cp -f ../stretchyman/export/stretchyman-pma.png "$ROOT/spine-ts/spine-pixi/example/assets/"
  410. cp -f ../mix-and-match/export/mix-and-match-pro.skel "$ROOT/spine-ts/spine-pixi/example/assets/"
  411. cp -f ../mix-and-match/export/mix-and-match-pma.atlas "$ROOT/spine-ts/spine-pixi/example/assets/"
  412. cp -f ../mix-and-match/export/mix-and-match-pma.png "$ROOT/spine-ts/spine-pixi/example/assets/"
  413. cp -f ../celestial-circus/export/* "$ROOT/spine-ts/spine-pixi/example/assets/"
  414. cp -f ../cloud-pot/export/cloud-pot.json "$ROOT/spine-ts/spine-pixi/example/assets/"
  415. cp -f ../cloud-pot/export/cloud-pot.skel "$ROOT/spine-ts/spine-pixi/example/assets/"
  416. cp -f ../cloud-pot/export/cloud-pot-pma.atlas "$ROOT/spine-ts/spine-pixi/example/assets/"
  417. cp -f ../cloud-pot/export/cloud-pot-pma.png "$ROOT/spine-ts/spine-pixi/example/assets/"
  418. cp -f ../sack/export/sack-pro.json "$ROOT/spine-ts/spine-pixi/example/assets/"
  419. cp -f ../sack/export/sack-pro.skel "$ROOT/spine-ts/spine-pixi/example/assets/"
  420. cp -f ../sack/export/sack-pma.atlas "$ROOT/spine-ts/spine-pixi/example/assets/"
  421. cp -f ../sack/export/sack-pma.png "$ROOT/spine-ts/spine-pixi/example/assets/"
  422. cp -f ../snowglobe/export/snowglobe-pro.json "$ROOT/spine-ts/spine-pixi/example/assets/"
  423. cp -f ../snowglobe/export/snowglobe-pro.skel "$ROOT/spine-ts/spine-pixi/example/assets/"
  424. cp -f ../snowglobe/export/snowglobe-pma* "$ROOT/spine-ts/spine-pixi/example/assets/"
  425. echo "spine-monogame"
  426. rm "$ROOT/spine-monogame/spine-monogame-example/data/"*
  427. cp -f ../coin/export/coin-pro.json "$ROOT/spine-monogame/spine-monogame-example/data/"
  428. cp -f ../coin/export/coin-pro.skel "$ROOT/spine-monogame/spine-monogame-example/data/"
  429. cp -f ../coin/export/coin.atlas "$ROOT/spine-monogame/spine-monogame-example/data/"
  430. cp -f ../coin/export/coin.png "$ROOT/spine-monogame/spine-monogame-example/data/"
  431. cp -f ../raptor/export/raptor-pro.json "$ROOT/spine-monogame/spine-monogame-example/data/"
  432. # Note: normalmap need to be created manually. Thus we use a separately prepared atlas and
  433. # diffuse map so that the maps always match. These atlas textures are copied to the target dir.
  434. cp -f ../raptor/manual-maps/raptor.atlas "$ROOT/spine-monogame/spine-monogame-example/data/"
  435. cp -f ../raptor/manual-maps/raptor.png "$ROOT/spine-monogame/spine-monogame-example/data/"
  436. cp -f ../raptor/manual-maps/raptor-normals.png "$ROOT/spine-monogame/spine-monogame-example/data/raptor_normals.png"
  437. cp -f ../spineboy/export/spineboy-pro.skel "$ROOT/spine-monogame/spine-monogame-example/data/"
  438. cp -f ../spineboy/export/spineboy.atlas "$ROOT/spine-monogame/spine-monogame-example/data/"
  439. cp -f ../spineboy/export/spineboy.png "$ROOT/spine-monogame/spine-monogame-example/data/"
  440. cp -f ../tank/export/tank-pro.json "$ROOT/spine-monogame/spine-monogame-example/data/"
  441. cp -f ../tank/export/tank.atlas "$ROOT/spine-monogame/spine-monogame-example/data/"
  442. cp -f ../tank/export/tank.png "$ROOT/spine-monogame/spine-monogame-example/data/"
  443. cp -f ../mix-and-match/export/mix-and-match-pro.json "$ROOT/spine-monogame/spine-monogame-example/data/"
  444. cp -f ../mix-and-match/export/mix-and-match.atlas "$ROOT/spine-monogame/spine-monogame-example/data/"
  445. cp -f ../mix-and-match/export/mix-and-match.png "$ROOT/spine-monogame/spine-monogame-example/data/"
  446. cp -f ../celestial-circus/export/celestial-circus-pro.json "$ROOT/spine-monogame/spine-monogame-example/data/"
  447. cp -f ../celestial-circus/export/celestial-circus.atlas "$ROOT/spine-monogame/spine-monogame-example/data/"
  448. cp -f ../celestial-circus/export/celestial-circus.png "$ROOT/spine-monogame/spine-monogame-example/data/"
  449. cp -f ../snowglobe/export/snowglobe-pro.skel "$ROOT/spine-monogame/spine-monogame-example/data/"
  450. cp -f ../snowglobe/export/snowglobe.atlas "$ROOT/spine-monogame/spine-monogame-example/data/"
  451. cp -f ../snowglobe/export/snowglobe.png "$ROOT/spine-monogame/spine-monogame-example/data/"
  452. cp -f ../snowglobe/export/snowglobe_*.png "$ROOT/spine-monogame/spine-monogame-example/data/"
  453. cp -f ../cloud-pot/export/cloud-pot.skel "$ROOT/spine-monogame/spine-monogame-example/data/"
  454. cp -f ../cloud-pot/export/cloud-pot.atlas "$ROOT/spine-monogame/spine-monogame-example/data/"
  455. cp -f ../cloud-pot/export/cloud-pot.png "$ROOT/spine-monogame/spine-monogame-example/data/"
  456. echo "spine-haxe"
  457. rm "$ROOT/spine-haxe/example/assets/"*
  458. cp -f ../coin/export/coin-pro.json "$ROOT/spine-haxe/example/assets/"
  459. cp -f ../coin/export/coin-pro.skel "$ROOT/spine-haxe/example/assets/"
  460. cp -f ../coin/export/coin.atlas "$ROOT/spine-haxe/example/assets/"
  461. cp -f ../coin/export/coin.png "$ROOT/spine-haxe/example/assets/"
  462. cp -f ../goblins/export/goblins-pro.json "$ROOT/spine-haxe/example/assets/"
  463. cp -f ../goblins/export/goblins-pro.skel "$ROOT/spine-haxe/example/assets/"
  464. cp -f ../goblins/export/goblins.atlas "$ROOT/spine-haxe/example/assets/"
  465. cp -f ../goblins/export/goblins.png "$ROOT/spine-haxe/example/assets/"
  466. cp -f ../dragon/export/dragon-ess.json "$ROOT/spine-haxe/example/assets/"
  467. cp -f ../dragon/export/dragon-ess.skel "$ROOT/spine-haxe/example/assets/"
  468. cp -f ../dragon/export/dragon.atlas "$ROOT/spine-haxe/example/assets/"
  469. cp -f ../dragon/export/dragon*.png "$ROOT/spine-haxe/example/assets/"
  470. cp -f ../raptor/export/raptor-pro.json "$ROOT/spine-haxe/example/assets/"
  471. cp -f ../raptor/export/raptor-pro.skel "$ROOT/spine-haxe/example/assets/"
  472. cp -f ../raptor/export/raptor.atlas "$ROOT/spine-haxe/example/assets/"
  473. cp -f ../raptor/export/raptor.png "$ROOT/spine-haxe/example/assets/"
  474. cp -f ../spineboy/export/spineboy-pro.json "$ROOT/spine-haxe/example/assets/"
  475. cp -f ../spineboy/export/spineboy-pro.skel "$ROOT/spine-haxe/example/assets/"
  476. cp -f ../spineboy/export/spineboy.atlas "$ROOT/spine-haxe/example/assets/"
  477. cp -f ../spineboy/export/spineboy.png "$ROOT/spine-haxe/example/assets/"
  478. cp -f ../spineboy/export/spineboy.png "$ROOT/spine-haxe/example/assets/"
  479. cp -f ../tank/export/tank-pro.json "$ROOT/spine-haxe/example/assets/"
  480. cp -f ../tank/export/tank-pro.skel "$ROOT/spine-haxe/example/assets/"
  481. cp -f ../tank/export/tank.atlas "$ROOT/spine-haxe/example/assets/"
  482. cp -f ../tank/export/tank.png "$ROOT/spine-haxe/example/assets/"
  483. cp -f ../vine/export/vine-pro.json "$ROOT/spine-haxe/example/assets/"
  484. cp -f ../vine/export/vine-pro.skel "$ROOT/spine-haxe/example/assets/"
  485. cp -f ../vine/export/vine.atlas "$ROOT/spine-haxe/example/assets/"
  486. cp -f ../vine/export/vine.png "$ROOT/spine-haxe/example/assets/"
  487. cp -f ../owl/export/owl-pro.json "$ROOT/spine-haxe/example/assets/"
  488. cp -f ../owl/export/owl-pro.skel "$ROOT/spine-haxe/example/assets/"
  489. cp -f ../owl/export/owl.atlas "$ROOT/spine-haxe/example/assets/"
  490. cp -f ../owl/export/owl.png "$ROOT/spine-haxe/example/assets/"
  491. cp -f ../stretchyman/export/stretchyman-pro.json "$ROOT/spine-haxe/example/assets/"
  492. cp -f ../stretchyman/export/stretchyman-pro.skel "$ROOT/spine-haxe/example/assets/"
  493. cp -f ../stretchyman/export/stretchyman.atlas "$ROOT/spine-haxe/example/assets/"
  494. cp -f ../stretchyman/export/stretchyman.png "$ROOT/spine-haxe/example/assets/"
  495. cp -f ../mix-and-match/export/mix-and-match-pro.json "$ROOT/spine-haxe/example/assets/"
  496. cp -f ../mix-and-match/export/mix-and-match-pro.skel "$ROOT/spine-haxe/example/assets/"
  497. cp -f ../mix-and-match/export/mix-and-match.atlas "$ROOT/spine-haxe/example/assets/"
  498. cp -f ../mix-and-match/export/mix-and-match.png "$ROOT/spine-haxe/example/assets/"
  499. cp -f ../celestial-circus/export/* "$ROOT/spine-haxe/example/assets/"
  500. cp -f ../cloud-pot/export/cloud-pot.json "$ROOT/spine-haxe/example/assets/"
  501. cp -f ../cloud-pot/export/cloud-pot.skel "$ROOT/spine-haxe/example/assets/"
  502. cp -f ../cloud-pot/export/cloud-pot.atlas "$ROOT/spine-haxe/example/assets/"
  503. cp -f ../cloud-pot/export/cloud-pot.png "$ROOT/spine-haxe/example/assets/"
  504. cp -f ../sack/export/sack-pro.json "$ROOT/spine-haxe/example/assets/"
  505. cp -f ../sack/export/sack-pro.skel "$ROOT/spine-haxe/example/assets/"
  506. cp -f ../sack/export/sack.atlas "$ROOT/spine-haxe/example/assets/"
  507. cp -f ../sack/export/sack.png "$ROOT/spine-haxe/example/assets/"
  508. cp -f ../snowglobe/export/snowglobe-pro.json "$ROOT/spine-haxe/example/assets/"
  509. cp -f ../snowglobe/export/snowglobe-pro.skel "$ROOT/spine-haxe/example/assets/"
  510. cp -f ../snowglobe/export/snowglobe* "$ROOT/spine-haxe/example/assets/"
  511. echo "spine-ue"
  512. rm -f "$ROOT/spine-ue/Content/GettingStarted/Assets/Raptor/raptor.json"
  513. rm -f "$ROOT/spine-ue/Content/GettingStarted/Assets/Raptor/raptor-pro.json"
  514. rm -f "$ROOT/spine-ue/Content/GettingStarted/Assets/Raptor/raptor.atlas"
  515. rm -f "$ROOT/spine-ue/Content/GettingStarted/Assets/Raptor/raptor.png"
  516. rm -f "$ROOT/spine-ue/Content/GettingStarted/Assets/Spineboy/spineboy.json"
  517. rm -f "$ROOT/spine-ue/Content/GettingStarted/Assets/Spineboy/spineboy-pro.json"
  518. rm -f "$ROOT/spine-ue/Content/GettingStarted/Assets/Spineboy/spineboy.atlas"
  519. rm -f "$ROOT/spine-ue/Content/GettingStarted/Assets/Spineboy/spineboy.png"
  520. rm -f "$ROOT/spine-ue/Content/GettingStarted/Assets/mix-and-match/mix-and-match-pro.skel"
  521. rm -f "$ROOT/spine-ue/Content/GettingStarted/Assets/mix-and-match/mix-and-match-pro-skeleton.skel"
  522. rm -f "$ROOT/spine-ue/Content/GettingStarted/Assets/mix-and-match/mix-and-match-pro.atlas"
  523. rm -f "$ROOT/spine-ue/Content/GettingStarted/Assets/mix-and-match/mix-and-match-pro.png"
  524. cp -f ../raptor/export/raptor-pro.json "$ROOT/spine-ue/Content/GettingStarted/Assets/Raptor/raptor-pro.json"
  525. cp -f ../raptor/export/raptor.atlas "$ROOT/spine-ue/Content/GettingStarted/Assets/Raptor/"
  526. cp -f ../raptor/export/raptor.png "$ROOT/spine-ue/Content/GettingStarted/Assets/Raptor/"
  527. cp -f ../spineboy/export/spineboy-pro.json "$ROOT/spine-ue/Content/GettingStarted/Assets/Spineboy/spineboy-pro.json"
  528. cp -f ../spineboy/export/spineboy.atlas "$ROOT/spine-ue/Content/GettingStarted/Assets/Spineboy/"
  529. cp -f ../spineboy/export/spineboy.png "$ROOT/spine-ue/Content/GettingStarted/Assets/Spineboy/"
  530. cp -f ../mix-and-match/export/mix-and-match.png "$ROOT/spine-ue/Content/GettingStarted/Assets/mix-and-match/mix-and-match.png"
  531. cp -f ../mix-and-match/export/mix-and-match.atlas "$ROOT/spine-ue/Content/GettingStarted/Assets/mix-and-match/mix-and-match.atlas"
  532. 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"
  533. echo "spine-unity"
  534. # Section of assets specific for the spine-unity runtime.
  535. UNITY_SOURCE_DIR=../spine-unity
  536. # On macOS, we need gsed for the -i switch to work. Check it's available
  537. # and error out otherwise.
  538. sed="sed"
  539. if [[ $OSTYPE == 'darwin'* ]]; then
  540. if [ ! -f "/opt/homebrew/bin/gsed" ]; then
  541. echo "macOS sed detected. Please install GNU sed via brew install gnu-sed"
  542. exit -1
  543. fi
  544. sed="/opt/homebrew/bin/gsed"
  545. fi
  546. # Do not delete everything in unity dirs, especially not .meta files.
  547. # Note: We copy the files following the existing naming scheme (e.g. goblins.json instead of goblins-pro.json)
  548. # to the unity assets directories. This requires to change the png file reference line in the atlas file.
  549. UNITY_TARGET_DIR="$ROOT/spine-unity/Assets/Spine Examples/Spine Skeletons/Dragon"
  550. cp -f ../dragon/export/dragon-ess.json "$UNITY_TARGET_DIR/dragon.json"
  551. cp -f ../dragon/export/dragon-pma.atlas "$UNITY_TARGET_DIR/dragon.atlas.txt"
  552. $sed -i "s/dragon-pma.png/dragon.png/g" "$UNITY_TARGET_DIR/dragon.atlas.txt"
  553. $sed -i "s/dragon-pma_2.png/dragon2.png/g" "$UNITY_TARGET_DIR/dragon.atlas.txt"
  554. $sed -i "s/dragon-pma_3.png/dragon3.png/g" "$UNITY_TARGET_DIR/dragon.atlas.txt"
  555. $sed -i "s/dragon-pma_4.png/dragon4.png/g" "$UNITY_TARGET_DIR/dragon.atlas.txt"
  556. $sed -i "s/dragon-pma_5.png/dragon5.png/g" "$UNITY_TARGET_DIR/dragon.atlas.txt"
  557. cp -f ../dragon/export/dragon-pma.png "$UNITY_TARGET_DIR/dragon.png"
  558. cp -f ../dragon/export/dragon-pma_2.png "$UNITY_TARGET_DIR/dragon2.png"
  559. cp -f ../dragon/export/dragon-pma_3.png "$UNITY_TARGET_DIR/dragon3.png"
  560. cp -f ../dragon/export/dragon-pma_4.png "$UNITY_TARGET_DIR/dragon4.png"
  561. cp -f ../dragon/export/dragon-pma_5.png "$UNITY_TARGET_DIR/dragon5.png"
  562. UNITY_TARGET_DIR="$ROOT/spine-unity/Assets/Spine Examples/Spine Skeletons/Goblins"
  563. cp -f ../goblins/export/goblins-pro.json "$UNITY_TARGET_DIR/goblins.json"
  564. cp -f ../goblins/export/goblins-pma.atlas "$UNITY_TARGET_DIR/goblins.atlas.txt"
  565. $sed -i 's/goblins-pma.png/goblins.png/g' "$UNITY_TARGET_DIR/goblins.atlas.txt"
  566. cp -f ../goblins/export/goblins-pma.png "$UNITY_TARGET_DIR/goblins.png"
  567. UNITY_TARGET_DIR="$ROOT/spine-unity/Assets/Spine Examples/Spine Skeletons/Hero"
  568. cp -f ../hero/export/hero-pro.json "$UNITY_TARGET_DIR/"
  569. cp -f ../hero/export/hero-pma.atlas "$UNITY_TARGET_DIR/hero-pro.atlas.txt"
  570. $sed -i 's/hero-pma.png/hero-pro.png/g' "$UNITY_TARGET_DIR/hero-pro.atlas.txt"
  571. cp -f ../hero/export/hero-pma.png "$UNITY_TARGET_DIR/hero-pro.png"
  572. UNITY_TARGET_DIR="$ROOT/spine-unity/Assets/Spine Examples/Spine Skeletons/raptor-pro-and-mask"
  573. cp -f ../raptor/export/raptor-pro.json "$UNITY_TARGET_DIR/raptor-pro.json"
  574. cp -f ../raptor/export/raptor-pma.atlas "$UNITY_TARGET_DIR/raptor-pma.atlas.txt"
  575. cp -f ../raptor/export/raptor-pma.png "$UNITY_TARGET_DIR/raptor-pma.png"
  576. # URP packages
  577. UNITY_TARGET_DIR="$ROOT/spine-unity/Modules/com.esotericsoftware.spine.urp-shaders/Samples~/Examples/2D/Spine Skeletons/RaptorURP"
  578. cp -f ../raptor/export/raptor-pro.json "$UNITY_TARGET_DIR/"
  579. cp -f ../raptor/manual-maps/raptor.atlas "$UNITY_TARGET_DIR/raptor.atlas.txt"
  580. cp -f ../raptor/manual-maps/raptor.png "$UNITY_TARGET_DIR/"
  581. cp -f ../raptor/manual-maps/raptor-rim-mask.png "$UNITY_TARGET_DIR/"
  582. UNITY_TARGET_DIR="$ROOT/spine-unity/Modules/com.esotericsoftware.spine.urp-shaders/Samples~/Examples/3D/Spine Skeletons/RaptorURP"
  583. cp -f ../raptor/export/raptor-pro.json "$UNITY_TARGET_DIR/"
  584. cp -f ../raptor/export/raptor.atlas "$UNITY_TARGET_DIR/raptor.atlas.txt"
  585. cp -f ../raptor/export/raptor.png "$UNITY_TARGET_DIR/"
  586. UNITY_TARGET_DIR="$ROOT/spine-unity/Modules/com.esotericsoftware.spine.lwrp-shaders/Spine Skeletons/RaptorLWRP"
  587. cp -f ../raptor/export/raptor-pro.json "$UNITY_TARGET_DIR/"
  588. cp -f ../raptor/export/raptor.atlas "$UNITY_TARGET_DIR/raptor.atlas.txt"
  589. cp -f ../raptor/export/raptor.png "$UNITY_TARGET_DIR/"
  590. UNITY_TARGET_DIR="$ROOT/spine-unity/Assets/Spine Examples/Spine Skeletons/spineboy-pro"
  591. cp -f ../spineboy/export/spineboy-pro.json "$UNITY_TARGET_DIR/spineboy-pro.json"
  592. cp -f ../spineboy/export/spineboy-pma.atlas "$UNITY_TARGET_DIR/spineboy-pro.atlas.txt"
  593. $sed -i 's/spineboy-pma.png/spineboy-pro.png/g' "$UNITY_TARGET_DIR/spineboy-pro.atlas.txt"
  594. cp -f ../spineboy/export/spineboy-pma.png "$UNITY_TARGET_DIR/spineboy-pro.png"
  595. UNITY_TARGET_DIR="$ROOT/spine-unity/Assets/Spine Examples/Spine Skeletons/mix-and-match"
  596. cp -f ../mix-and-match/export/mix-and-match-pro.json "$UNITY_TARGET_DIR/"
  597. cp -f ../mix-and-match/export/mix-and-match-pma.atlas "$UNITY_TARGET_DIR/mix-and-match-pma.atlas.txt"
  598. cp -f ../mix-and-match/export/mix-and-match-pma.png "$UNITY_TARGET_DIR/"
  599. UNITY_TARGET_DIR="$ROOT/spine-unity/Assets/Spine Examples/Spine Skeletons/Stretchyman"
  600. cp -f ../stretchyman/export/stretchyman-pro.json "$UNITY_TARGET_DIR/stretchyman.json"
  601. # Note: normalmap and emissionmap need to be created manually. Thus we use a separately prepared
  602. # atlas and diffuse map here so that the maps always match. These atlas textures are copied to the target dir.
  603. cp -f ../stretchyman/manual-maps/stretchyman-pma.atlas "$UNITY_TARGET_DIR/stretchyman-diffuse-pma.atlas.txt"
  604. $sed -i 's/stretchyman-pma.png/stretchyman-diffuse-pma.png/g' "$UNITY_TARGET_DIR/stretchyman-diffuse-pma.atlas.txt"
  605. cp -f ../stretchyman/manual-maps/stretchyman-pma.png "$UNITY_TARGET_DIR/stretchyman-diffuse-pma.png"
  606. cp -f ../stretchyman/manual-maps/stretchyman-normals.png "$UNITY_TARGET_DIR/"
  607. cp -f ../stretchyman/manual-maps/stretchyman-emission.png "$UNITY_TARGET_DIR/"
  608. # URP packages
  609. UNITY_TARGET_DIR="$ROOT/spine-unity/Modules/com.esotericsoftware.spine.urp-shaders/Samples~/Examples/2D/Spine Skeletons/StretchymanURP"
  610. cp -f ../stretchyman/export/stretchyman-pro.json "$UNITY_TARGET_DIR/stretchyman.json"
  611. cp -f ../stretchyman/manual-maps/stretchyman.atlas "$UNITY_TARGET_DIR/stretchyman.atlas.txt"
  612. cp -f ../stretchyman/manual-maps/stretchyman.png "$UNITY_TARGET_DIR/"
  613. cp -f ../stretchyman/manual-maps/stretchyman-normals.png "$UNITY_TARGET_DIR/"
  614. cp -f ../stretchyman/manual-maps/stretchyman-emission.png "$UNITY_TARGET_DIR/"
  615. cp -f ../stretchyman/manual-maps/stretchyman-rim-mask.png "$UNITY_TARGET_DIR/"
  616. UNITY_TARGET_DIR="$ROOT/spine-unity/Modules/com.esotericsoftware.spine.urp-shaders/Samples~/Examples/3D/Spine Skeletons/StretchymanURP"
  617. cp -f ../stretchyman/export/stretchyman-pro.json "$UNITY_TARGET_DIR/stretchyman.json"
  618. cp -f ../stretchyman/manual-maps/stretchyman.atlas "$UNITY_TARGET_DIR/stretchyman.atlas.txt"
  619. cp -f ../stretchyman/manual-maps/stretchyman.png "$UNITY_TARGET_DIR/"
  620. cp -f ../stretchyman/manual-maps/stretchyman-normals.png "$UNITY_TARGET_DIR/"
  621. cp -f ../stretchyman/manual-maps/stretchyman-emission.png "$UNITY_TARGET_DIR/"
  622. UNITY_TARGET_DIR="$ROOT/spine-unity/Modules/com.esotericsoftware.spine.lwrp-shaders/Spine Skeletons/StretchymanLWRP"
  623. cp -f ../stretchyman/export/stretchyman-pro.json "$UNITY_TARGET_DIR/stretchyman.json"
  624. cp -f ../stretchyman/manual-maps/stretchyman.atlas "$UNITY_TARGET_DIR/stretchyman.atlas.txt"
  625. cp -f ../stretchyman/manual-maps/stretchyman.png "$UNITY_TARGET_DIR/"
  626. cp -f ../stretchyman/manual-maps/stretchyman-normals.png "$UNITY_TARGET_DIR/"
  627. cp -f ../stretchyman/manual-maps/stretchyman-emission.png "$UNITY_TARGET_DIR/"
  628. UNITY_TARGET_DIR="$ROOT/spine-unity/Assets/Spine Examples/Spine Skeletons/Eyes"
  629. cp -f $UNITY_SOURCE_DIR/eyes/export/eyes.json "$UNITY_TARGET_DIR/eyes.json"
  630. cp -f $UNITY_SOURCE_DIR/eyes/export/eyes-pma.atlas "$UNITY_TARGET_DIR/eyes.atlas.txt"
  631. $sed -i 's/eyes-pma.png/eyes.png/g' "$UNITY_TARGET_DIR/eyes.atlas.txt"
  632. cp -f $UNITY_SOURCE_DIR/eyes/export/eyes-pma.png "$UNITY_TARGET_DIR/eyes.png"
  633. UNITY_TARGET_DIR="$ROOT/spine-unity/Assets/Spine Examples/Spine Skeletons/FootSoldier"
  634. cp -f $UNITY_SOURCE_DIR/footsoldier/export/footsoldier.json "$UNITY_TARGET_DIR/FootSoldier.json"
  635. cp -f $UNITY_SOURCE_DIR/footsoldier/export/footsoldier-pma.atlas "$UNITY_TARGET_DIR/FS_White.atlas.txt"
  636. $sed -i 's/footsoldier-pma.png/FS_White.png/g' "$UNITY_TARGET_DIR/FS_White.atlas.txt"
  637. cp -f $UNITY_SOURCE_DIR/footsoldier/export/footsoldier-pma.png "$UNITY_TARGET_DIR/FS_White.png"
  638. UNITY_TARGET_DIR="$ROOT/spine-unity/Assets/Spine Examples/Spine Skeletons/Gauge"
  639. cp -f $UNITY_SOURCE_DIR/gauge/export/gauge.json "$UNITY_TARGET_DIR/Gauge.json"
  640. cp -f $UNITY_SOURCE_DIR/gauge/export/gauge-pma.atlas "$UNITY_TARGET_DIR/Gauge.atlas.txt"
  641. $sed -i 's/gauge-pma.png/Gauge.png/g' "$UNITY_TARGET_DIR/Gauge.atlas.txt"
  642. cp -f $UNITY_SOURCE_DIR/gauge/export/gauge-pma.png "$UNITY_TARGET_DIR/Gauge.png"
  643. UNITY_TARGET_DIR="$ROOT/spine-unity/Assets/Spine Examples/Spine Skeletons/Raptor"
  644. cp -f $UNITY_SOURCE_DIR/raptor/export/raptor.json "$UNITY_TARGET_DIR/raptor.json"
  645. cp -f $UNITY_SOURCE_DIR/raptor/export/raptor-pma.atlas "$UNITY_TARGET_DIR/raptor.atlas.txt"
  646. $sed -i 's/raptor-pma.png/raptor.png/g' "$UNITY_TARGET_DIR/raptor.atlas.txt"
  647. cp -f $UNITY_SOURCE_DIR/raptor/export/raptor-pma.png "$UNITY_TARGET_DIR/raptor.png"
  648. UNITY_TARGET_DIR="$ROOT/spine-unity/Assets/Spine Examples/Spine Skeletons/Raggedy Spineboy"
  649. cp -f $UNITY_SOURCE_DIR/raggedyspineboy/export/raggedyspineboy.json "$UNITY_TARGET_DIR/raggedy spineboy.json"
  650. cp -f $UNITY_SOURCE_DIR/raggedyspineboy/export/raggedyspineboy-pma.atlas "$UNITY_TARGET_DIR/Raggedy Spineboy.atlas.txt"
  651. $sed -i 's/raggedyspineboy-pma.png/Raggedy Spineboy.png/g' "$UNITY_TARGET_DIR/Raggedy Spineboy.atlas.txt"
  652. cp -f $UNITY_SOURCE_DIR/raggedyspineboy/export/raggedyspineboy-pma.png "$UNITY_TARGET_DIR/Raggedy Spineboy.png"
  653. UNITY_TARGET_DIR="$ROOT/spine-unity/Assets/Spine Examples/Spine Skeletons/spineboy-pro"
  654. cp -f $UNITY_SOURCE_DIR/spineboy-pro/export/spineboy-pro.json "$UNITY_TARGET_DIR/spineboy-pro.json"
  655. cp -f $UNITY_SOURCE_DIR/spineboy-pro/export/spineboy-pma.atlas "$UNITY_TARGET_DIR/spineboy-pro.atlas.txt"
  656. $sed -i 's/spineboy-pma.png/spineboy-pro.png/g' "$UNITY_TARGET_DIR/spineboy-pro.atlas.txt"
  657. cp -f $UNITY_SOURCE_DIR/spineboy-pro/export/spineboy-pma.png "$UNITY_TARGET_DIR/spineboy-pro.png"
  658. UNITY_TARGET_DIR="$ROOT/spine-unity/Assets/Spine Examples/Spine Skeletons/spineboy-unity"
  659. cp -f $UNITY_SOURCE_DIR/spineboy-unity/export/spineboy-unity.json "$UNITY_TARGET_DIR/spineboy-unity.json"
  660. cp -f $UNITY_SOURCE_DIR/spineboy-unity/export/spineboy-pma.atlas "$UNITY_TARGET_DIR/spineboy.atlas.txt"
  661. $sed -i 's/spineboy-pma.png/spineboy.png/g' "$UNITY_TARGET_DIR/spineboy.atlas.txt"
  662. cp -f $UNITY_SOURCE_DIR/spineboy-unity/export/spineboy-pma.png "$UNITY_TARGET_DIR/spineboy.png"
  663. UNITY_TARGET_DIR="$ROOT/spine-unity/Assets/Spine Examples/Spine Skeletons/Spineunitygirl"
  664. cp -f $UNITY_SOURCE_DIR/spineunitygirl/export/doi.json "$UNITY_TARGET_DIR/Doi.json"
  665. cp -f $UNITY_SOURCE_DIR/spineunitygirl/export/doi-pma.atlas "$UNITY_TARGET_DIR/Doi.atlas.txt"
  666. $sed -i 's/doi-pma.png/Doi.png/g' "$UNITY_TARGET_DIR/Doi.atlas.txt"
  667. cp -f $UNITY_SOURCE_DIR/spineunitygirl/export/doi-pma.png "$UNITY_TARGET_DIR/Doi.png"
  668. UNITY_TARGET_DIR="$ROOT/spine-unity/Assets/Spine Examples/Spine Skeletons/Whirlyblendmodes"
  669. cp -f $UNITY_SOURCE_DIR/whirlyblendmodes/export/whirlyblendmodes.json "$UNITY_TARGET_DIR/whirlyblendmodes.json"
  670. cp -f $UNITY_SOURCE_DIR/whirlyblendmodes/export/whirlyblendmodes-pma.atlas "$UNITY_TARGET_DIR/whirlyblendmodes.atlas.txt"
  671. $sed -i 's/whirlyblendmodes-pma.png/whirlyblendmodes.png/g' "$UNITY_TARGET_DIR/whirlyblendmodes.atlas.txt"
  672. cp -f $UNITY_SOURCE_DIR/whirlyblendmodes/export/whirlyblendmodes-pma.png "$UNITY_TARGET_DIR/whirlyblendmodes.png"
  673. UNITY_TARGET_DIR="$ROOT/spine-unity/Assets/Spine Examples/Spine Skeletons/celestial-circus"
  674. cp -f ../celestial-circus/export/celestial-circus-pro.json "$UNITY_TARGET_DIR/"
  675. cp -f ../celestial-circus/export/celestial-circus-pma.atlas "$UNITY_TARGET_DIR/celestial-circus-pma.atlas.txt"
  676. cp -f ../celestial-circus/export/celestial-circus-pma*.png "$UNITY_TARGET_DIR/"
  677. UNITY_TARGET_DIR="$ROOT/spine-unity/Assets/Spine Examples/Spine Skeletons/snowglobe"
  678. cp -f ../snowglobe/export/snowglobe-pro.skel "$UNITY_TARGET_DIR/snowglobe-pro.skel.bytes"
  679. cp -f ../snowglobe/export/snowglobe-pma.atlas "$UNITY_TARGET_DIR/snowglobe-pma.atlas.txt"
  680. cp -f ../snowglobe/export/snowglobe-pma*.png "$UNITY_TARGET_DIR/"
  681. UNITY_TARGET_DIR="$ROOT/spine-unity/Assets/Spine Examples/Spine Skeletons/cloud-pot"
  682. cp -f ../cloud-pot/export/cloud-pot.skel "$UNITY_TARGET_DIR/cloud-pot.skel.bytes"
  683. cp -f ../cloud-pot/export/cloud-pot-pma.atlas "$UNITY_TARGET_DIR/cloud-pot-pma.atlas.txt"
  684. cp -f ../cloud-pot/export/cloud-pot-pma.png "$UNITY_TARGET_DIR/"
  685. UNITY_TARGET_DIR="$ROOT/spine-unity/Assets/Spine Examples/Spine Skeletons/sack"
  686. cp -f ../sack/export/sack-pro.skel "$UNITY_TARGET_DIR/sack-pro.skel.bytes"
  687. cp -f ../sack/export/sack-pma.atlas "$UNITY_TARGET_DIR/sack-pma.atlas.txt"
  688. cp -f ../sack/export/sack-pma.png "$UNITY_TARGET_DIR/"
  689. echo "--"
  690. echo "Note regarding spine-xna and spine-unity:"
  691. echo "Some textures (normalmap, emission, rim-mask) need manual update."
  692. echo "Please update the following maps when an atlas update is needed:"
  693. echo "[xna and unity] 'raptor/manual-maps' to match png in 'raptor/export/'"
  694. echo "[unity only] 'stretchyman/manual-maps' to match png in 'stretchyman/export/'"
  695. echo "If not updated, the old consistent file-set in the directory is used."
  696. echo "--"