Author Topic: Automatic VST Scanning  (Read 6846 times)

Offline bvanoudtshoorn

  • Extreme artist
  • *****
  • Posts: 1,053
  • Gender: Male
    • Barryvan
Automatic VST Scanning
« on: May 21, 2007, 04:45:10 »
Would it be possible to have MPT automatically scan for VSTs in preset directories (recursively)? That way, if I get a bunch of VSTs at once, I don't have to go through and add each one individually.

I haven't come across any other system that requires you to add each one individually... I appreciate that most of them limit you to one directory of VSTs, but I think that that's just laziness - it really wouldn't be too hard to just scan a couple of directories.

Offline Rakib

  • Crazy artist
  • ****
  • Posts: 887
  • Operating System: win7x64
Automatic VST Scanning
« Reply #1 on: May 21, 2007, 10:33:22 »
Yes, its sound nice. But if it this function ever will implemented I dont want the possibility to add 1 vst at a time to be removed, there if very often one or two vst that can make modplug unstable and requires me to restart MPT. (Yes, I do use mostly badly coded and freeware based vst's)
^^

Offline Saga Musix

  • OpenMPT Developers
  • *****
  • Posts: 6,303
  • aka Jojo
    • Download music, samples, VST plugins: Saga Musix Website
  • Operating System: Windows 7 x64
Automatic VST Scanning
« Reply #2 on: May 21, 2007, 10:34:04 »
if you have several VSTs in one directory, that's no problem. just mark all VSTs, that works.
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.

Offline bvanoudtshoorn

  • Extreme artist
  • *****
  • Posts: 1,053
  • Gender: Male
    • Barryvan
Automatic VST Scanning
« Reply #3 on: May 21, 2007, 11:00:47 »
Yeah, I know... The reason I thought of this is that I recently migrated to a new computer, and had to reload all of the VSTs (all the other settings are just stored in files...) As I'd been building up my collection over quite some time, they were all in different folders. I think I like them that way, too, especially the commercial (or very big) ones. These often have a whole bunch of supporting files (like docs or what have you), so it makes sense to have them in their own folder.

Offline Nahkranoth

  • Crazy artist
  • ****
  • Posts: 551
  • Gender: Male
Automatic VST Scanning
« Reply #4 on: May 25, 2007, 14:21:08 »
Heh, and you know what it takes to remove dozens of plugins from MPT's list, when you deleted them? Man, this is difficult and boring and it seems there's no other way than to remove one by one:-) (Damn, I've wanted to make such a post myself a day ago!)

Offline Nahkranoth

  • Crazy artist
  • ****
  • Posts: 551
  • Gender: Male
Automatic VST Scanning
« Reply #5 on: August 14, 2007, 11:22:37 »
Even if no one's going to add such a feature as scanning folders for VSTs, there's still a possibility to make a small .exe which can scan and then add paths to the MPT's cache, which is in registry as I remember. It shouldn't be a hard task for an experienced coder. Or at least for someone who know how to interact with VSTs.

Offline LPChip

  • Administrator
  • *****
  • Posts: 4,959
    • http://lpchip.nl
  • Operating System: Windows 10 Pro N (x64bit)
Automatic VST Scanning
« Reply #6 on: August 14, 2007, 20:18:18 »
Its not in the registry. Its in a database file for as far as I remember. I know this because after a windows reinstallation, the plugins were still remembered.
"Heh, maybe I should've joined the compo only because it would've meant I wouldn't have had to worry about a damn EQ or compressor for a change. " - Atlantis
"yes.. I think in this case it was wishful thinking: MPT is makng my life hard so it must be wrong" - Rewbs

Offline Nahkranoth

  • Crazy artist
  • ****
  • Posts: 551
  • Gender: Male
Automatic VST Scanning
« Reply #7 on: August 16, 2007, 09:51:16 »
My mistake:-) soundbanks are in registry. And VST cache is really a file in MPT's folder. But its structure is fairly simple, so the only problem is to recognize a .dll for it can be an effect or an instrument (flags=0 or flags=1 in cachefile) ::)

Offline residentgrey

  • Site Builder
  • ***
  • Posts: 285
    • http://www.taralax.com
Automatic VST Scanning
« Reply #8 on: November 15, 2008, 20:01:04 »
Take the scanning code in the program, encapsulate it a bit, set it up to apply to all child directories in the plugins folder. Besides you can keep all the support doc in a separate file.
No two people are not on fire...AWWW!

Web and Graphic Design just for you!
I r GhostMech on there, forever scouting.

Offline Saga Musix

  • OpenMPT Developers
  • *****
  • Posts: 6,303
  • aka Jojo
    • Download music, samples, VST plugins: Saga Musix Website
  • Operating System: Windows 7 x64
Re: Automatic VST Scanning
« Reply #9 on: December 14, 2013, 16:05:01 »
Well, this is now finally there. Use the "Scan Folder" button in the plugin manager.
http://sagagames.de/stuff/mptrack.exe
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.

Offline LPChip

  • Administrator
  • *****
  • Posts: 4,959
    • http://lpchip.nl
  • Operating System: Windows 10 Pro N (x64bit)
Re: Automatic VST Scanning
« Reply #10 on: December 14, 2013, 16:09:15 »
Wooh... a belated christmas present! :P Or wait... its soon christmas again... :P

Anyway, nice addition Saga Musix. :) Thanks.
"Heh, maybe I should've joined the compo only because it would've meant I wouldn't have had to worry about a damn EQ or compressor for a change. " - Atlantis
"yes.. I think in this case it was wishful thinking: MPT is makng my life hard so it must be wrong" - Rewbs

Offline .^o

  • Crazy artist
  • ****
  • Posts: 538
  • .^o GRAVOS
    • gravos
Re: Automatic VST Scanning
« Reply #11 on: December 14, 2013, 17:17:15 »
oh yeah  :)
MPT-FR
excuse please my english, i'm french ^^

Offline Diamond

  • Workaholic artist
  • ***
  • Posts: 271
Re: Automatic VST Scanning
« Reply #12 on: December 15, 2013, 05:36:29 »
Excellent, this addition is appreciated.  Thanks.