From f47dd3efa3763eb946564bd324873d53061e398f Mon Sep 17 00:00:00 2001 From: yum Date: Fri, 30 Sep 2022 21:59:08 -0700 Subject: Add line wrapping and support for arbitrarily long messages Add trivial line wrapping algorithm. Words are only added to a line if they don't put it over the column limit, and only broken if they alone exceed the column limit. Extend board size to 16x6, using 145 bits of parameter memory. Add simple generate.sh script, which generates everything needed to use the text-to-text board. --- generate.sh | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 generate.sh (limited to 'generate.sh') diff --git a/generate.sh b/generate.sh new file mode 100644 index 0000000..a476f24 --- /dev/null +++ b/generate.sh @@ -0,0 +1,27 @@ +#!/usr/bin/env bash + +set -o pipefail +set -o errexit +set -o xtrace + +echo 'Generating animations' + +./generate_animations + +echo 'Tab into unity and wait for it to import animations, then press enter.' +echo +echo 'This is necessary because the FX layer will reference animations by ' +echo 'their Unity GUID which is generated during import.' +read -r line + +echo 'Generating FX layer' + +./generate_fx.py > TaSTT_fx.controller + +echo 'Generating parameters' + +./generate_params.py > TaSTT_params.asset + +echo 'Done! Assign the parameters and fx layer, then upload.' + + -- cgit v1.2.3