Sean Meighan

Software => Bugs in xLights/Nutcracker => Topic started by: dwbarnett on December 14, 2015, 03:56:59 AM

Title: Hell of a time with this Star Wars import
Post by: dwbarnett on December 14, 2015, 03:56:59 AM
Pretty much about to give up on this. I'm so glad that most of the rest of seemed to have no issues, and are running the sequence.  Good for you.    Me...not so much.  I'll list what I've done: perhaps I'm missing something you can remind me to do.

I followed the Wiki info re importing someone else's sequence.

1. Put Logans seq. in a separate folder called Star Wars.  I also added my network.xml file, and the music file.
created another directory for the images. Changed show directory to the Star Wars directory to view Logan's sequence.

2. Watched the sequence several times, to try and get an idea of what elements would work for my layout.
wrote Logan's model names down to correlate with my models.

3. I then copied the starwars.xml into my show directory, and changed to my show directory. I created a new musical sequence.
4. I then slected import, the appropriate xml, and selected my models.
a. The floods imported fine
b. mini trees imported fine
c. Roof line stuff, I was only able to get my left eaves to import, the mid eaves and right eaves only show some effects after render. Mainly, the single strand string skip stuff.
5. Did an import on the mega tree. My tree is 24x150, so I imported/mapped strands 1-12 from Logan's seq., to my strands 7-18 on my seq. to try and centralize Logan's effects and images.
6. I finally imported the wholehouse stuff, that seemed to be OK. I then re-save everything.

7. On playback, I get the initial start of everything blue. When the light saber starts on the mega, I see bits and pieces of it.  The wholehouse is overriding the mega tree effects.  I can't seem to separate the tree from the wholehouse stuff.

8. After import, non of the images and several effects don't  show up on the mega tree.
9. I also wanted to have Logan's timings per his sequence. I looked at his xml and timings, and tried to copy/paste that section into my xml using notepad ++, nope...didn't work, caused XL/NC to crash.
ew-edited and took the timing stuff back out, the xml loaded OK again.

I have seen several vids you all have done to adapt Logan's seq. into your setup, so I know it can be done.

What am I missing here?   Hope everyone else had an easy go of your setup this year. Mine has been one from hell!  Nothing has gone right this year.  Still trying to put up the show, have 2 seq. done.

Not ready to throw in the towel, but getting close!

Any thoughts or suggestions appreciated, preferably without the condescending tone.

Best,
David
Title: Re: Hell of a time with this Star Wars import
Post by: Dave Nibeck on December 14, 2015, 05:11:49 AM
I struggled with this one too (it was the first I tried to import).  What I found I had to do was make a whole house model X mega tree to import his whole house onto mine.  Not sure why the 'off' did not work to mask the tree.  For the pictures, you have click each picture and point to the new directory.

I didn't the eaves but what I suspect is your having a similar issue with whole house. 
 
Title: Re: Hell of a time with this Star Wars import
Post by: Phrog30 on December 14, 2015, 05:48:14 AM
The pictures are pointing to his directory. After you import, open your xml file and do a search and replace. If you want, I can help on this, just attach your xml file and state your path.

The light sabers in the beginning are at the node level, so you must copy over that stuff too.

It sounds like you have most working.

James
Title: Re: Hell of a time with this Star Wars import
Post by: Phrog30 on December 14, 2015, 05:53:08 AM
Oh, I just re-read your post. I think your problem is using his xml file.

It took me about an hour, but using model copy, which is a row copy, I would copy over one model/row at a time. There may be faster ways, but this was easiest for me.

James
Title: Re: Hell of a time with this Star Wars import
Post by: mararunr on December 14, 2015, 06:13:18 AM
Logan's wholehouse does not include his tree.  Does your wholehouse include your tree?  If so, then it will overrun the tree.  Remember Logan including his rgbeffects xml as well as the sequence xml so you can create a new directory, copy both into that new directory, open xlights and change to your new directory, set up a bunch of bogus universes on the network tab and then see Logan's completely setup in the layout tab and run his xml on his display layout to figure things out.


Something else to consider if you want to go to this level is xml files are just plain text files with formatting tags.  Get notepad++ and you can open xml files and cut/copy/paste/delete right in the someone else's xml before opening in your desired layout.  Not saying it's for everybody, but if you are comfortable, it can be quicker.
Title: Re: Hell of a time with this Star Wars import
Post by: Gilrock on December 14, 2015, 06:19:10 AM
I wouldn't try to import that way David.  Here's my method:

