Jump to content

Feature: Allow DIY Plug-ins Management


Recommended Posts

My apologies in advance if this is already in PDN v4 - I'm still using 3.5 for work and have not had a chance to try it.

Currently, all plug-ins' dlls need to be put into Effects folder. That's all good, but after a while, this folder ends up being a mess - full of dlls without having a clean and easy way to know which ones are from which pack. It's very hard and time consuming to remove packs one no longer wants. Etc, etc.

Solution: Simply make PDN look not only in Effects folder but in any subfolders there too. That way, one would be able to simply create a folder with arbitrary name, paste all the XYZ pack's dlls there and use them. If that pack is no longer needed or wanted, deleting that folder would cleanly remove it. This would also allow one to organize plug-ins in any way one wants and track what's installed, etc. Many other benefits too. I think this would be one great feature!

What do you say? Please feel free to chime in!

P.S. Thanks for all the work by the way.

 

Additional note I forgot to mention originally: this feature would search recursively through subfolders for dlls, i.e. not only first level, but any depth.

 

Edited by analytics
Link to comment
Share on other sites

There is ONE developer: Rick Brewster. He makes the design decisions AND implements them ;)

Rick has mentioned in the past that it's not a good idea to use sub-folders to 'hide' plugins and stop them from loading. My interpretation is that recursive scans have not been ruled out. Which is not to say that Rick is going to add them, just that he has reserved this space.

Link to comment
Share on other sites

I like the idea of subfolders, but I thought I'd mention a problem that might occur for some people. When I download plugins, I normally copy the Zip file into my Effects folder and unZip it there.  This results in a subfolder containing the plugin DLL. I usually cut-and-paste the DLL into my main Effects folder and delete the subfolder.  I suspect others may copy the file into the Effects folder, but leave the subfolder with the original file. That might possibly cause a problem when PDN loads the same plugin twice. I know I've had problems when I've loaded two plugins which share certain internal information, such as the plugin name. I don't know if there's a problem with loading two identical plugins.

Link to comment
Share on other sites

I normally copy the Zip file into my Effects folder and unZip it there.  This results in a subfolder containing the plugin DLL. I usually cut-and-paste the DLL into my main Effects folder and delete the subfolder.

It is best to do that on your desktop.

  • Upvote 1
Link to comment
Share on other sites

Another method of reducing unexpected problems would be to make it an optional feature that was disabled by default. Anyone who enabled it would (presumably) know enough to clean his or her Effects folder of subfolders containing DLLs that are non intended to be loaded at start-up..

Link to comment
Share on other sites

Adding some setting is nice, but involves additional dev work as well as writing additional instructions / explanations. Feature like this is not easy to explain to someone non-technical - i.e. how Effects folder should be cleaned and why prior to activating recursive feature. So if all that could be avoided and make things simpler, the better.

One approach to achieve this, i.e. preventing same dll from being loaded twice or more times (e.g. one unzipped into a subfolder under Effects, and one copied into Effects folder) is to enforce 'first-found-first-loaded' procedure - as the dll is loaded, file hash is added to loaded-dlls collection list so that the exact same one found elsewhere is skipped. This would avoid any need for GUI settings and other complications, plus feature could be shipped enabled without any worry. There could be some other things to watch out for, e.g. versioning, but nothing too complicated to do.

 

 

Another method of reducing unexpected problems would be to make it an optional feature that was disabled by default. Anyone who enabled it would (presumably) know enough to clean his or her Effects folder of subfolders containing DLLs that are non intended to be loaded at start-up..

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...