@aeriflame @spiceware @pikumalondon i'm doing almost the same thing in a bash script, using this command:

cat &lt;&lt; eof | tr -dc x_ | tr x_ 10 | sed -ne 's/\([01]\{8\}\)/=2;\1\n/pg' | bc | awk '{printf "%c", $1}' &gt;| sprites.bin

it convert the "_" and "x" to binary 0 / 1 :) https://t.co/6ouo07stqw