Request: allow custom avisynth DLL path
I would like to suggest adding support to define the AviSynth DLL location via command line.
If this is too much work then support via environment variable would be sufficient.
Or better support for both env var and CLI were CLI has higher priority.
Why is it important?
In staxrip we want to support installed avisynth and also portable avisynth. We want to have the possibility to use portable mode even when avisynth is installed. This is currently not possible because avisynth is installed in system32. Only a soft link workaround is possible but this requires admin rights or developer mode and that is very unfortunate for a portable app.
Sample code found in the frameserver.dll of staxrip:
WCHAR* dllPath = _wgetenv(L"AviSynthDLL");
HMODULE dll;
if (FileExists(dllPath))
dll = LoadLibrary(dllPath);
else
dll = LoadLibrary(L"AviSynth.dll");