SSE Hooks

收藏人数:258
点赞次数:1014
下载次数:1977
资源大小:476 KB

资源介绍


详细介绍

简单简介

在3DM Mod站下载上古卷轴5:重置版最新的SSE Hooks Mod,由ryobg制作。nh2co3999在我们的平台上分享了这个免费且高质量的游戏模组,让玩家们可以享受到更加丰富的游戏体验。快来3DM Mod站下载并尝试吧!

详细介绍

Mod作者: ryobg Mod版本: 1.0 Mod大小: 476 KB 更新时间: 2019-05-12 15:07:08 发布时间: 2019-05-12 15:07:08

详细说明

动机

我已经看过许多次由于SSE / SKSE升级和我以及其他人的补丁mods破坏,等待有人用适当的“魔法”数字重建它们,以便它们可以再次使用。有些情况下数字甚至已知,但由于项目的封闭源性质或其构建/修复的复杂性,它留下了灰尘。


所以我想出了我自己的解决方案,这个解决方案在这里分享,并且有人也可以使用它。这个概念很简单:提供了连接内存中函数或变量的通用基础。有时这些可以自动找到,有时这些必须手动修复。为了避免重建二进制文件,可以使用将名称映射到地址的文件。当二进制文件想要修补给定的函数时,它将只读取该文件并查看其中的数字并继续。如果运行时更改,请更新文件,这就是全部。


特征

支持基于JSON的文件,该文件将唯一名称映射到地址(也可以执行运行时更新)。

使用用户配置文件重新分配相同的功能。

独立的SKSE版本

灵活操作内部JSON数据库,允许自定义设置和更新

相信它很方便,可以用于除C / C ++之外的其他语言,甚至可以用于Skyrim以外的其他应用程序。


源代码库上有更多功能齐全的文档和API规范:

https://github.com/ryobg/sse-hooks


备注

我认为这个mod还处于测试阶段,虽然我已经将它用于其他mod并且它做得很好。

当然,为该插件开发代码应该使用GitHub上提供的C / C ++头文件。


谢谢

强大的MinHook库,它被广泛使用。

来自nlohmann的轻量级JSON库。

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

Motivation
I have seen many times patch mods breaking due to SSE / SKSE upgrade and me, and others, waiting for somebody to rebuild them with the proper "magic" numbers so they can be used again. There were cases when the numbers are even known, but due to the closed source nature of the project or its complexity to build/fix it was left to dust. 

So I came up with my own solution, which is shared here, with the idea that somebody may use it too. The concept is simple: provide common base for hooking upon functions or variables in the memory. Sometimes these can be automatically found, sometimes these have to be fixed manually. In order to avoid rebuilding the binary, a file which maps name to an address can be used. When a binary wants to patch given function it will just read that file and see the number inside and go on. If the runtime change, update the file and thats all.

Features

Support JSON based file which maps unique names to address (runtime updates can be done too).

Overpatching the same function using user profiles.

Independant of SKSE version

Flexible manipulation of the internal JSON database, allowing custom settings and updates

Believe it is convenient enough to be used from other languages other than C/C++ and even for other application other than Skyrim.


There is more full-featured documentation and API specification on the source repo:
https://github.com/ryobg/sse-hooks

Remarks
I consider this mod still in test phase, though I have been using it already for other mods and it does great job.
Of course, developing code for that plugin should use the C/C++ header files available on GitHub.

Thanks
The mighty MinHook library which is used a lot around.
The lightweight JSON library from nlohmann.


文件说明

Mod截图

相关作品

宝儿 | Heybaby随从奥利维亚 | MOD 、白鹭的秘密 - Egret's Secret V1 | 上古卷轴5 uunp护甲大集合MOD | 模拟城市5 豪华科幻赌场MOD | 魔兽争霸3 1.24微辣战魂III狼子 v2.5正式版 |

nh2co3999的其他作品

  • 宝儿
  • Heybaby随从奥利维亚
  • MOD 、白鹭的秘密 - Egret's Secret V1
  • 上古卷轴5 uunp护甲大集合MOD
  • 模拟城市5 豪华科幻赌场MOD
  • 魔兽争霸3 1.24微辣战魂III狼子 v2.5正式版