Docs: BCPack and XMA2 are in victory-formats, not planned #297

Closed
github-bot wants to merge 1 commit from gh-pr/297/head into gh-pr/297/base
Owner

@⁠SkippySteve on GitHub · 2026-11-24 02:07 UTC · original
SkippySteve/victory-pr-own-next19 → main · +4 −4 · 2 files · 1 commits · closed without merging

victory-formats already has bcpack (BCPack block-stream decode, used by DirectStorage) and xma (the XMA2 decoder), but two docs still call them planned:

  • crates/victory-formats/src/lib.rs: the crate docs listed only texture and said "Planned: BCPack textures, audio codecs (XMA2, Opus), and the zlib streams". They now name bcpack and xma with intra-doc links, and leave Opus as the one item still planned. zlib inflate happens through miniz_oxide in victory-hle::modules::dstorage and victory-game::sgd5, not in this crate, so I dropped it from the crate's plan.
  • docs/architecture.md: the crate table said "planned: BCPack". It now lists BCPack and XMA2.

This changes docs only, with no code changes.

Tests on Linux:

  • cargo test -p victory-formats passes.
  • cargo clippy -p victory-formats --all-targets -- -D warnings is clean.
  • cargo doc -p victory-formats --no-deps resolves the new [bcpack] and [xma] links. The one remaining rustdoc warning is the private MICRO link in texture.rs, which already exists and is #272's subject.
**@⁠SkippySteve** on GitHub · 2026-11-24 02:07 UTC · [original](https://github.com/Marvisak/VIctory/pull/297) `SkippySteve/victory-pr-own-next19` → `main` · +4 −4 · 2 files · 1 commits · closed without merging `victory-formats` already has `bcpack` (BCPack block-stream decode, used by DirectStorage) and `xma` (the XMA2 decoder), but two docs still call them planned: - `crates/victory-formats/src/lib.rs`: the crate docs listed only `texture` and said "Planned: BCPack textures, audio codecs (XMA2, Opus), and the zlib streams". They now name `bcpack` and `xma` with intra-doc links, and leave Opus as the one item still planned. zlib inflate happens through `miniz_oxide` in `victory-hle::modules::dstorage` and `victory-game::sgd5`, not in this crate, so I dropped it from the crate's plan. - `docs/architecture.md`: the crate table said "planned: BCPack". It now lists BCPack and XMA2. This changes docs only, with no code changes. Tests on Linux: - `cargo test -p victory-formats` passes. - `cargo clippy -p victory-formats --all-targets -- -D warnings` is clean. - `cargo doc -p victory-formats --no-deps` resolves the new `[`bcpack`]` and `[`xma`]` links. The one remaining rustdoc warning is the private `MICRO` link in `texture.rs`, which already exists and is #272's subject.
The crate docs and the architecture table still listed BCPack (and the
crate docs XMA2) as planned, though both modules exist. Name them, and
leave Opus as the one codec still to come.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:58:20 +00:00
github-bot closed this pull request 2026-11-26 03:58:20 +00:00
Author
Owner

@⁠SkippySteve on GitHub · 2026-11-24 02:08 UTC · original

duplicate of #296 — closing in favour of the clearer rustdoc wording

**@⁠SkippySteve** on GitHub · 2026-11-24 02:08 UTC · [original](https://github.com/Marvisak/VIctory/pull/297#issuecomment-7119801579) duplicate of #296 — closing in favour of the clearer rustdoc wording

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No reviewers
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/Marvisak--VIctory!297
No description provided.