masseffect-binkw32 r3 / ASI loader update
Thanks to @Mgamerz, I have an excuse to update the main README and shamelessly mention my other repository, just like I did in my Andromeda proxy DLL repo. π
The ASI loader will load plugins from one folder only now. As @Mgamerz pointed in #12, the old way of looking for plugins in two places can cause game crashes, and even some other oddities as I found myself.
From DLL Search Order at MSDN:
"If a DLL with the same module name is already loaded in memory, the system uses the loaded DLL, no matter which directory it is in. The system does not search for the DLL."
Turns out that the only way of bypassing that is to load DLL's by specifying their full path, which is how the ASI loader actually loads ASI files with LoadLibrary. π
With the new code, the ASI subfolder is effectively the main place for ASI plugins now. The game's executable folder will only be used if the ASI subfolder is missing, or nothing could be loaded from there (either because of no files or load error).