I have two sets of aseprite files. They are actually a few small files I am using a script to pack together. One set is uniformly set apart, the other seems to be mixing the files into different sizes?
I bought the sprites off of itch and this is not my area of expertise. The list of files is from a file called path that just lists directories I want to look for files in.
export output_dir=$(pwd)
paths_to_process=()
for dir in $(cat paths_equip); do
paths_to_process+=(“$dir”)
done
ase_file=()
for dir in ${paths_to_process[@]}; do
ase_file+=($(ls $dir | grep aseprite | sed “s|^|$dir/|”))
done
aseprite -b “${ase_file[@]}”
-–sheet-pack \
-–sheet $output_dir/character_knight_atlas.png \
-–data $output_dir/character_knight_atlas.json \
-–list-tags \
-–filename-format “{title}_{frame}” \
echo “Sprites combined to $output_dir/character_knight_atlas.png”
