| Feature | Description | |---------|-------------| | | The DLL can be loaded only once per process lifetime. A second LoadLibrary call returns ERROR_SHARING_VIOLATION . | | Process Binding | The DLL binds to the calling process’s memory space using a hash-based checksum. Relocation or injection from another process fails. | | Mutual Exclusion Lock | Uses a named Mutex (Windows) or flock (Linux/macOS) to block concurrent access. | | Signature Verification | The DLL checks its own digital signature against a hardcoded public key from Anego Studios. Any alteration prevents loading. | | Mod Loader Bypass Prevention | Custom hooks in ModLoader.LoadMod() detect and reject attempts to load the DLL as a standalone mod. |
Most advanced mods will list this as a required reference in their development environment (like Visual Studio) to ensure they can tap into the game's internal methods. Best Practices for Use vintagestorylibdll exclusive
Modding:Decompiler - Vintage Story Wiki