diff options
author | Feuerfuchs <git@feuerfuchs.dev> | 2019-09-24 18:23:24 +0200 |
---|---|---|
committer | Feuerfuchs <git@feuerfuchs.dev> | 2019-09-24 18:23:24 +0200 |
commit | 4f828f0867764d747f3d10ff1ecc9e927618f877 (patch) | |
tree | fb8833793ccea8675f312b5b6dc6bc1ed38ce837 /gen.sh | |
parent | bottompeek* -> lurk*, new: nomstrawberry, reachaww, santa, cute, bongostart, ... (diff) | |
download | blobfox-emojis-4f828f0867764d747f3d10ff1ecc9e927618f877.tar.gz blobfox-emojis-4f828f0867764d747f3d10ff1ecc9e927618f877.tar.bz2 blobfox-emojis-4f828f0867764d747f3d10ff1ecc9e927618f877.zip |
new: floof*, retsuko
Diffstat (limited to 'gen.sh')
-rwxr-xr-x | gen.sh | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -11,27 +11,25 @@ cp LICENSE export/ | |||
11 | cp export/* export_flip/ | 11 | cp export/* export_flip/ |
12 | 12 | ||
13 | cd export | 13 | cd export |
14 | apngasm blobfoxbongo.png blobfoxbongostart.png 1 2 | 14 | apngasm -o ablobfoxbongo.png blobfoxbongo.png 100 blobfoxbongostart.png 100 |
15 | 15 | ||
16 | FILELIST=`find . -type f -iname '*.png' -exec sh -c 'x=${0#./}; printf "%s:%s|" ${x%.png} $x' {} \;` | 16 | FILELIST=`find . -type f -iname '*.png' -exec sh -c 'x=${0#./}; printf "%s:%s|" ${x%.png} $x' {} \;` |
17 | jq -Rn 'input | split("|") | map(split(":") | { key: .[0], value: .[1] }) | from_entries' <<< "${FILELIST%|}" > blobfox.json | 17 | jq -Rn 'input | split("|") | map(split(":") | { key: .[0], value: .[1] }) | from_entries' <<< "${FILELIST%|}" > blobfox.json |
18 | 18 | ||
19 | zip blobfox.zip *.png | 19 | zip blobfox.zip *.png |
20 | zip blobfox.zip *.apng | ||
21 | zip blobfox.zip LICENSE | 20 | zip blobfox.zip LICENSE |
22 | CHECKSUM=`sha256sum -z blobfox.zip | awk '{ print $1 }'` | 21 | CHECKSUM=`sha256sum -z blobfox.zip | awk '{ print $1 }'` |
23 | 22 | ||
24 | cd ../export_flip | 23 | cd ../export_flip |
25 | apngasm blobfoxbongo.png blobfoxbongostart.png 1 2 | ||
26 | 24 | ||
27 | rm blobfoxsign*.png blobfoxconfused.png blobfoxbottompeek2.png blobfoxbreadsnoot*.png | 25 | rm blobfoxsign*.png blobfoxconfused.png blobfoxbottompeek2.png blobfoxbreadsnoot*.png |
28 | find . -type f -iname '*.png' -exec sh -c 'x=${0#./blobfox}; mv blobfox$x revblobfox$x' {} \; | 26 | find . -type f -iname '*.png' -exec sh -c 'x=${0#./blobfox}; mv blobfox$x revblobfox$x' {} \; |
29 | mogrify -flop *.png | 27 | mogrify -flop *.png |
28 | apngasm -o arevblobfoxbongo.png revblobfoxbongo.png 100 revblobfoxbongostart.png 100 | ||
30 | FILELIST=`find . -type f -iname '*.png' -exec sh -c 'x=${0#./}; printf "%s:%s|" ${x%.png} $x' {} \;` | 29 | FILELIST=`find . -type f -iname '*.png' -exec sh -c 'x=${0#./}; printf "%s:%s|" ${x%.png} $x' {} \;` |
31 | jq -Rn 'input | split("|") | map(split(":") | { key: .[0], value: .[1] }) | from_entries' <<< "${FILELIST%|}" > blobfox_flip.json | 30 | jq -Rn 'input | split("|") | map(split(":") | { key: .[0], value: .[1] }) | from_entries' <<< "${FILELIST%|}" > blobfox_flip.json |
32 | 31 | ||
33 | zip blobfox_flip.zip *.png | 32 | zip blobfox_flip.zip *.png |
34 | zip blobfox_flip.zip *.apng | ||
35 | zip blobfox_flip.zip LICENSE | 33 | zip blobfox_flip.zip LICENSE |
36 | CHECKSUM_FLIP=`sha256sum -z blobfox_flip.zip | awk '{ print $1 }'` | 34 | CHECKSUM_FLIP=`sha256sum -z blobfox_flip.zip | awk '{ print $1 }'` |
37 | 35 | ||