Skip to content

fix(cs2): update scenesystem.dll shadow signatures for CS2 1.42.0.1 - #213

Closed
SpasaevDonut wants to merge 1 commit into
Wockstajit:mainfrom
SpasaevDonut:fix/cs2-2000950-signatures
Closed

SpasaevDonut wants to merge 1 commit into
Wockstajit:mainfrom
SpasaevDonut:fix/cs2-2000950-signatures

Conversation

@SpasaevDonut

Copy link
Copy Markdown
Contributor

Summary

Updates two scenesystem.dll AOB patterns that shifted in CS2 ClientVersion 2000950 (PatchVersion 1.42.0.1, Nov 23 2026) and updates the CS2 signature build stamp:

  • AfxHookSource2/Filmmaker/World/LightFx.cpp: updated kShadowBuildParentPattern for the new function prologue.
  • AfxHookSource2/Filmmaker/World/ShadowStageProbe.cpp: updated kCopySstBuilderPattern (and its version comment) for the new CopySSTDepthToCSM_PS builder prologue.
  • Automation/verify/cs2-build-stamp.txt: bumped ClientVersion=2000950, PatchVersion=1.42.0.1, VersionDate=Nov 23 2026 (SignaturesVerified=109).

Related issue

N/A

Scope and affected areas

  • CS2
  • Deadlock
  • Launcher
  • Website
  • Build or automation
  • Docs only

Significant files, dependencies, and behavior changes:

  • AfxHookSource2/Filmmaker/World/LightFx.cpp (kShadowBuildParentPattern)
  • AfxHookSource2/Filmmaker/World/ShadowStageProbe.cpp (kCopySstBuilderPattern)
  • Automation/verify/cs2-build-stamp.txt

Verification

  • Relevant automated tests passed (Automation/verify/verify-cs2-signatures.py — 109 signatures verified against CS2 2000950 / 1.42.0.1)
  • Build passed
  • In-game test performed
  • [] Regression or compatibility tested (N/A)
  • Security, licenses, secrets, and asset rights reviewed
  • Documentation updated (N/A — inline version comment updated)

AI assistance

  • AI-assisted: Yes
  • If yes: assisted with git commit/push and drafting this PR description; signature patterns and build stamp were reviewed against the diff.
  • Responsible contributor (GitHub username): @SpasaevDonut

Risks and limitations

  • pattern-verified against the 2000950 (1.42.0.1) binaries; runtime-tested in CS2 on this branch, but not functionally.

Deployment status

Not released

vibecoded with antigravity

…2000950)

Update kShadowBuildParentPattern in LightFx.cpp and kCopySstBuilderPattern in ShadowStageProbe.cpp for CS2 ClientVersion 2000950 (PatchVersion 1.42.0.1), and refresh Automation/verify/cs2-build-stamp.txt (109 signatures verified).
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Thank you @SpasaevDonut for tracking down and fixing both scenesystem.dll shadow signatures! I verified both patterns uniquely against CS2 1.42.0.1 (ClientVersion=2000951: kShadowBuildParentPattern at 0x19f230 calling kLightDirectionBuildPattern, and kCopySstBuilderPattern at 0x15b510 referencing CopySSTDepthToCSM_PS), incorporated them into #215 (merged to main), and backported them for v0.4.3 (#216). Really appreciate the contribution!

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@Wockstajit

Wockstajit commented Dec 2, 2026 •

Copy link
Copy Markdown
Owner

Thank you @SpasaevDonut for tracking down and fixing both scenesystem.dll shadow signatures! I verified both patterns uniquely against CS2 1.42.0.1 (ClientVersion=2000951: kShadowBuildParentPattern at 0x19f230 calling kLightDirectionBuildPattern, and kCopySstBuilderPattern at 0x15b510 referencing CopySSTDepthToCSM_PS), incorporated them into #215 (merged to main), and backported them for v0.4.3 (#216). Really appreciate the contribution!

@Wockstajit Wockstajit closed this Dec 2, 2026
Wockstajit added a commit that referenced this pull request Dec 2, 2026
… add-on, 1.42.0.1 shadow sigs (#215)

Fixes recent Discord bug/crash reports and incorporates #213 (credit @SpasaevDonut):

- DemoBarScrubJs, DemoScrub, DemoScrubMath: recover from missed Panorama SliderReleased events so a stuck scrub drag cannot hijack pause/seeks.
- EnvironmentNativeMaterialDerive, SmokeAppearance, SmokeAppearanceMath, RenderSystemDX11Hooks, Filmmaker: guard shader derivation/creation hooks against std::bad_alloc aborts, cap derivation worker concurrency and wait on commit headroom, gate the 512 MiB shader dump cache behind mvm_debug, bounds-check DXBC instruction lengths, and drain workers on shutdown.
- RenderSystemDX11Hooks: detour IDXGISwapChain::Release to clear g_pSwapChain before teardown instead of dangling in AfxViewportScaler::TrackBreaks.
- dlss-tool.cjs, ReShade.isolated.ini: refresh stale/non-addon d3d11.dll from bundled ReShade, remove stray ReShade dxgi.dll in the private bin, keep .\ in [ADDON] AddonPath, and un-disable mvm_reshade_state.addon64 in [ADDON] DisabledAddons so ReShade effects appear in renders.
- LightFx.cpp, ShadowStageProbe.cpp, cs2-build-stamp.txt: update scenesystem.dll shadow signatures for CS2 1.42.0.1 (ClientVersion 2000951), from #213.

Closes #214
Wockstajit added a commit that referenced this pull request Dec 2, 2026
…gnatures (#216)

Maintenance release 0.4.3 on release/0.4 (bug fixes only, no 1.0 features):

- Backports #198 (DeathMsg signatures for CS2 1.42) and #192 (SkyOrient entity class check).
- Incorporates #213 (scenesystem.dll shadow signatures for CS2 1.42.0.1, credit @SpasaevDonut).
- Backports #215: stuck demo-bar scrub drag recovery, shader derivation/hook std::bad_alloc guards, worker concurrency cap and commit-headroom backoff, mvm_debug gate on the 512 MiB shader dump cache, DXBC length bounds checks, clean worker shutdown, IDXGISwapChain::Release hook, and ReShade add-on launch repair (refreshing bundled ReShade d3d11.dll, clearing stray ReShade dxgi.dll, keeping .\ in [ADDON] AddonPath, and un-disabling mvm_reshade_state.addon64).
- Bumps launcher version to 0.4.3 and adds the 0.4.3 section to CHANGELOG.md (What's New).

Refs #214
Wockstajit added a commit that referenced this pull request Dec 2, 2026
…es (#218)

Credits @SpasaevDonut for the CS2 1.42.0.1 scenesystem.dll shadow signature updates from #213 (incorporated in #215 and shipped in v0.4.3).

Co-authored-by: SpasaevDonut <246049908+SpasaevDonut@users.noreply.github.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.

2 participants