Ports four WeirdUtils modules (public domain, Zig) to C++ built with clang via `zig c++`, with MinHook 1.3.4 for detours. WeirdUtils needs a patched Zig compiler: stock Zig 0.16.0 miscompiles x86 __fastcall, which the WoW 1.12.1 client uses for its Lua API and many hooked functions. Core: - Lua protection bypass, Lua function registration on login/reload, and the WeirdUtils version table + GetWeirdUtilsVersion (AutoMarker needs it). - In-memory file serving (addon files, M2 models, BLP textures embedded with .incbin) and embedded addon registration. - WeirdUtils-compatible per-module mutexes, so leftover worldmarkers.dll / transmogfix.dll / weirdutils.dll skip the modules this DLL provides. - Single SceneEnd hook shared by Interact and Transmog Fix. Lua C functions are __fastcall(L): verified at 0x6F61A6 where the Lua VM calls them with L in ECX only. Verified offline: loads in a harness that maps WoW.exe at 0x400000, all 18 hooks and both byte patches applied, old companion DLLs step aside. Not yet tested in game. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
33 lines
847 B
Plaintext
33 lines
847 B
Plaintext
1 VERSIONINFO
|
|
FILEVERSION 1,3,4,0
|
|
PRODUCTVERSION 1,3,4,0
|
|
FILEFLAGSMASK 0x17L
|
|
#ifdef _DEBUG
|
|
FILEFLAGS 0x1L
|
|
#else
|
|
FILEFLAGS 0x0L
|
|
#endif
|
|
FILEOS 0x4L
|
|
FILETYPE 0x2L
|
|
FILESUBTYPE 0x0L
|
|
BEGIN
|
|
BLOCK "StringFileInfo"
|
|
BEGIN
|
|
BLOCK "040904b0"
|
|
BEGIN
|
|
VALUE "CompanyName", "Tsuda Kageyu"
|
|
VALUE "FileDescription", "MinHook - The Minimalistic API Hook Library for x64/x86"
|
|
VALUE "FileVersion", "1.3.4.0"
|
|
VALUE "InternalName", "MinHookD"
|
|
VALUE "LegalCopyright", "Copyright (C) 2009-2017 Tsuda Kageyu. All rights reserved."
|
|
VALUE "LegalTrademarks", "Tsuda Kageyu"
|
|
VALUE "ProductName", "MinHook DLL"
|
|
VALUE "ProductVersion", "1.3.4.0"
|
|
END
|
|
END
|
|
BLOCK "VarFileInfo"
|
|
BEGIN
|
|
VALUE "Translation", 0x409, 1200
|
|
END
|
|
END
|