runtimes.sh 58 KB

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