Initial commit: WeirdUtils DLL for WoW 1.12.1

Lua protection bypass, embedded addon loading, async PNG screenshots
with self-contained deflate compressor (store + fixed Huffman).
15KB ReleaseSmall.
This commit is contained in:
MarcelineVQ
2026-02-23 16:02:55 -08:00
commit b7f293c8c5
11 changed files with 1814 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
const std = @import("std");
pub fn build(b: *std.Build) void {
const target = b.resolveTargetQuery(.{
.cpu_arch = .x86,
.os_tag = .windows,
.abi = .msvc,
});
const optimize = b.standardOptimizeOption(.{});
const hook_mod = b.dependency("hook", .{
.target = target,
.optimize = optimize,
}).module("hook");
const lib = b.addLibrary(.{
.name = "weirdutils",
.linkage = .dynamic,
.root_module = b.createModule(.{
.root_source_file = b.path("src/main.zig"),
.target = target,
.optimize = optimize,
.imports = &.{
.{ .name = "hook", .module = hook_mod },
},
}),
});
b.installArtifact(lib);
}