Sean Meighan

Welcome => Do You Need Help? Post it here => Topic started by: jnealand on September 15, 2016, 06:31:04 PM

Title: Import xml mapping - SOLVED
Post by: jnealand on September 15, 2016, 06:31:04 PM
When I tried to map a song I notice that groups do not show up on either the imported or the new seq.  Is there a reason for this?  Mapping arches to arches and snowflakes to snowflakes is a lot easier than trying to map arch1 , arch2 etc.  The seq I am trying to import is basically all done with groups and not models.
Title: Re: Import xml mapping
Post by: keithsw1111 on September 15, 2016, 06:42:43 PM
They should. Have you added the groups to your sequence?
Title: Re: Import xml mapping
Post by: jnealand on September 19, 2016, 03:52:12 PM
Started over and now have all the models and groups set in the new sequence before I start the import.  Created my map file.  Imported the effects, did a save and played it.

A couple of issues.
1. How do I import a copy of the timing track?  Or if there was a lyric track how would I import that?  I would hope/prefer they come across automatically.  They can easily be deleted after the import if I do not want or need them.
2. The P10 matrix on the donor sequence has 3 layers, but the import only brought in the first two.
3. For some reason the text effects on the matrix did not import right and when I clicked on one to see if I could fix it I got a whole bunch of error statements to the effect that slider???? was not found.  After clicking ok thru all the errors I was able to go in and recreate the text effect.  I had the donor sequence open in its own folder at the same time on another monitor so I could see both the original donor sequence and the imported sequence.
3. The donor megatree has effects that start right at the 0 sec mark.  The import effects start at the 10 sec mark and are not the same starting point of the donor 10 sec mark in addition to missing all the effects that were in the donor sequence in the first 10 secs.
4. Other effects on other models are not coming across at the right time frame as the donor sequence.
5. Another usability issue I found is that after I select the donor model/group the selection window dropdown closes, but the selection is changed when I use the mouse wheel to move to another model to select.  Found that one by accident as I didn't notice the scroll by mouse wheel until selections were changed and I had to go back and reselect.

There may be other issues that I just have not uncovered yet as these first couple are big and glaring.

These sequences are updates of the same ones that were used in my last years show, but with some new props added and some effects changed.  I am starting with a totally blank sequence with only the groups and models shown.  I have imported a lot of sequences last year and wrote the oriiginal procedure that is in the manual so I am not a novice at doing imports, but I can make mistakes.  I just can't see them at this state.  Fortunately it is not crunch time yet.  I can provide the files needed, but prefer not to post them publicly at this point as I am not the creator of the donor sequence although it was done by a friend of mine whose sequence I used last year without issue.
Title: Import xml mapping
Post by: keithsw1111 on September 19, 2016, 05:05:12 PM
I would strongly suggest you open and play and then save your source sequence in your current version of xlights before you do the import. That will ensure all the xml is upgraded to the current version. That should fix your text effect problems. While you are there export the timing tracks you want to xtiming files and you can import them into your new sequence.
Title: Re: Import xml mapping
Post by: t.jo13t on September 19, 2016, 05:26:41 PM
I have a couple of the sae issues you are having with importing donor xml files. I have been emailing sean as to figure out how to solve them. I picked up the missig effects and timing issues as you as well by playing the donor sequence next to to the imported one.

Quote
I would strongly suggest you open and play and then save your source sequence in your current version of xlights before you do the import. That will ensure all the xml is upgraded to the current version. That should fix your text effect problems. While you are there export the timing tracks you want to xtiming files and you can import them into your new sequence.

I have tried this Idea and  unfotunatly it hasn't helped me. What make my situation more interresting is the fact that no models or effects have been changed from the donor sequence.
Title: Re: Import xml mapping
Post by: jnealand on September 19, 2016, 07:07:17 PM
I have rendered and played the donor file many times in order to be able to decide how I wanted the mapping to go from the donor layout to my layout.  So the file has been updated and is on the same version as my own layout.

I have no clue how to export a timing track so will have to do a little research.  Still seems like something the import process should do IMHO.

I have also updated the mapping file and re-imported several times to fix other models I did not map right.  But the matrix and megatree and still messed up.

