DiyLightAnimation

Software => Nutcracker: RGB Effects Builder => Topic started by: MrChristmas2000 on December 17, 2013,

Title: Export to LSP completition
Post by: MrChristmas2000 on December 17, 2013,
How do you know that Nutcracker has completed an export to a LSP user file?

The only message that is displayed is "Starting Export for LSP, Light Show Pro -LSP.

There is no indication that the export has ever completed.
Title: Re: Export to LSP completition
Post by: urthegman on December 17, 2013,
It's futile. I tried everything imaginable to get Nutcracker effects in LSP and was unable, Sean even tried to help me but we were unable to get anything going to make it work. I'm hoping someone makes me wrong on this as I would LOVE to be able to use Nutcracker effects in LSP because xlights is NOT an option due to the fact that I have video with each sequence.
Title: Re: Export to LSP completition
Post by: arw01 on December 17, 2013,
No help now, but I was thinking of spending the off months figuring out different conversions from Nutcracker to LSP macros, transitions etc.

I had a dickens of a  time with a simple chase in LSP and thought it would be helpful to many to have a "recipe' book or so of effects.

So which effect are you trying to bring over Mr. Christmas?
Title: Re: Export to LSP completition
Post by: keitha43 on December 18, 2013,
Interestingly the website version of Nutcracker used to work. I don't know why it quit working once it became a standalone program. Maybe v2.8 LSP changed something. Maybe in the rewrite of LSP's sequencer in 2014 will allow it to work again.
Title: Re: Export to LSP completition
Post by: MrChristmas2000 on December 18, 2013,
You are not allowed to view links. Register or Login
It's futile. I tried everything imaginable to get Nutcracker effects in LSP and was unable, Sean even tried to help me but we were unable to get anything going to make it work. I'm hoping someone makes me wrong on this as I would LOVE to be able to use Nutcracker effects in LSP because xlights is NOT an option due to the fact that I have video with each sequence.

I have come to the same conclusion as well. The code generated by Nutcracker is no longer in the correct format of the new LSP user file format.

Not that you can't create some awesome effects in LSP doing it easily and rapidly can't hold a candle to the speed and ease that Nutrcracker can generate and demo them on your display element.

I've moved on for this season until someting can be worked out next year.
Title: Re: Export to LSP completition
Post by: smeighan on December 18, 2013,
You are not allowed to view links. Register or Login
You are not allowed to view links. Register or Login
It's futile. I tried everything imaginable to get Nutcracker effects in LSP and was unable, Sean even tried to help me but we were unable to get anything going to make it work. I'm hoping someone makes me wrong on this as I would LOVE to be able to use Nutcracker effects in LSP because xlights is NOT an option due to the fact that I have video with each sequence.

I have come to the same conclusion as well. The code generated by Nutcracker is no longer in the correct format of the new LSP user file format.

Not that you can't create some awesome effects in LSP doing it easily and rapidly can't hold a candle to the speed and ease that Nutrcracker can generate and demo them on your display element.

I've moved on for this season until someting can be worked out next year.

The UserPatterns.xml file must have changed with lsp 2.8

If someone would make a ten second sequence on 6 channels. Assign red to channel 1 and fade from full intensity to black over the ten seconds.
On channels 4,5,6, fade blue from full intensity to black.

Save this 6 channel, ten second sequence and make a UserPatterns.xml file, I think now it is a user file.

Post this file where I can see it, I'll take a look. No promises, but maybe it is a simple fix
Title: Re: Export to LSP completition
Post by: MrChristmas2000 on December 18, 2013,
Check your PM for file instructions.
Title: Re: Export to LSP completition
Post by: MrChristmas2000 on December 19, 2013,
Was the file I sent you what you need?
Title: Re: Export to LSP completition
Post by: smeighan on December 19, 2013,
You are not allowed to view links. Register or Login
Was the file I sent you what you need?
yes, that was exactly what i need. now, i need some time to take a look.
thanks
Title: Re: Export to LSP completition
Post by: MrChristmas2000 on December 19, 2013,
Ok, Thats great.

I'm hoping that I can Parrot rdebolt soon.

It would speed up my generation of some new sequences for this year.
Title: Re: Export to LSP completition
Post by: MrChristmas2000 on December 19, 2013,
I have done some extended testing for you with the following results:

Setup and test notes.

I made two different 10 sec sequence files using the configuration you asked for.

The first one had 50ms timing marks across the whole 10 second sequence.

The second one had 1 timing mark at the 10 second point.

