[GAME STATUS]: Call of Duty: Black Ops II (PPSA34502): In game, all skinned characters render corrupted #1752

Open
opened 2026-11-26 10:04:41 +00:00 by github-bot · 1 comment
Owner

@⁠MinidevPaul on GitHub · 2026-10-20 04:22 UTC · original

Game title

Call of Duty: Black Ops II

Game ID / serial

PPSA34502 USA

KytyPS5 version

KytyPS5-2026-10-20-f186b35-Windows-x64

Compatibility status

In game

Last working build / first broken build

No response

Result details

Campaign is playable and the world renders correctly, but every animated character
(player arms, enemies, friendly NPCs) renders as corrupted geometry: triangles stretched
to extreme coordinates, fanning out in spikes from the model's position. Static world
geometry, terrain, vehicles and UI are all correct. The corruption tracks characters as
they move.

Performance collapses when corrupted characters are on screen: a locked 60 fps in clean
scenes drops to 19-38 fps, presumably from the rasterized area.

Only skinned geometry is affected, and vertices at extreme coordinates is the signature of
bad bone transforms. Given #931, skinning here presumably also runs as compute shaders
storing through V#s; if those stores land wrong or are read before they complete, this is
the shape of the result. I have not confirmed that by capture, so treat it as a lead
rather than a cause.

Present on f186b35, whose only change over 992a830 was shader-recompiler work
(ShaderRecompiler.cpp, SpirvEmitter.cpp, ResourceTracking.cpp). _PipelineCache was cleared
before testing, ruling out stale pipelines.

Flags tried with no effect: --shader-optimization-type None, --sync-raw-image-buffers true,
--readback-linear-images true, --tessellation, --network-connected true.

Two other findings:

  1. --playgo-hack is mandatory for this title. Without it, Zombies and Multiplayer show "The
    game is currently downloading the required data for this game mode." This dump has no
    PlayGo metadata: none of the three candidates in src/loader/systemContent.cpp:603-610
    exist, so PlayGoGetLocus cannot report chunks installed. With the flag
    (playgo_hack chunks = 1000) both menus load.

  2. Zombies and Multiplayer lobbies cannot start a match. The Local setup screen shows
    "1 Player (4 Max)" with the profile listed, and simultaneously "Cannot begin the game.
    Minimum 1 players." START MATCH stays greyed and no controller button registers a join.
    Same via LAN Party and Multiplayer. Controller detection is fine (Controller added /
    assigned to player 1 on every launch, including after the mode-switch relaunch into
    codzm.elf), IsPlayerConnected(0) is true, and IsPlayerLoggedIn(0) is hardcoded true.

Steps to reproduce the result

  1. Launch with --game --playgo-hack
  2. Campaign -> any mission -> look at any character, including your own arms
  3. For the lobby issue: Zombies -> Local -> press X to join

Expected behavior

Characters render as solid skinned meshes. Pressing X in a Local lobby registers player 1.

OS

Windows 11 Pro 26H2 (10.0.26200)

CPU

13th Gen Intel Core i9-13950HX

GPU

NVIDIA GeForce RTX 4060 Laptop GPU, driver 32.0.15.9579

RAM / VRAM

31.7 GB / 7.82 GB

Log file upload

kyty-log-f186b35.zip

Screenshots/video

No response

Extra notes

No response

**@⁠MinidevPaul** on GitHub · 2026-10-20 04:22 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1752) ### Game title Call of Duty: Black Ops II ### Game ID / serial PPSA34502 USA ### KytyPS5 version KytyPS5-2026-10-20-f186b35-Windows-x64 ### Compatibility status In game ### Last working build / first broken build _No response_ ### Result details Campaign is playable and the world renders correctly, but every animated character (player arms, enemies, friendly NPCs) renders as corrupted geometry: triangles stretched to extreme coordinates, fanning out in spikes from the model's position. Static world geometry, terrain, vehicles and UI are all correct. The corruption tracks characters as they move. Performance collapses when corrupted characters are on screen: a locked 60 fps in clean scenes drops to 19-38 fps, presumably from the rasterized area. Only skinned geometry is affected, and vertices at extreme coordinates is the signature of bad bone transforms. Given #931, skinning here presumably also runs as compute shaders storing through V#s; if those stores land wrong or are read before they complete, this is the shape of the result. I have not confirmed that by capture, so treat it as a lead rather than a cause. Present on f186b35, whose only change over 992a830 was shader-recompiler work (ShaderRecompiler.cpp, SpirvEmitter.cpp, ResourceTracking.cpp). _PipelineCache was cleared before testing, ruling out stale pipelines. Flags tried with no effect: --shader-optimization-type None, --sync-raw-image-buffers true, --readback-linear-images true, --tessellation, --network-connected true. Two other findings: 1. --playgo-hack is mandatory for this title. Without it, Zombies and Multiplayer show "The game is currently downloading the required data for this game mode." This dump has no PlayGo metadata: none of the three candidates in src/loader/systemContent.cpp:603-610 exist, so PlayGoGetLocus cannot report chunks installed. With the flag (playgo_hack chunks = 1000) both menus load. 2. Zombies and Multiplayer lobbies cannot start a match. The Local setup screen shows "1 Player (4 Max)" with the profile listed, and simultaneously "Cannot begin the game. Minimum 1 players." START MATCH stays greyed and no controller button registers a join. Same via LAN Party and Multiplayer. Controller detection is fine (Controller added / assigned to player 1 on every launch, including after the mode-switch relaunch into codzm.elf), IsPlayerConnected(0) is true, and IsPlayerLoggedIn(0) is hardcoded true. ### Steps to reproduce the result 1. Launch with --game <PPSA34502-app> --playgo-hack 2. Campaign -> any mission -> look at any character, including your own arms 3. For the lobby issue: Zombies -> Local -> press X to join ### Expected behavior Characters render as solid skinned meshes. Pressing X in a Local lobby registers player 1. ### OS Windows 11 Pro 26H2 (10.0.26200) ### CPU 13th Gen Intel Core i9-13950HX ### GPU NVIDIA GeForce RTX 4060 Laptop GPU, driver 32.0.15.9579 ### RAM / VRAM 31.7 GB / 7.82 GB ### Log file upload [kyty-log-f186b35.zip](https://github.com/user-attachments/files/33699322/kyty-log-f186b35.zip) ### Screenshots/video _No response_ ### Extra notes _No response_
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 10:04:41 +00:00
Author
Owner

