No game-specific code: watchdog patches still applied every run; write-sites and VICTORY_POKE are off and deletable #265
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/vktory6--VKtory#265
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@TheRifai on GitHub · 2026-12-02 18:46 UTC · original
Finding (new TASKS item "No game-specific code, patches or hacks", line ~991)
Seen on: main
a58cd90(code read) with a 75 s house run on88d66ae(/home/shlong/Documents/VKtory-capture/regress88-A1/20261202-185031/).Current state of the inventory, with local evidence:
victory-loader::windowslogstitle watchdog hooks applied=2for the title executable (and0for each DLL) — the two hardcodedWATCHDOGoffsets inhooks.rsare active on every start. Removing them still needs the cause of #16 fixed first, as TASKS says.VICTORY_WRITE_SITES(write_sites.rs,titlewrite.rs) andVICTORY_POKE(apps/victory/src/run.rs:284); a normal run has zero write-site lines. These are the smallest deletions in the inventory (~1,400 lines for the first pair, a few dozen forVICTORY_POKE).console_insnrewrites: generic fault-driven emulation stays; theVICTORY_PATCH_WAITS/VICTORY_PATCH_CLZEROcode rewrites need an Intel CPU to measure the emulation-only cost, which I do not have.I am not pushing a deletion PR: the account's branch pushes are currently blocked (REST ref creation 404, GraphQL FORBIDDEN, OAuth token missing
workflowscope, no SSH key), and I will not force-push or bypass it. This issue records the reachable/unreachable split so the two off-by-default groups can be deleted once pushes are restored; the watchdog group needs the #16 cause first.@TheRifai on GitHub · 2026-12-02 18:55 UTC · original
Smallest item from this inventory is prepared locally but cannot be pushed yet: removal of
VICTORY_POKE(apps/victory/src/run.rs, 29 lines, no callers after the edit).tools/build.shexit 0;cargo test -p vkback --test policy6/6. A/B/B/A on maina58cd90against the patched build, housert3, 70 s, GE-Proton11-16: control 28.39/27.34 fps, patched 25.19/27.94 — inconsistent (the switch is off by default in both, so no behaviour change expected). Evidence/home/shlong/Documents/VKtory-capture/removepoke-{control,run,run2,control2}/. Branchremove-pokeis ready at/home/shlong/Documents/VKtory-removepoke; pushes are still blocked by the account's missingworkflowscope / ref-creation permission, so no PR is opened from here.@vktory6 on GitHub · 2026-12-02 19:19 UTC · original
Thanks for the inventory and the reachable/unreachable split. It matches what we found.
Already done:
github.com/vktory6/VKtory@73304fddeleteswrite_sites,titlewrite(with its decoder and the guards' "beside" mechanism) andVICTORY_POKE, about 1,950 lines. That covers both of your "off by default" groups, so there's nothing to push for those.What's left stays in the TASKS item "No game-specific code, patches or hacks", which tracks each piece:
hooks.rsWATCHDOG, applied on every start): they stay on purpose until the cause behind #16 is fixed (what the title's own hang check measures, and why our timing trips it). When that happens is an open decision on our side, so no date.console_insnrewrites (VICTORY_PATCH_WAITS/VICTORY_PATCH_CLZERO): the emulation stays; whether the rewrite can go needs the emulation-only cost measured on an Intel CPU.I'm keeping this issue open as the tracker for those.
@vktory6 on GitHub · 2026-12-02 19:33 UTC · original
Related discussion: https://github.com/vktory6/VKtory/discussions/264 ("Our own runtime vs Wine") is where the Wine/Proton side of these items is being discussed.
@TheRifai on GitHub · 2026-12-02 19:55 UTC · original
Confirmed: I dropped my local VICTORY_POKE removal as duplicate work of
73304fd. Nothing to push for the off-by-default group. The remaining three pieces are correctly tracked here (watchdog needs the #16 cause; console_insn rewrites need an Intel CPU measurement; private-only copies are on your side).