macebobo wrote:Yes, please. PM, E-mail or here is fine 😀
The main difference from 2.1 to 2.5 is the Startup method being implemented from the IEventDrivenOutputPlugIn interface. What I did was make another project in the solution. In your case, your current one is for Vixen 2.1, so make on for Vixen 2.5. Include all of the same code files (you can add an existing item), but reference the 2.5 version of Vixen instead. In the properties of the 2.1 project, on the Build tab page, I added a Conditional Compilation Symbol of VIXEN_2_1. You can do the same for the 2.5 project as VIXEN_2_5. Then you can use a #if macro. Here is a code snippet.
#if VIXEN_2_1
public List<Form> Startup()
#else
public void Startup()
#endif
{
... <Body of method> ...
#if VIXEN_2_1
return new List<Form>() {<your form 1>, <your form 2> , etc }; // This is probably your output form.
#endif
}
I named the projects so that they end with -2.1 and -2.5 respectively. In the end you will have a dll for each then. You can use the #if macro anywhere else you need something for just one version or the other, but this was my only place so far.
I hope this helps, and let me know if it doesn't work for you.
Erik
erm213 wrote:The main difference from 2.1 to 2.5 is the Startup method being implemented from the IEventDrivenOutputPlugIn interface. What I did was make another project in the solution. In your case, your current one is for Vixen 2.1, so make on for Vixen 2.5. Include all of the same code files (you can add an existing item), but reference the 2.5 version of Vixen instead. In the properties of the 2.1 project, on the Build tab page, I added a Conditional Compilation Symbol of VIXEN_2_1. You can do the same for the 2.5 project as VIXEN_2_5. Then you can use a #if macro. Here is a code snippet.#if VIXEN_2_1 public List<Form> Startup() #else public void Startup() #endif { ... <Body of method> ... #if VIXEN_2_1 return new List<Form>() {<your form 1>, <your form 2> , etc }; // This is probably your output form. #endif }I named the projects so that they end with -2.1 and -2.5 respectively. In the end you will have a dll for each then. You can use the #if macro anywhere else you need something for just one version or the other, but this was my only place so far.
I hope this helps, and let me know if it doesn't work for you.
Erik
Thanks Erik. I don't know why I didn't see this until today! I should have some time on Friday (9 SEPT 2011) to work on this and will get a 2.5 compatible version out then. -- John
EDIT: Had some time after dinner, now available for 2.5 and 2.1 users. -- John
mkess wrote:Ok I renamed the first file and then saved the extracted version to the outputs folder. I then open vixen go to my profile to and I get an error message The plugin doesnt show up in vixen, I have no AP to choose from. Running 2.5.
Now works with Vixen 2.5 🙂 Enjoy! -- John
It just saved me hours! Thanks.
Glad it worked for you and saved some time for you. It makes it all worth it 😀
holtm wrote:It just saved me hours! Thanks.
Macebobo
Great plugin..
What are the chances of making a "clone channel" button to, well, clone an existing channel?
With 24 mini trees and 36 candy canes, making a single representation of one and cloning it would make it sooooo much easier..
Thanks! Hmm, never thought of that. Let me take a look as that is a great idea.
-- John
Aurbo99 wrote:MaceboboGreat plugin..
What are the chances of making a "clone channel" button to, well, clone an existing channel?
With 24 mini trees and 36 candy canes, making a single representation of one and cloning it would make it sooooo much easier..
It would be a great addition. For now, I just go into the Profile and copy the Channel Data in the raw file. I did that with 14 mini 4 midis and 12 Candy Canes. And for each of the different colors in the Mega tree.
For the Mini Trees, initially I ended up with 14 trees x 3 Colors sitting on top of eachother. I then used the moveable adjustable preview capability to shift each one to the correct location. Tedius Yes, but easier than drawing all of them individually.
macebobo wrote:Thanks! Hmm, never thought of that. Let me take a look as that is a great idea.-- John
New guy here. Just tried your preview. Works great! Thanks!
Bumping this for newer members who may not have known this was available. -- John