I made two sets of user files based on this sequence. One made in a LSP 2.0 environment and the other in a LSP 2.8 environment.

The first set is located here:
This is the LSP 2.0 file
https://dl.dropboxusercontent.com/u/28041968/Nutcracker%20Testing/Set%201/UserPatterns.LSP2.0.xml
This is the LSP 2.8 file.
https://dl.dropboxusercontent.com/u/28041968/Nutcracker%20Testing/Set%201/MyUserPatterns.LSP2.8.xml

The second set is located here:
This is the LSP 2.0 file
https://dl.dropboxusercontent.com/u/28041968/Nutcracker%20Testing/Set%202/UserPatterns.2.0.xml
This is the LSP 2.8 file.
https://dl.dropboxusercontent.com/u/28041968/Nutcracker%20Testing/Set%202/MyUserPatterns.2.8.xml

My quick observation of the differences between the two files is that the entry in the 2.0 files was
First, the following value was different
In the 2.0 file it was
<ArrayOfPattern xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

and in the 2.8 file it was
<ArrayOfPattern xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

It's been a while since I looked at xml specs but it looks like the newer file follows a slightly different xml spec.

The next difference was in the 2.0 file the 'TrackColorName' had changed to a null value
        <TrackColorName>Gainsboro</TrackColorName>
and in the 2.8 file is
        <TrackColorName />

The other observation is that the following line exsisted in the 2.0 file
          <TimeInterval eff="4" dat="" gui="{09A9DFBE-9833-413c-95FA-4FFDFEBF896F}" in="1" out="1" pos="882050" sin="-1" att="1" />

but was absent from the 2.8 file.

The last observation is that the following line in 2.0 (the last line)
          <TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="99999999" sin="-1" att="0" />

and the line in 2.8
          <TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="882050" sin="-1" att="0" />

had a different value for the 'pos' value.

I gave the saved pattern the same name in both instances as 'Nutcracker Test'

I hope this might be of some value in changing the export routine.

Title: Re: Export to LSP completition
Post by: urthegman on December 19, 2013,
Now THERE is an option I didn't think of.  <fp. Inputting Nutcracker effects into LSP v2.0 and opening that sequence in v2.8!!!
Title: Re: Export to LSP completition
Post by: MrChristmas2000 on December 19, 2013,
I'll give that a try. I have not tried importing a NC export into the 2.0 environment. The effects from the website worked fine in the 2.0 environment.
Title: Re: Export to LSP completition
Post by: arw01 on December 19, 2013,
I am guessing, but why note just pull the guts out and wrap it in the new stuff, not going to break anything to try.

Or visa versa wrap the guts in the old stuff and see what happens trying to pull it into 2.8.

I suspect the last difference was made accurate in the 2.8 version, like 882050 is really the end timing, vs 2.0 approach of making it the max value arbitrarily..

Alan
Title: Re: Export to LSP completition
Post by: kgustafson on December 19, 2013,
I remember wrapping my brain around LSP back when program the website in PHP.  The main issue is that LSP will not share their XML format and we have to reverse engineer the code.  This is what makes it challenging for Sean and others to decode the updates quickly.
Title: Re: Export to LSP completition
Post by: MrChristmas2000 on December 19, 2013,
You are not allowed to view links. Register or Login
I am guessing, but why note just pull the guts out and wrap it in the new stuff, not going to break anything to try.

Or visa versa wrap the guts in the old stuff and see what happens trying to pull it into 2.8.

I suspect the last difference was made accurate in the 2.8 version, like 882050 is really the end timing, vs 2.0 approach of making it the max value arbitrarily..

Alan
Tried it tonight with an export from Nutcracker .13 and LSP 2.0 did not recognize the user file format.
Title: Re: Export to LSP completition
Post by: MrChristmas2000 on December 21, 2013,
I guess this is harder than expected.

Oh well maybe next year.
Title: Re: Export to LSP completition
Post by: arw01 on December 21, 2013,
I haven't figured out how you made the user.xml file, can you pm that over..
Title: Re: Export to LSP completition
Post by: MrChristmas2000 on December 21, 2013,
Done. PM sent I hope it is the answer to your question.
Title: Re: Export to LSP completition
Post by: MrChristmas2000 on December 22, 2013,
Installed the latest version 3.2.14 on my Windows 32 bit system and now the LSP export exports nothing in the file other than the basic file structure.

Went back to my Windows 64 bit system and instead of replacing the user file I copied the text from the exported file and pasted it into the existing user file. The effects were not as seen in the xLights visualizer.