Skip to content

diagnostic - #2

Closed
UNYTIX wants to merge 1 commit into
mainfrom
fix/oleaut32-host-allowance
Closed

UNYTIX wants to merge 1 commit into
mainfrom
fix/oleaut32-host-allowance

Conversation

@UNYTIX

@UNYTIX UNYTIX commented Nov 24, 2026

Copy link
Copy Markdown
Owner

diagnostic

…bind

`vccorlib140.dll` imports `OLEAUT32.dll!Marvisak#4` (`SysAllocStringLen`) and `Marvisak#6`
(`SysFreeString`) by ordinal. They are the only two real gaps left in the
census: the other 72 unresolved imports are exports of the title's own DLLs,
which the loader binds as title imports. System32's `oleaut32.dll` exports the
same BSTR pair at the same ordinals, and the host resolver already handles
ordinal imports through `GetProcAddress`, so the DLL only needs to be on the
allow list. Unbound, both slots stay trap stubs and the first BSTR call would
abort the process; nothing on the boot/menu path loads `vccorlib140.dll`
today, so this is latent rather than active.

Census: 995 functions, 130 HLE, 793 host, 72 missing (was 791 host, 74
missing).

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
@UNYTIX UNYTIX closed this Nov 24, 2026
UNYTIX added a commit that referenced this pull request Nov 24, 2026
VICTORY_DUMP_TARGETS saved render targets and texture UAVs only, so a
buffer a compute writes (the lighting pass's structured inputs, #2) could
not be checked. With it set, each title memory range a listed frame binds
for unordered access is now:

- logged when first bound ("uav buffer", index, address, length): with
  the draw trace on, right after the draw or dispatch that first writes it;
- summarized at the frame's present from its host copy, which holds what
  the shaders wrote ("uav buffer contents": dwords, zero dwords,
  NaN/infinite dwords, min/max/mean as f32, "(all zero)" when empty);
- saved as frame-<n>-buf<i>-<address>-<len>.bin up to 4 MiB (views of
  the whole heap are only summarized).

At most 4096 ranges per frame, each (copy, address, length) once.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant