I've completed a first beta version of fscript2. Too bad, I'm a build too late for NANY
FScript2 load all fscript plugins under one master DLL. Other than that FScript2 does the same thing that FScript does, but it does them so much more neatly
- This means that once FScript2 is installed, an fscript plugin can be as light as a single fscript.js.
- This should also make plugins much lighter in memory since there will be only one DLL that control all plugins.
- This also means that FScript2 will be updatable by DCUpdate so there won't be a need for plugins scripter to repackage their plugins with my latest DLL, which has caused a lot of issues as I fixed bugs progressively.How to use it
FScript2 is compatible with FScript plugins. To allow an FScript2 plugin you must delete the fscript.dll from that plugin.
Copy FScript2 inside the plugin folder. FScript2 will try to detect plugins one folder under its installation folder : If you install it into 'plugins/Fscript2', it will scan every folder under the 'plugins' folder seeking for fscript.js files.
To enable thoses plugins to use FScript2, fscript.dll must be deleted inside each plugin. Folder that contains an fscript.dll file will be ignored. This is a security and should help with the transition : If some plugin doesn't work with FScript2, restore its original dll, and everything will work again.
Launch FARR and it should load plugins as if they were natives FARR plugins.Extra notes
FScript2 create proxy dll for each FScript2 plugins. They are very small 10k DLL, that forward all call to the DLL. Theses DLL are created inside the proxy folder inside the FScript2 folder. This means that, that folder must be writable, so that FScript2 enable plugins. If you have some warning telling you that some plugins can be copied, you might have to fix that.
Some FScript plugins doesn't seems to work, but I'm unsure if this came from the plugin or from Fscript2 as they do not seems to work correctly with Fscript either. I'll be very happy to have some report of what works and what doesn't. Retesting all fscript plugins with fscript2 is beyond what I can do, so testers are welcome.Try itGet FScript2 here