Godot App Pallette Parser #66
Labels
No labels
Core
Fixed
Godot
HardwareIssue
LEDS
Networking
Problem
SoftwareIssue
duplicate
enhancement
good first issue
help wanted
invalid
on hold
question
reminder
todo 🗒️
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
squatnet/ArduinoStuff#66
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I created a script to parse pallettes into the app exactly as they would be expected to be written for FastLEDS. on its first run the app detects that it doesnt know any pallettes and opens a text file from the internal app storage.
def_pallettes.txtit expects this file to contain pallettes written like this (note the semicolon after function definition closes, this is important)it will parse them, (dropping the first column) and add them to its internal pallette dictionary (basically converts them to JSON) with its name.
new pallettes can be added by creating a file in the user data directory called
user_pallettes.txtwhich is written in exactly the same way. pallettes with names which match an existing pallette will replace the exisiting pallette. the file is parsed by clicking the button in settings to parse pallettes ( you will need to reload an open device once new pallettes are parsed )