feat(macos): Apple Silicon patcher with macOS platform WAD protection#242
Open
RealDoc06 wants to merge 3 commits into
Open
feat(macos): Apple Silicon patcher with macOS platform WAD protection#242RealDoc06 wants to merge 3 commits into
RealDoc06 wants to merge 3 commits into
Conversation
Skin mods designed for Windows were having their chunk hashes cross-matched into Bootstrap.macos.wad.client and ShaderCache.metal.wad.client via the overlay builder's cross-WAD distribution. This corrupted macOS-specific assets (Metal shaders, platform config) and crashed the game at loading screen. Automatically block these platform WADs from overlay patching on macOS. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
cslol-tools (commit 23f230858). Runs as an elevated helper process
communicating over a Unix socket with token-based authentication.
signature validation, and session cleanup on all exit paths.
bootstrap.macos.wad.clientandshadercache.metal.wad.clientfrom overlay patching on macOS. Cross-WAD hash matching was distributing
Windows skin mod chunks into these platform-specific WADs, corrupting
Metal shaders and macOS bootstrap assets — crashing the game at load.
Known limitations
in the macOS game WADs. The overlay builder treats these as new entries
and injects them into the patched WAD, which can crash the macOS client
at loading screen. This has been observed intermittently — the same mod
sometimes loads successfully, suggesting a potential race condition or
load-order dependency. Investigating a fix, likely an
ltk_overlayoption to skip new WAD entries on macOS. For now, users will need to
disable the affected skin mod if it causes crashes.