As you noticed, taglio
stands for taglio is another great lightsaber interface option!
It is yet, another program to write specific commands and sound files to polaris-opencore props microcontrollers, written in Python.
The main goal is to simply make a portable program that runs on most popular architectures and operating systems.
Clone the repository Using Git:
git clone https://github.com/f4iey/taglio.git
cd taglio
By downloading the source code as an archive:
curl -fLO https://github.com/f4iey/taglio/archive/refs/heads/main.zip
unzip main.zip
cd taglio-main
If you are not familiar with one of these below, just click the Download ZIP button under the Code
dropdown button.
To use this, you will of course need to have Python
installed on your system with the following dependencies:
Using pip:
pip install -r requirements.txt
If your python libraries are already coped with your package manager, it is recommended to install these two libs using it.
For the program itself, all info are available in the help section by running taglio
or python taglio.py
In addition, it is possible to flash the firmware by installing an optional dependency: tytools
Usage: taglio [OPTION] [PATHS TO FILES]
Options:
-h, --help show this help message and exit
-v, --verbose verbose display for debugging
-i, --info read saber FW version and ser no.
-l, --list list all files in the saber
--erase-all erase the serial flash
-p PORT, --port=PORT set the serial port (e.g /dev/ttyUSB0 or COM3)
-c COMMAND, --command=COMMAND
send raw serial command
-s, --sounds list config sound filenames
-S, --save save config in non-volatile memory
-R, --reset reset back to default FW config
-C WAVPATH, --convert=WAVPATH
convert all wav files to raw
--flash-hex=HEXFILE flash the target firmware
--set-color=COLOR sets a new color to target bank with decimal RGBW
format (e.g --set-color 255,127,0,15)
--get-color=COLORR reads the current color from target bank with decimal
RGBW format
--color-bank=BANK selects the target color bank (default 0)
--color-action=COLORACTION
selects the target color action (defaults to main)
--color-fetch reads all the colors from all banks for the target
action
--preview=PREVIEW color preview with decimal RGBW format (e.g --preview
255,127,0,15)
--switch-bank=SBANK switch the active color bank (0-7)
Wildcards and multiple entries are supported
taglio path/to/files/*.RAW
taglio path/to/file1.RAW
taglio path/to.file2.RAW