@⁠HarrySpruce on GitHub · 2026-11-19 23:05 UTC · original

Root cause found for the exploded characters: it is the Windows red zone clobber, and --redzone fixes it.

Tested on build 5ad27cd (2026-11-19), PPSA34502 v01.010.000, Windows 11, i5-13600KF + RTX 4070. With --redzone on, the menu background characters and in-game characters render correctly. With it off, both are broken. AMD CPU patching on or off makes no difference.

What happens

  • BO2 skins on the CPU, not on the GPU. The broken vertex shader only pulls pre-skinned positions from a buffer, and no compute or vertex shader writes them.
  • The CPU skinning code in eboot.bin has four functions, for 1 to 4 bone weights: 0x900677760, 0x9006780e0, 0x9006785b0 and 0x900678af0. The 2-, 3- and 4-weight versions keep constants in the red zone below rsp: a 1.0f x4 vector at [rsp-0x20] ([rsp-0x28] in the 3-weight one) and a mask at [rsp-0x10]/[rsp-0x18]. They read these every vertex to compute 1 - sum(w).
  • Their output stores (0x900678593, 0x900678ad8, 0x90067906d) land on GPU-tracked pages, so each one takes a write-tracking fault. Windows builds the exception frame below rsp and overwrites those slots.
  • I dumped the registers and stack at the faulting store from inside KytyExceptionHandler. [rsp-0x20] held zeros instead of 1.0f x4, and [rsp-0x10]/[rsp-0x8] held host pointers. So blended vertices get garbage weights and fly off to extreme coordinates. Single-bone vertices (the 1-weight function, which has no red zone use) stay correct. That matches what this issue describes: spikes fanning out from each character.
  • With --redzone the log shows Windows guest red-zone patching: eboot.bin, functions=29037, red_zone=88, memory=2516, patched=2455, short=489, stack=0, control=0, unrelocatable=61. The skinning functions are covered.

Ruled out along the way: SSE4A/VRSQRTPS/VRCPPS emulation (INSERTQ never runs, and every rsqrt/rcp site is refined), WaitRegMem, submit timing (a 4 ms delay per submit changed nothing), page-granular staleness (the bad vertices are scattered, not in 4 KB blocks), and guest MXCSR.

So for this title, --redzone ("Red zone protection" in the launcher) should be listed as required, the same as for GTA V, Demon's Souls, Stray and the others in #1421.

**@⁠HarrySpruce** on GitHub · 2026-11-19 23:05 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1752#issuecomment-7024719718) Root cause found for the exploded characters: it is the Windows red zone clobber, and `--redzone` fixes it. Tested on build 5ad27cd (2026-11-19), PPSA34502 v01.010.000, Windows 11, i5-13600KF + RTX 4070. With `--redzone` on, the menu background characters and in-game characters render correctly. With it off, both are broken. AMD CPU patching on or off makes no difference. **What happens** - BO2 skins on the CPU, not on the GPU. The broken vertex shader only pulls pre-skinned positions from a buffer, and no compute or vertex shader writes them. - The CPU skinning code in eboot.bin has four functions, for 1 to 4 bone weights: `0x900677760`, `0x9006780e0`, `0x9006785b0` and `0x900678af0`. The 2-, 3- and 4-weight versions keep constants in the red zone below `rsp`: a `1.0f x4` vector at `[rsp-0x20]` (`[rsp-0x28]` in the 3-weight one) and a mask at `[rsp-0x10]`/`[rsp-0x18]`. They read these every vertex to compute `1 - sum(w)`. - Their output stores (`0x900678593`, `0x900678ad8`, `0x90067906d`) land on GPU-tracked pages, so each one takes a write-tracking fault. Windows builds the exception frame below `rsp` and overwrites those slots. - I dumped the registers and stack at the faulting store from inside `KytyExceptionHandler`. `[rsp-0x20]` held zeros instead of `1.0f x4`, and `[rsp-0x10]`/`[rsp-0x8]` held host pointers. So blended vertices get garbage weights and fly off to extreme coordinates. Single-bone vertices (the 1-weight function, which has no red zone use) stay correct. That matches what this issue describes: spikes fanning out from each character. - With `--redzone` the log shows `Windows guest red-zone patching: eboot.bin, functions=29037, red_zone=88, memory=2516, patched=2455, short=489, stack=0, control=0, unrelocatable=61`. The skinning functions are covered. **Ruled out along the way:** SSE4A/VRSQRTPS/VRCPPS emulation (INSERTQ never runs, and every rsqrt/rcp site is refined), WaitRegMem, submit timing (a 4 ms delay per submit changed nothing), page-granular staleness (the bad vertices are scattered, not in 4 KB blocks), and guest MXCSR. So for this title, `--redzone` ("Red zone protection" in the launcher) should be listed as required, the same as for GTA V, Demon's Souls, Stray and the others in #1421.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/KytyPS5--KytyPS5#1752
No description provided.