PS09 pipeline cache parser #7

Open
opened 2026-11-26 20:55:39 +00:00 by github-bot · 0 comments
Owner

@⁠nineforge0 on GitHub · 2026-11-24 07:34 UTC · original

shaders.rpf entry #1 (zlib, ~137 MB inflated) is a driver pipeline cache next to the SGD5 shader databases that forge9 shaders now lists.

Goal

  • New src/formats/pipeline_cache.rs that parses the container header and enumerates pipeline state records: count, per-record size, and any shader references (names/hashes that match forge9 shaders output).
  • forge9 pipelines shaders.rpf 1 lists them.

Why

  • Linking pipeline states to shader records is the base for PC-port shader translation work: which shaders are combined, with which state.

Notes

  • Start with forge9 hexdump shaders.rpf 1 --limit 1024 and document the header layout you find in the module's //! comment, including what is still unknown.

See CONTRIBUTING.md for build, test and style notes. Please don't attach game files to the PR; build test data in memory.

**@⁠nineforge0** on GitHub · 2026-11-24 07:34 UTC · [original](https://github.com/nineforge0/forge9/issues/7) `shaders.rpf` entry #1 (zlib, ~137 MB inflated) is a driver pipeline cache next to the SGD5 shader databases that `forge9 shaders` now lists. **Goal** - New `src/formats/pipeline_cache.rs` that parses the container header and enumerates pipeline state records: count, per-record size, and any shader references (names/hashes that match `forge9 shaders` output). - `forge9 pipelines shaders.rpf 1` lists them. **Why** - Linking pipeline states to shader records is the base for PC-port shader translation work: which shaders are combined, with which state. **Notes** - Start with `forge9 hexdump shaders.rpf 1 --limit 1024` and document the header layout you find in the module's `//!` comment, including what is still unknown. See [CONTRIBUTING.md](https://github.com/nineforge0/forge9/blob/main/CONTRIBUTING.md) for build, test and style notes. Please don't attach game files to the PR; build test data in memory.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:55:40 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.