Title: Import xml mapping
Post by: keithsw1111 on September 19, 2016, 08:22:44 PM
When you get your donor sequence put it in a folder (not the same path) with the same folder name as they had it in. And make sure you load it play it and save it. If you don't save it nothing gets fixed up and you will have import issues.
Title: Re: Import xml mapping
Post by: jnealand on September 20, 2016, 08:11:29 AM
I do not understand what you are saying.  The donor folder is a separate folder on my computer.  All the files in there are from the donors config.  It is basically a copy of the donors folder on his computer but without the fseqs.  There are several other sequences in the that folder, but I have not tried them yet as I am just trying to get the mapping correct.  I have opened this sequence and all the others in the donors folder and have played them all after rendering and saving them.  When I do the import I am in my own 2016 Christmas folder, create a new sequence with the proper music, add my models/groups, do a save, then do an import and select the xml from the donors folder.  It is not working.  There are no graphics files or pictures in the sequence, only effects that include some text for the matrix and on the mega tree.

I still have not found out how to export a timing track, but will get to it.
Title: Re: Import xml mapping
Post by: Gilrock on September 20, 2016, 08:42:50 AM
The point Keith is making is that we changed the Text effect so you need to open those donor sequences in the new version and resave them so it will execute the effect upgrade code.  We didn't really design the code to be able to import from older sequences.  You should upgrade the sequence first them use it for import.
Title: Re: Import xml mapping
Post by: jnealand on September 20, 2016, 10:19:35 AM
If the sequence xml was opened, rendered, saved and played in .49 I would assume that the text effect HAS been upgraded.  Otherwise what are you talking about?  All I'm trying to do is use the same sequence that works on .49 on my computer in the donors folder and make it work for my layout on my computer in my own folder by importing effects.
Title: Re: Import xml mapping
Post by: Gilrock on September 20, 2016, 10:29:23 AM
The problem is you never stated that you did those steps to the donor sequence.  If you did then great.
Title: Re: Import xml mapping
Post by: jnealand on September 20, 2016, 03:17:15 PM
Gil did you read reply 5 and 7 which both stated that.  You must be using tapatalk.
Title: Re: Import xml mapping
Post by: keithsw1111 on September 20, 2016, 03:27:27 PM
We are going to need video or files then to help
Title: Re: Import xml mapping
Post by: Gilrock on September 20, 2016, 03:29:07 PM
#5 said "I have rendered and played the donor file..."   It did not say save and that's why Keith replied like he did.  I guess #7 does say "and saving".  Keith and I thought the same thing so it wasn't clear to us.  WTF is Tapatalk.
Title: Re: Import xml mapping
Post by: Gilrock on September 20, 2016, 03:32:38 PM
I'm too busy too troubleshoot much lately so my solution is just learn how to create your own sequences.
Title: Re: Import xml mapping
Post by: jnealand on September 20, 2016, 06:34:20 PM
We are going to need video or files then to help
I will erase all the fseqs and start over tomorrow.  If it still fails I can put the files in dropbox and PM you a link.
Title: Re: Import xml mapping - SOLVED
Post by: jnealand on September 21, 2016, 01:22:50 PM
Writing this while wiping the egg off my face.  LOL
I did some testing today.  I tried a new seq using the same song and created a map file for the mega tree only.   It worked perfect.  Went back to my original imported seq and ran just the new mega only map.  Now the mega tree was correct.  Started on a new song from the same donor and had the same issue with the mega tree not coming right.  Deleted all that and started over.  Low and behold the map file had the mega tree importing the wrong model.  I had a number of them get messed up due to the fact that after you select a model to import, the selection window dropdown closes but the mouse still scrolls the selection.  If you are not watching that little window and start scrolling the mouse wheel you will change your mapping.  It is necessary to click somewhere outside the model window to effectively close and end that models selection.  After I discovered that problem I went back and corrected several of the mappings, but I obviously missed the one for the mega tree.  All seems well now, but I wish the selection process would truly close once you do a selection in the drop down box.  I'll put a request in github for that.
Title: Re: Import xml mapping - SOLVED
Post by: Gilrock on September 21, 2016, 01:33:24 PM
I think you'd have trouble finding any combo boxes that don't work that way.  When a combo box has focus the mouse wheel is going to operate it.
Title: Re: Import xml mapping - SOLVED
Post by: Phrog30 on September 21, 2016, 03:49:39 PM
I have done that same before. I agree with Gil, there really isn't a fix for that because it has focus.

Sent from my SM-G900V using Tapatalk

Title: Re: Import xml mapping - SOLVED
Post by: jnealand on September 21, 2016, 07:10:22 PM
When using MS Access I can use a list box instead of a combo box.  The focus stays, but the scrolling mouse does not seem to have any effect.  But that is Access and not the language that xlights is written in so I would have no idea in that kind of change is even possible.
Title: Re: Import xml mapping - SOLVED
Post by: Gilrock on September 21, 2016, 07:50:13 PM
LOL...of course I meant combo boxes in xLights....