1)  Place the starwars.xml into your show directory.
2)  Create a subdirectory and copy all the star wars images into it.
3)  Open the starwars.xml in Notepad++ and scroll down to the effects section and find a Picture effect.
4)  Copy the front part of the path to where Logan had his image files stored.
5)  Do a search and replace of the path you copied with the new directory path you created in your show directory.  Make sure the path looks correct in the file and then save the xml file.
6)  Here's the trick....don't create a new sequence....open up the starwars.xml.
7)  You may get a bunch of message about missing models and just hit ok but then you should get to the dialogs that give you the option to either delete the model from the sequence or map the model to one of the models you have defined.  That's what you want to do.
8)  For every model select either Delete or Map it to one of your models.  It's helps to already know where you are going to map them.
9)  Now you're pretty much done except you may want to copy some of the data from one model to another so just use the Copy Model / Paste Model feature on the Row Heading right-click menu to copy data from one row to another.
10)  Save with Render and play the sequence and enjoy happy clapping customers.
Title: Re: Hell of a time with this Star Wars import
Post by: dwbarnett on December 14, 2015, 10:36:24 AM
Thanks everyone, Special thanks to you Gil.

Using your method Gil, do I map the mega tree the same way.  His is 12 strands, mine is 24, do I manually import and map the tree separately?

This is what I needed, a step by step.  Everything has gone all wrong for me on my show this year, I'm pretty wiped out about all this right now. Determined to try and do a show though.

Best,
David
Title: Re: Hell of a time with this Star Wars import
Post by: Gilrock on December 14, 2015, 10:38:35 AM
Yes when his megatree model pops up just select the name of your mega tree.  I mapped his data to a 12x50 and a 32x42 tree and both looked great.
Title: Re: Hell of a time with this Star Wars import
Post by: dwbarnett on December 14, 2015, 12:07:56 PM
Thank You Gil

Best,
David
Title: Re: Hell of a time with this Star Wars import
Post by: arw01 on December 14, 2015, 02:28:30 PM
I'll ditto having some issues trying to copy it over too, took a while messing with rendering to get it to actually ouput.  Good tip in there on the mega tree and the whole house model.

I was in the process of figuring out where Logan's windows are relative to what I wanted for windows, when I last messed with it.

Gil you mentioned in another thread deleting models you would not use in the xml, do you just delete the model and leave the effects for it, or delete the effects for that model as well?

David and Sean are working on an import routine, and judging from David's change from 3.0 to 4x it should be an awesome tool when done.
Title: Re: Hell of a time with this Star Wars import
Post by: JonB256 on December 14, 2015, 03:05:49 PM
Yes when his megatree model pops up just select the name of your mega tree.  I mapped his data to a 12x50 and a 32x42 tree and both looked great.

I mapped Logan's Mega-Tree to a Horizontal Matrix 40x30.  The lights sabers are horizontal, but everything else worked on my "Garage Matrix"

I mostly used the same method as Gil. I don't have as many totally pixel elements as Logan but I'm still happy. First two children who saw it laughed and giggled a lot. Success!

The beauty of using my FPP master and remotes is that I can tweak and tweak and tweak and then update before it runs the next time.
Title: Re: Hell of a time with this Star Wars import
Post by: Gilrock on December 14, 2015, 05:24:15 PM
Alan I deleted the effects for the models also because I wasn't sure if it would hiccup our program otherwise.
Title: Re: Hell of a time with this Star Wars import
Post by: plaberge on December 15, 2015, 12:15:04 AM

Using your method Gil, do I map the mega tree the same way.  His is 12 strands, mine is 24, do I manually import and map the tree separately?


I also have a 24 strand mega tree. Direct import works but the lightsabers are on the left side of the tree. To fix it, click "Toggled Strands" on your megatree model and move effects to more central strands. While doing this, I expanded Logan's effects to cover a larger number of strands on my megatree. Note that if you do this, you have to shorten the duration of each strand effect to maintain the timing. The lightsabers move faster because of this but it still looks good.

My set-up is quite a bit different from Logan's and Gil's, so I had to do a lot of creative mapping to get it to look right. After my initial base mapping mapping (i.e., megatree, arches, roof line), I found that the best way to do this was to have one copy of Xlights running on my model and another on on Logan's model. I then copied various effect from Logan's to mine  (as Gil described) until I found something that looked good on mine.

