会员登录

自动登录   |    忘记密码 新会员注册

DLL插件加载器

作者:meh321
发布:LUOHUISHU98
发布日期:2019-12-30 22:07:16
更新时间:2019-12-30 22:07:16
头像
799
401 人收藏
1639 次下载
5095 次浏览
1.0
上古卷轴5:重置版
本地下载 高速下载 需要优先下载下载器,50%提速

如何安装:


1.转到您的Skyrim特别版根目录。这是SkyrimSE.exe所在的文件夹,通常是“ C:\ Program Files(x86)\ Steam \ steamapps \ common \ Skyrim特别版\”


2.将“ binkw64.dll”重命名为“ binkw64_.dll” <-现在末尾有一个_。


3.将下载的存档中的“ binkw64.dll”放入步骤1中提到的文件夹中。


4.如果操作正确,则文件夹中现在应该有两个文件:“ binkw64.dll”和“ binkw64_.dll”,仅此而已,您可以立即开始游戏。



如何检查一切是否正常:


1.转到安装“ binkw64.dll”(SkyrimSE.exe文件夹)的位置


2.创建一个不存在的名为“ binkw64.log”的新文件,确保扩展名为“ log”而不是“ txt”!


3.开始游戏然后退出游戏,如果您只进入主菜单,无需加载到任何保存的游戏中就可以了。


4.现在打开“ binkw64.log”文件,它将说出检查了哪些插件以及它们是否正确加载。


5.如果文件为空,则找不到插件!这可能表明权限存在问题,或者文件夹路径“ Data \ DLLPlugins”不存在。



对于mod作者-如何加载DLL:


1.将您的dll文件放在“ Data \ DLLPlugins”中。就是这样,您的插件将自动加载。


(2.)可选!如果由于加载程序锁定或其他问题而需要运行某些无法在DllMain中完成的代码,请将该代码添加到任何地方:


外部“ C”

{

    __declspec(dllexport)void Initialize()

    {

        //在这里做任何你想做的事...

    }

}



此函数将在DllMain之后立即调用,但是如果仅执行简单的内存编辑,则不需要此函数。



如果其他人已经存在,为什么还要再做一个?


我需要在游戏代码中执行静态构造函数之前先加载插件。

————————————————————————————————


How to install:

1. Go to your Skyrim Special Edition root directory. This is the same folder where SkyrimSE.exe is, usually "C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\"

2. Rename "binkw64.dll" to "binkw64_.dll" <- now there's a _ at the end.

3. Put the "binkw64.dll" from downloaded archive into the folder mentioned in step 1.

4. If you did it correctly you should have two files in your folder now: "binkw64.dll" and "binkw64_.dll", that's all, you can start the game now.


How to check if everything is working correctly:

1. Go to where you installed "binkw64.dll" (SkyrimSE.exe folder)

2. Create a new file if it does not exist called "binkw64.log", make sure the extension says "log" and not "txt"!

3. Start game and then exit game, it's fine if you only entered to main menu, no need to load into any save game.

4. Now open the "binkw64.log" file, it will say what plugins if any were checked and whether they loaded correctly.

5. If the file is empty then no plugins were found! This could indicate a problem with permissions or the folder path "Data\DLLPlugins" does not exist.


For mod authors - how to get your DLL to load:

1. Put your dll file in "Data\DLLPlugins". That's all, your plugin will be loaded automatically.

(2.) OPTIONAL! If you need to run some code that can't be done in DllMain due to Loader lock or other issues then add this code to anywhere:

extern "C"
{
    __declspec(dllexport) void Initialize()
    {
        // Do whatever you want here...
    }
}



This function will be called immediately after DllMain, but this is not required if you only do simple memory edits.


Why make another one when others already exist?

I needed the plugin to be loaded before static constructors are executed in game code.




原贴地址
1.版本号: 1.0   更新时间: 2019-12-30 22:09:17

选择快速回复类型:
  • 感谢
  • 支持
  • 疑问
  • 卖萌
  • 关心
  • 傲娇
评论


    作者精品
    logo

    DLL插件加载器


    Mod大小:98.7 KB
    上传时间:2019-12-30 22:07:16

    Mod简介:

    暂无更多介绍


    选择快速回复类型:
    • 感谢
    • 支持
    • 疑问
    • 卖萌
    • 关心
    • 傲娇
    回复

    closeAD