Hello,
As the title says, I’m trying to batch process multiple aseprite files flexibly in one go.
I’m wondering if its possible to achieve a batching system which allows for the following:
. Have Aseprite be located in a folder of its own.
. In a separate asset folder, have .aseprite files.
. Have a Batch File that can be run from anywhere.
. Have said batch file create .png files with the same name as the .aseprite file for all .aseprite files in the same asset folder (e.g. Walk.aseprite creating Walk1.png, Walk2.png etc. and Stand.aseprite creating Stand1.png, Stand2.png etc.)
. Being able to edit the batch file in a manner such that only changing the directory of the asset folder was required.
This way, you’d have a folder for character A and B, and you’d run the batch file once for each character to allow for .pngs of their animations.
I looked around and thought the following might work (credit to dacap for original code):
aseprite="G:\Desktop\Aseprite\aseprite.exe"
for file in G:\Desktop\Char_A\*.aseprite ; do
"$aseprite" -b $file --save-as *.png
done
However, nothing happens when the batch file is run.
I understand Aseprite does not have a batch processing feature at the moment, but is there a way to do this with a Batch File?
Thanks in advance!