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

Closed
SkippySteve wants to merge 1 commit from upstream-pr/297 into main
SkippySteve commented 2026-11-24 02:07:15 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by SkippySteve on 2026-11-24T02:07:15Z.


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.
<!-- greyfinch-sync:Marvisak/VIctory:issue:6572973022 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/297). Originally posted by [SkippySteve](https://github.com/SkippySteve) on 2026-11-24T02:07:15Z. --- `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.
upstream-sync closed this pull request 2026-11-24 06:52:17 +00:00
SkippySteve commented 2026-11-24 06:55:07 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by SkippySteve on 2026-11-24T02:08:48Z.


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

<!-- greyfinch-sync:Marvisak/VIctory:comment:7119801579 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/297#issuecomment-7119801579). Originally posted by [SkippySteve](https://github.com/SkippySteve) on 2026-11-24T02:08:48Z. --- duplicate of #296 — closing in favour of the clearer rustdoc wording

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
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.

Reference
Marvisak/VIctory!297
No description provided.