Open ScobbyDoo opened 10 months ago
A preset uses the Copy/Paste format and there are codes in the preset that tell xLights how far away the effect was from the top-left effect in the selection when creating the effect. So when you apply a preset its basically the exact same as having copied the effects and hitting paste. So you can copy some effects and paste into Notepad and see the preset format.
Effects in a sequence (.xsq) file are in a lookup table. The model will have a number that indicates the effects lookup ID in that table. Also note that the effect entries can look rather short because to save space we don't record default settings so you will only see the settings from the effect that were changed away from the effects default values.
We don't document these formats so you would need to start digging into the code. I can't imagine any value in what it sounds like your doing.
Maybe a middle ground solution is this https://github.com/xLightsSequencer/xLights/issues/4298
I've created multiple projects in Xlights , what if i want to extract effects? From project file
From Extensions like .xml .xsq
For present file , there is group & name in xml format, & in .xsq file their is also tag for
What parameters should i crunch for extraction of full effects from all .xsq projects
I know their is naming conflicts,but I'll handle it & make simple python script that will scan all given path & extract that parameters & save in preset file
Or feature in xLights it self to export all effects as preset
Thanks