TC plugins are just DLLs which run in the same context. That means they need another program to run. This program is usually TC. It's wrong to say it's another program.I expect plugin ini files in the corresponding plugin dir just like I expect TC ini file in the TC config dir. Why should a program store its settings in a dir of another program?
Please consider that I have to change the security settings for every plugins that wants to write into it's own directory. That's really not fine.I wanna be able to copy/delete plugins and search for the correct config file without any hassle. With more than 50 plugins installed it would simply drive me crazy to keep my dirs tidy.
I have many plugins installed and I don't think it's a problem to find a file called imagine.ini or a Imagine section in the appropriate plugin.ini file.
But here we could get some assistance from TC. Plugin configuration could have a new "Uninstall" function. The old "remove" function should be renamed to "disable". The new one could ask the user what to do:
[face=courier]Delete plugin settings too? (yes/no)[/face]
These functions need support from the plugin (GetPluginFiles (interesting for installation too?), GetPluginSettingLocation) which informs TC which are the files to delete and where to find the plugin settings.
The only problem here is that a loaded plugin cannot be deleted if the plugin doesn't support unloading. Maybe delete them on a TC restart?
Something like that:
[face=courier]Plugin could not be unloaded. The operation will be finished on next TC startup. Restart TC now? (Yes/no)[/face]
Any ideas? What do you think of this idea?
I can't follow you here. If a plugin stores it's own ini file or uses the appropriate plugin.ini in the directory where wincmd.ini is located you have indeed all settings in one place from my point of view.But it's a bad idea in general to limit the plugin.ini location to the dir where wincmd.ini is located as this annoys me and other users who prefer to have all settings in one place for easier management.