diff --git a/mobs_birds/models/animal_gull.b3d b/mobs_birds/models/mobs_birds_gull.b3d similarity index 100% rename from mobs_birds/models/animal_gull.b3d rename to mobs_birds/models/mobs_birds_gull.b3d diff --git a/mobs_birds/src/change-to-codermobs-naming-as-tmp-codermobs.sh b/mobs_birds/src/change-to-codermobs-naming-as-tmp-codermobs.sh new file mode 100755 index 0000000..d9c62c7 --- /dev/null +++ b/mobs_birds/src/change-to-codermobs-naming-as-tmp-codermobs.sh @@ -0,0 +1,69 @@ +#!/bin/bash + +customDie() { + echo + echo + echo "ERROR:" + echo "$1" + echo + exit 1 +} + +if [ ! -d ../models ]; then + customDie "ERROR: Nothing done since no ../models" +fi +if [ ! -d ../textures ]; then + customDie "ERROR: Nothing done since no ../textures" +fi + +pushd .. + +if [ -d /tmp/codermobs ]; then + rm -Rf /tmp/codermobs || customDie "Cannot remove old /tmp/codermobs" +fi +mkdir /tmp/codermobs +# cp init.lua /tmp/codermobs/bird.lua || customDie "Cannot copy init.lua to /tmp/codermobs" +cp -R src /tmp/codermobs/ +mkdir /tmp/codermobs/models +mkdir /tmp/codermobs/textures + +pushd models || customDie "Cannot cd models" +cp mobs_birds_gull.b3d "/tmp/codermobs/models/codermobs_gull.b3d" +cp mobs_birds_thrush.b3d "/tmp/codermobs/models/codermobs_thrush.b3d" +popd + +pushd textures || customDie "Cannot cd textures" +cp animal_gull_mesh.png "/tmp/codermobs/textures/codermobs_gull_white.png" +cp gull_black.png "/tmp/codermobs/textures/codermobs_gull_black.png" +cp gull_gray.png "/tmp/codermobs/textures/codermobs_gull_gray.png" +cp gull_grayblue.png "/tmp/codermobs/textures/codermobs_gull_bluegray.png" +cp bird_blueish.png "/tmp/codermobs/textures/codermobs_bird_blue.png" +cp bird_brown.png "/tmp/codermobs/textures/codermobs_bird_brown.png" +cp bird_gray.png "/tmp/codermobs/textures/codermobs_bird_gray.png" +cp bird_grayblue.png "/tmp/codermobs/textures/codermobs_bird_bluegray.png" +cp bird_red.png "/tmp/codermobs/textures/codermobs_bird_red.png" +cp bird_redish.png "/tmp/codermobs/textures/codermobs_bird_redish.png" +popd + +#cd ../models +#mv mobs_birds_thrush.b3d codermobs_thrush.b3d +#mv mobs_birds_gull.b3d codermobs_gull.b3d +#cd ../textures +#mv mobs_birds_bird_blue.png codermobs_bird_blue.png +#mv mobs_birds_bird_brown.png codermobs_bird_brown.png +#mv mobs_birds_bird_gray.png codermobs_bird_gray.png +#mv mobs_birds_bird_bluegray.png codermobs_bird_bluegray.png +#mv mobs_birds_bird_red.png codermobs_bird_red.png +#mv mobs_birds_bird_redish.png codermobs_bird_redish.png +#mv mobs_birds_gull_white.png codermobs_gull_white.png +#mv mobs_birds_gull_black.png codermobs_gull_black.png +#mv mobs_birds_gull_gray.png codermobs_gull_gray.png +#mv mobs_birds_gull_bluegray.png codermobs_gull_bluegray.png + +echo "Now manually run:" +echo "diff \$my_bucket_game/mods/codermobs/codermobs /tmp/codermobs" +echo +echo "#or" +echo +echo "meld \$my_bucket_game/mods/codermobs/codermobs /tmp/codermobs" +echo "# * then turn off 'Same' and 'New' buttons, making sure 'Modified' is on." diff --git a/mobs_birds/src/change-to-standard-naming.sh b/mobs_birds/src/change-to-standard-naming.sh new file mode 100755 index 0000000..4d860d4 --- /dev/null +++ b/mobs_birds/src/change-to-standard-naming.sh @@ -0,0 +1,25 @@ +if [ ! -d ../models ]; then + echo "no ../models" + exit 1 +fi +if [ ! -d ../textures ]; then + echo "no ../textures" + exit 1 +fi + +cd ../models +# mv mobs_birds_thrush.b3d mobs_birds_thrush.b3d +mv animal_gull.b3d mobs_birds_gull.b3d +cd ../textures +mv bird_blueish.png mobs_birds_bird_blue.png # note naming pattern change +mv bird_brown.png mobs_birds_bird_brown.png +mv bird_gray.png mobs_birds_bird_gray.png +mv bird_grayblue.png mobs_birds_bird_bluegray.png # note naming pattern change +mv bird_red.png mobs_birds_bird_red.png +mv bird_redish.png mobs_birds_bird_redish.png +mv animal_gull_mesh.png mobs_birds_gull_white.png # note naming pattern change +mv gull_black.png mobs_birds_gull_black.png +mv gull_gray.png mobs_birds_gull_gray.png +mv gull_grayblue.png mobs_birds_gull_bluegray.png # note naming pattern change +# rm ../etc/gull-oldUVLayout.blend +# mv ../uvtest-64x64.png $HOME/ownCloud/Resources/Pictures/Maps/ diff --git a/mobs_birds/etc/gull-oldUVLayout.blend b/mobs_birds/src/gull-oldUVLayout.blend similarity index 100% rename from mobs_birds/etc/gull-oldUVLayout.blend rename to mobs_birds/src/gull-oldUVLayout.blend diff --git a/mobs_birds/etc/gull.blend b/mobs_birds/src/gull.blend similarity index 100% rename from mobs_birds/etc/gull.blend rename to mobs_birds/src/gull.blend diff --git a/mobs_birds/etc/textures-by-poikilos.xcf b/mobs_birds/src/mobs_birds-UVLayout2-poikilos.xcf similarity index 100% rename from mobs_birds/etc/textures-by-poikilos.xcf rename to mobs_birds/src/mobs_birds-UVLayout2-poikilos.xcf diff --git a/mobs_birds/etc/thrush.blend b/mobs_birds/src/thrush.blend similarity index 100% rename from mobs_birds/etc/thrush.blend rename to mobs_birds/src/thrush.blend diff --git a/mobs_birds/etc/uvtest-64x64.png b/mobs_birds/src/uvtest-64x64.png similarity index 100% rename from mobs_birds/etc/uvtest-64x64.png rename to mobs_birds/src/uvtest-64x64.png diff --git a/mobs_butterfly/textures/original/mobf_butterfly.png b/mobs_butterfly/src/mobf_butterfly.png similarity index 100% rename from mobs_butterfly/textures/original/mobf_butterfly.png rename to mobs_butterfly/src/mobf_butterfly.png