Author Topic: LOR Channel Mapping Config Tool  (Read 2358 times)

Offline nmiller0113

  • Sr. Member
  • ****
  • Posts: 256
    • View Profile
    • The Miller Lights
LOR Channel Mapping Config Tool
« on: June 21, 2016, 02:46:24 PM »
I know this isn't directly about conversion since the issues is the fact that I changed my channel layout when getting my F16v2, but it is indirectly affecting my LOR sequence imports.  I was wondering if anyone out there has built a tool to easily change their LOR XML Channel Mapping files?  Doing it in LOR is PAINFUL to say the least.  I need this so that my Data Layer imports work correctly and map to the right channels in xLights as I've changed my setup.  The import method works fine but then my save times shoot through the roof since it is creating thousands of effects to imitate what LOR is doing...so I'd rather stick with a Data Layer import.

If anyone has built anything to read and modify the Channel Mapping XML file you'd be a huge time saver for me :)

Thanks in advance!

Offline Phrog30

  • Hero Member
  • *****
  • Posts: 1234
    • View Profile
Re: LOR Channel Mapping Config Tool
« Reply #1 on: June 21, 2016, 02:57:27 PM »
Can you just apply an offset, either positive or negative? This should work if you didn't change any of the lor stuff, but only changed the starting address.

James

Sent from my SM-G900V using Tapatalk


Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: LOR Channel Mapping Config Tool
« Reply #2 on: June 21, 2016, 03:26:57 PM »
Yes I have a tool but it's not very user friendly so that's why I never shared it.  It does things like writes a specific filename to a hard-coded directory when it saves the output.  I used it to fix my LOR channel configs.  You can quickly renumber universes and channel numbers.  I can't remember if it works well for non-DMX items.  I was mainly changing DMX assignments which is a pain in the butt in LOR.  I published the source code 3 years ago because someone had talked about taking it over and fixing it up into a nice tool:

https://github.com/AzGilrock/ChannelThis

I think I had to do some updates to it last year and I didn't upload my changes.

Offline nmiller0113

  • Sr. Member
  • ****
  • Posts: 256
    • View Profile
    • The Miller Lights
Re: LOR Channel Mapping Config Tool
« Reply #3 on: June 21, 2016, 03:33:44 PM »
Can you just apply an offset, either positive or negative? This should work if you didn't change any of the lor stuff, but only changed the starting address.

James

Sent from my SM-G900V using Tapatalk

James, thanks for the quick response.  Unfortunately it isn't that simple as I've got to reverse, change the order of others.  I could likely also do it using virtual strings in the F16 but I'd rather my new config in both xlights and the F16 be uniform rather than make all these accommodations to fit my old LOR config.  Maybe it's just me being OCD but I like the new side to look clean :)

Offline nmiller0113

  • Sr. Member
  • ****
  • Posts: 256
    • View Profile
    • The Miller Lights
Re: LOR Channel Mapping Config Tool
« Reply #4 on: June 21, 2016, 03:34:18 PM »
Yes I have a tool but it's not very user friendly so that's why I never shared it.  It does things like writes a specific filename to a hard-coded directory when it saves the output.  I used it to fix my LOR channel configs.  You can quickly renumber universes and channel numbers.  I can't remember if it works well for non-DMX items.  I was mainly changing DMX assignments which is a pain in the butt in LOR.  I published the source code 3 years ago because someone had talked about taking it over and fixing it up into a nice tool:

https://github.com/AzGilrock/ChannelThis

I think I had to do some updates to it last year and I didn't upload my changes.

Thanks Gil, I'll check it out!

Offline nmiller0113

  • Sr. Member
  • ****
  • Posts: 256
    • View Profile
    • The Miller Lights
Re: LOR Channel Mapping Config Tool
« Reply #5 on: June 21, 2016, 03:48:20 PM »
Gil,

I guess I was assuming that it would be some script (bash/php/perl/python) of some sort but that's outside my knowledge space to even know where to get started with using that :) Thanks for offering though!

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: LOR Channel Mapping Config Tool
« Reply #6 on: June 21, 2016, 05:06:43 PM »
There were executables stored there you just need to know what directories to look in.  But you would need to download the whole thing to get the supporting DLL's.  I think it would be too hard for someone to figure out.  I'd even have to play around with it to remember how to use it.