Log in

View Full Version : Different versions of MaskTools


Daodan
7th June 2006, 12:36
I have a question because I became really confused. There are masktools 1 versions and also 2. Very nice. But there are filters that are based on different versions of masktools 1 and I want to use them both in the same script. How can I do this?

Manao
7th June 2006, 12:44
Just copy both dll in your plugin directory. They don't conflict with one another

Daodan
7th June 2006, 13:05
You mean change the name of one etc? Since they have the same name I kinda assumed they can't be used at once.
Thanks.

foxyshadis
7th June 2006, 13:29
One is named masktools.dll and one (v2) is named mt_masktools.dll. They should not have the same name. o.O It'd be safest to redownload both from the links in Manao's sig.

Daodan
7th June 2006, 13:40
Umm. I guess I didn't state it clearly. I already use masktools 1 and 2 but I want scripts that need different versions of masktools1. (I don't remember exactly which versions was for each but I know in case one worked the other told me about a lutxy missing and if the one with lutxy was on ...I don't remember what it said..)
Thanks again.

foxyshadis
7th June 2006, 19:20
Oh. The latest should be a drop-in replacement for any earlier versions, but avisynth does have a mechanism for loading in several copies of the same plugin. You can call one "Masktools151.dll" and the other "Masktools158.dll" and call their functions as "masktools151_yv12lut()" etc. The last one loaded takes precedence over the normal unqualified function names.

You can see this in action in old mvbob scripts, where later versions of mvcompensate were disabled so an earlier version was used.

Manao
7th June 2006, 20:10
That, or ask the writer of the script to update them, because any version prior to masktools 1.58 is somehow buggy