SKYRIM SPECIAL EDITION
xSHADOWMANx's Dll Loader by xSHADOWMANx or Sumwunn at github
Skyrim Special Edition » Utilities
Added: 10/11/2016 - 01:12AM
Updated: 01/02/2017 - 12:13AM

10,097 Endorsements

1.0.0.3 Latest version

185,374 Unique D/Ls

276,147 Total D/Ls

611,761 Total Views

Uploaded by xSHADOWMANx

Description

Last updated at 0:13, 1 Feb 2017 Uploaded at 1:12, 10 Nov 2016

-
This cannot be installed with NMM, it will cause issues. You must install manually to avoid all issues.
-

What is this and how does it work?
This is my dll loader that I've created for use with all my dll mods.
It loads any dlls placed in Data\Plugins\Sumwunn (not created automatically). And then calls any exports listed via the dlls respective TXT exports file.

How to install
  1. Copy DINPUT8.dll from the download to Skyrim SE's root folder (where SkyrimSE.exe is, overwrite if asked, refer to THIS IMAGE if confused).
  2. After you've installed it, all of my mods can be installed via NMM.
  3. Read the notes.

How to uninstall
  1. Delete DINPUT8.dll from Skyrim SE's root folder.

How do I know if it's working?
DllLoader.log will be generated in Data\Plugins\Sumwunn.
It contains info about what dlls were loaded, what addresses they were loaded at, including any exports that were called along with their return values.

For developers:
Any dlls placed in Data\Plugins\Sumwunn will be loaded.

If you wish to have your dll exports called, you need to create a txt file that matches your dlls file name. Then append "_Exports.txt" so your txt file name looks like: YourDll.dll_Exports.txt.

Now you can use that exports txt to list your dll exports that will be called by the dll loader. Each dll export name must be on it's own line.

The working directory has not been changed, so if you want your log files to appear in Data\Plugins\Sumwunn you'll have to code it that way.

You MUST link my dll loader as a requirement when you upload your mod. This way your mod can be NMM enabled.

PM me if you any questions.

Source Code

NOTES
  • This will not get you VAC banned in any manner as Skyrim SE does not use any anti-cheat.
  • The folders Data\Plugins\Sumwunn aren't created automatically. You must create them manually or install one of my mods for the log files to show up.
  • This is NOT a SKSE replacement.
  • If the dll loader is not working, try restarting Steam and/or your computer.
  • This is NOT NMM compatible. It must be installed manually.
  • This does not use SKSE. It will also not conflict with it.
  • Written in C++/ASM (Visual Studio 2015 & HJWasm).
  • The Dll loader can be used to load any dll into Skyrim SE.

CREDITS:
Bethesda for Skyrim SE. (http://store.steampowered.com/app/489830/)
Microsoft for Visual Studio 2015. (https://www.visualstudio.com/)
The HJWasm devs. (https://github.com/Terraspace/HJWasm)