Commit Graph
65 Commits
Author SHA1 Message Date
Dusk-92 a6bf31160f Fix DEBUG18 unused late rehook result 2026-08-28 21:24:05 +02:00
Dusk-92 441a97646e DEBUG18 show D3DX assembler message 2026-08-28 21:23:09 +02:00
Dusk-92 e27fcf1eba DEBUG18 capture D3DX shader error text 2026-08-28 21:23:04 +02:00
Dusk-92 1f1420ea53 DEBUG17 expose D3D9 failure HRESULTs 2026-08-28 21:04:57 +02:00
Dusk-92 0b8b415bab DEBUG17 capture shader and texture HRESULTs 2026-08-28 21:04:52 +02:00
Dusk-92 eb07e1d237 DEBUG16 expose shader and RT stages 2026-08-28 20:39:15 +02:00
Dusk-92 52361a9e42 DEBUG16 instrument shader and render-target creation 2026-08-28 20:39:11 +02:00
Dusk-92 1ed94e0387 DEBUG15 late rehook from OutlineDebug 2026-08-28 20:35:23 +02:00
Dusk-92 7797221071 DEBUG15 add late D3D9 rehook 2026-08-28 20:35:20 +02:00
Dusk-92 4acbd4e965 DEBUG14 disable first-frame forced D3D9 reset 2026-08-28 20:28:27 +02:00
Dusk-92 3751675336 Keep DEBUG13 output within Zig format arg limit 2026-08-28 20:20:57 +02:00
Dusk-92 2c3b35e788 Show live D3D9 vtable hook ownership 2026-08-28 20:19:57 +02:00
Dusk-92 0eb5cc2520 Expose live D3D9 hook ownership diagnostics 2026-08-28 20:19:53 +02:00
Dusk-92 cc7a5dd7f9 Expose post-publication scan diagnostic 2026-08-28 20:15:54 +02:00
Dusk-92 57fa079361 Track scans occurring after Outline publication 2026-08-28 20:15:49 +02:00
Dusk-92 41a53ce388 Expose Outline handoff diagnostics 2026-08-28 20:11:40 +02:00
Dusk-92 50c1a0b508 Instrument Outline Lua-to-render handoff 2026-08-28 20:11:36 +02:00
Dusk-92 9f9e56e764 Use atomic Lua-to-render handoff for Outline target 2026-08-28 20:02:45 +02:00
Dusk-92 4e8791687b Capture and pin Outline objects from Lua thread 2026-08-28 19:59:30 +02:00
Dusk-92 d4df1143ce Use Lua-thread pinned objects for Outline debug rendering 2026-08-28 19:59:25 +02:00
Dusk-92 e0f8592015 Expose UnitGUID object-resolution stages 2026-08-28 19:56:28 +02:00
Dusk-92 8e6d8e292e Use working UnitGUID path for Outline tracking 2026-08-28 19:56:25 +02:00
Dusk-92 35f90c85fb Add one-shot UnitGUID diagnostics to OutlineDebug 2026-08-28 19:52:04 +02:00
Dusk-92 2aeee3fceb Expose player GUID stage in OutlineDebug 2026-08-28 18:31:15 +02:00
Dusk-92 6ef29ba99f Track target independently from local player resolution 2026-08-28 18:31:12 +02:00
Dusk-92 1314860bde Let target Outline work without legacy object manager global 2026-08-28 18:22:12 +02:00
Dusk-92 bff19dd95b Show object manager readiness in OutlineDebug 2026-08-28 18:16:19 +02:00
Dusk-92 4eb37f4c23 Bypass broken IS_IN_WORLD gate in Outline debug 2026-08-28 18:16:14 +02:00
Dusk-92 b714c38ab7 Expose target acquisition stages in OutlineDebug 2026-08-28 18:06:19 +02:00
Dusk-92 bcf8cefb35 Split Outline target acquisition diagnostics 2026-08-28 18:06:15 +02:00
Dusk-92 ad706ccb9a Add in-game OutlineDebug diagnostics 2026-08-28 17:57:09 +02:00
Dusk-92 d7f93b3c00 Add sticky D3D9 Outline diagnostics 2026-08-28 17:56:47 +02:00
Dusk-92 62026da380 Add sticky Outline tracker diagnostics 2026-08-28 17:56:26 +02:00
Dusk-92 126f617ca1 Fix V8 OutlineCommand ABI to receive Lua state in ECX 2026-08-28 17:27:24 +02:00
Dusk-92 dbdb513e94 Use x86 fastcall for OutlineCommand callback 2026-08-28 17:09:38 +02:00
Dusk-92 5fe9a92672 Force Outline Lua calls through x86 register asm 2026-08-28 17:04:59 +02:00
Dusk-92 bbcc70fa0d Fix Outline Lua API calls on safe core V5 2026-08-28 16:54:46 +02:00
MarcelineVQ 727a4cc229 Scrub remaining absolute machine paths from module docs 2026-08-01 18:04:54 -07:00
MarcelineVQ 1d41a029a8 Scrub local machine paths from docs
Replace absolute /home/august/... references with neutral placeholders and
drop TODO.md links to plan files that only exist locally.
2026-07-27 21:49:44 -07:00
MarcelineVQ 3cab0db8c8 addons: prefix Outline and Log Sessions TOC titles with [WeirdUtils] 2026-03-24 17:09:08 -07:00
MarcelineVQ 79d9521953 Refactor addon system: derive module list from build.zig, prune inactive prefixes at runtime
- Eliminate hardcoded module_names in addons.zig — now derived from
  build.zig via all_module_names build option