Overall, it looks real nice. I'll post a video of my adaptation in a few days. in Logan's original thread.
Title: Re: Hell of a time with this Star Wars import
Post by: logandc99 on December 15, 2015, 12:18:23 AM
I'm sorry to hear that you have had a lot of grief trying to get the sequence running on your display. I have never imported a sequence from another setup so I'm not familiar with the process and so unfortunately I cannot provide any useful info. However the others who have posted above are way more qualified to help you with that process than I.
I hope you get it running soon  :).
Title: Re: Hell of a time with this Star Wars import
Post by: drlucas on December 16, 2015, 06:33:25 AM
The only issue I've experienced was that Logan hasn't created more sequences!!

The approach Gil outlined is the process I took. I think next year I'll make a small P10 matrix that is portrait vs landscape and see if I can map/mirror  the mega trees to it.

I'm definitely spending some time this winter to figure out how to really maximize the different layers and features in xlights4.

I think I miss the Thursday night sessions that Sean hosts.


Sent from my iPhone
Title: Re: Hell of a time with this Star Wars import
Post by: drlucas on December 16, 2015, 06:38:15 AM
I take that back Logan....just saw this video...https://youtu.be/cl0ZZvgFD5c

Nicely done!!!


Sent from my iPhone
Title: Re: Hell of a time with this Star Wars import
Post by: sterns28 on December 16, 2015, 01:09:54 PM
I too am having much difficulty completing the sequence.  I was able to map my elements and such following the smae steps the Gil listed but trying to export to an LMS is proving incapable.  Since all of the elements were in different order from what I selected during the match up, I did rearrange them and rendered prior to saving, then performed a conversion to LMS.  Most effects didn't carry over and therefore attempted to export each element model as a LCB but even then when pasting "By Time", nothing matches up.  I know the first response would be to run show through xLights but that will have to wait until next year.  Any thoughts?  Thank you in advance.
Title: Re: Hell of a time with this Star Wars import
Post by: Gilrock on December 16, 2015, 01:23:06 PM
Once the effects are in xLights it should be no different than how you would get any xLights sequence over the LOR.  Have you successfully copied over other sequences?  How are you getting them to LOR I'm assuming it's from the Convert tab?  What is the source file you use?
Title: Re: Hell of a time with this Star Wars import
Post by: sterns28 on December 16, 2015, 02:07:09 PM
I have so far only exported my RGB element effects into a LCB and pasted them into my existing LMS files.  When I used the convert, I am selecting the ".fseq" file to convert to a ".lms".

After pasting in the completed sequence LCB file, all of the timings are completely off.  The first noticeable is when the swords clash (off by about 3 secs) then the other effects speed through and go at some offset as the sequence progresses.  If it were only 3 seconds throughout I could easily move the entire paste to match but it is not.  I assumed there should be some easy fix that I am completely overlooking.  I will attempt to start from scratch, again, but expecting a different result meets the definition of insanity, which this is driving me...  I appreciate any other advice.  If there is a file or image I can share that could help explain, please let me know.  Thanks.
Title: Re: Hell of a time with this Star Wars import
Post by: Gilrock on December 16, 2015, 02:15:42 PM
Are you creating a 50ms sequence in xLights?
Title: Re: Hell of a time with this Star Wars import
Post by: sterns28 on December 16, 2015, 02:26:40 PM
Yes sir and using the same timing for the LMS file as well, hence why I am struggling with the timing issue.  Perhaps the Force just isn't with me.   :o

I know next year I will be running everything from xLights and will certainly need more than a few months of playing to understand it all.  Thanks Gil.
Title: Re: Hell of a time with this Star Wars import
Post by: sterns28 on December 16, 2015, 02:38:39 PM
Perhaps if there was someone who already made the successful conversion over to an ".LMS" file to share I could begin with that.  I'm still working on my 8th attempt.
Title: Re: Hell of a time with this Star Wars import
Post by: Gilrock on December 16, 2015, 03:07:15 PM
So double-check you are really doing paste-by-time in LOR and you need to be clicking on the first cell where you want the data to start.
Title: Re: Hell of a time with this Star Wars import
Post by: Gilrock on December 16, 2015, 03:08:12 PM
You can paste the data into a text file and look at it.  You should see the timing offsets in the data.  It should b easily readable XML.  I'd use Notepad++.
Title: Re: Hell of a time with this Star Wars import
Post by: sterns28 on December 16, 2015, 03:35:24 PM
When I do the pasting it is in the first cell of the very top row in LOR.  I am unfamiliar with verifying the timing offsets but I will give that a try.