Skip to content

Shader split: read Saber Swarm SDC caches - #661

Open
aldotms89 wants to merge 2 commits into
igawa6:mainfrom
aldotms89:saber-sdc-caches
Open

aldotms89 wants to merge 2 commits into
igawa6:mainfrom
aldotms89:saber-sdc-caches

Conversation

@aldotms89

Copy link
Copy Markdown

What and why

World War Z stores NVN shader records in zlib-compressed blocks with an index. Detect the cache from its contents and extract the records from loose or archived caches. Treat single-stage records as separable. This branch is stacked on #660 (zip-padded-members); review its second commit or rebase after the ZIP change lands. See the Saber Swarm SDC entry in docs/reference/shaders.md.

Checked

  • PC Python: all 3 synthetic cache tests passed.
  • PC documentation: all 11 checks passed.
  • Phone runs on the test app: none on this branch.
  • GPU drivers: no new system-driver or Turnip run.

Docs

  • Added the SDC reference entry and regenerated the symptom index.
  • No game files, keys, or extracted game bytes in the change or attachments.
  • Source and metadata only. No binaries, vendored files, or chain version files in the branch.

Some archives append alignment bytes to stored entries. Validate the declared-size prefix against the directory CRC before falling back to Viper LZ4. A synthetic ZIP checks both acceptance and rejection.
Recognize the block index and zlib streams to extract bounded NVN control and code records from loose and archived caches. Exercise the reader with synthetic caches.
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