- Add module_active.zig runtime registry: main.zig registers isActive
  pointers during install(), addons.zig queries them without importing
  each module directly
- Prune embedded file prefixes at startup: after all modules claim
  mutexes, build a runtime active_prefixes table excluding modules we
  don't own. findEmbeddedFile searches only active entries — no
  per-lookup isActive check on the hot path
- Tag both addon and asset prefixes with module_name so pruning applies
  to all embedded files for a module
- Rename src/markers/ → src/worldmarkers/, src/outline/api.zig →
  src/outline/outline.zig to follow {name}/{name}.zig convention
2026-03-13 11:40:49 -07:00
MarcelineVQ 3e37b96788 Consolidate shared game offsets and accessor functions
Extract duplicated WoW 1.12.1 addresses and game accessor functions
into shared modules (src/offsets.zig, src/wow.zig), replacing 5+
copies of getObjectByGUID, isInBattleground, isValidPtr, etc.

- src/offsets.zig: shared address constants (object manager, descriptor
  fields, map/zone, core function addresses, D3D9/GX)
- src/wow.zig: shared accessor functions (pointer validation, object
  manager traversal, field reads, unit helpers, battleground detection,
  game function wrappers, raid target cache)
- Update 10 modules to import from shared instead of inline constants
- Remove outline/wow.zig (promoted to src/wow.zig)
- Trim outline/offsets.zig and markers/offsets.zig to module-specific only
2026-03-10 13:53:29 -07:00
MarcelineVQ 1a9f0c237e Add outline Idris research notes 2026-03-10 13:27:45 -07:00
MarcelineVQ 0f14213b0b Add logging module with auto-prefix, route all output through Logger
Replace console.zig with logging.zig: per-module Logger with auto
[name] prefix, optional file output, and destination routing. Convert
all modules from manual [name] prefixes and global con.print to Logger
instances. Remove redundant "Module loaded" lines. Replace
OutputDebugStringA in outline/tracker with Logger. Add dpslog module
with structured combat log events (SPELL_DMG, PERIODIC, HEAL, MELEE).
Add clickthrough module and bigcursor D3D9 cursor scaling.
2026-03-10 13:26:45 -07:00
MarcelineVQ d325c9f684 Use hook.cc.* aliases and migrate remaining hook.fastcall calls
Replace all local calling convention declarations (const fc/tc/sc)
with hook.cc.fastcall/thiscall/stdcall from zhook. Migrate remaining
17 hook.fastcall() inline asm call sites to hook.call() with typed
function pointers.
2026-03-09 11:16:52 -07:00
MarcelineVQ 9c96a94dc1 Migrate inline asm call sites to hook.call()
Replace hand-written inline asm blocks with hook.call() typed function
pointer dispatch across 10 files. Also migrates 4 D3D9 COM vtable
NULL-dispatch blocks using ?*anyopaque optional pointers.

Net removal: ~350 lines of inline asm replaced by single-line calls.
2026-03-09 10:28:55 -07:00
MarcelineVQ 08cbbb2b8e Add faction/interactability filtering to minimap icons
Filter hostile units, wrong-faction summoned NPCs, and non-interactable
game objects from minimap tracking. Dynamic checks (UnitReaction, owner
faction, GO_FLAG_NO_INTERACT) run every frame since group membership can
change. GUID cache still handles static classification (NPC flags/subname).

Also fix missing ECX clobber in outline UnitReaction inline asm.
2026-03-08 17:15:17 -07:00
MarcelineVQ d2f91fe8c2 Replace screenshot addon with screenshotQuality CVar
Remove the embedded Screenshot addon (TOC + Lua) and WeirdUtilsScreenshot()
Lua function. Compression quality is now controlled entirely via a CVar
(saved to config.wtf), read fresh on each screenshot. CVar 0 disables PNG
and falls through to original TGA.
2026-03-08 12:24:19 -07:00
MarcelineVQ 6ce091607f Rename embedded addons to WeirdUtils_<name> namespace
Prefix all addon folder names with WeirdUtils_ to avoid collisions
with real addons. Rename SavedVariables global from UI_MinimapIcons
to WeirdUtils_MinimapIconsSettings.
2026-03-08 11:30:04 -07:00
MarcelineVQ 6266d6ff10 Remove core addon, it only contained test functions
The WeirdUtils core addon only provided /wu slash commands, a version
global, and a test function. Remove it along with the WeirdUtils
dependency from all module addon TOC files -- the DLL controls addon
load order directly so the dependency was cosmetic.
2026-03-07 11:11:49 -08:00