4 ms·
But this should also be possible without the game executable looking up DLLs in its CWD? A mechanism analogous to LD_PRELOAD_PATH on Linux should work equally w
by claudius 11y ago
But this should also be possible without the game executable looking up DLLs in its CWD? A mechanism analogous to LD_PRELOAD_PATH on Linux should work equally well or the mod could provide its own binary, load its dll and then run the main game binary?
In other words, I don’t understand why “load DLLs from CWD” is vital to the workings of such mods?
- SolarNet 11y agoWell it's easier to explain to users of the mod at least (dropping files in a folder). Also replacing the binary is problematic because that will cause updating and DRM problems.
- lawl 11y agoWith an LD_LIBRARY_PATH they'd have to drop 2 files into the folder, the dll and a wrapper that sets the library path, I don't see the issue...
- SolarNet 11y agoYes of course. But then the users have to run the game with the wrapper file. Not a large inconvenience though. The Linux system is better.