Docs: victory-formats already decodes BCPack and XMA2 #295

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

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

The victory-formats crate docs and the crate table in docs/architecture.md still describe BCPack (and, in the crate docs, XMA2) as planned. Both are implemented: bcpack is used by victory-hle::modules::dstorage, xma by victory-hle::modules::audio.

Change (docs only)

  • crates/victory-formats/src/lib.rs: list the three modules that exist (texture, bcpack, xma) with intra-doc links. Opus and zlib are not in this crate, so say where they are decoded: victory-hle (apu, dstorage), using opus-pure and miniz_oxide.
  • docs/architecture.md: the victory-formats row now reads "texture layouts, BCPack decoding, XMA2 audio decoding" instead of "planned: BCPack".

Tested on Linux: cargo test -p victory-formats (20 passed, 3 ignored), cargo clippy -p victory-formats --all-targets -- -D warnings, cargo xtask policy. cargo doc --no-deps -p victory-formats adds no warnings; the one it prints (a private link in texture.rs) was there before and is fixed separately in #272.

**@⁠SkippySteve** on GitHub · 2026-11-24 02:06 UTC · [original](https://github.com/Marvisak/VIctory/pull/295) `SkippySteve/victory-pr-own-next17` → `main` · +7 −4 · 2 files · 1 commits · closed without merging The `victory-formats` crate docs and the crate table in `docs/architecture.md` still describe BCPack (and, in the crate docs, XMA2) as planned. Both are implemented: `bcpack` is used by `victory-hle::modules::dstorage`, `xma` by `victory-hle::modules::audio`. **Change (docs only)** - `crates/victory-formats/src/lib.rs`: list the three modules that exist (`texture`, `bcpack`, `xma`) with intra-doc links. Opus and zlib are not in this crate, so say where they are decoded: `victory-hle` (`apu`, `dstorage`), using `opus-pure` and `miniz_oxide`. - `docs/architecture.md`: the `victory-formats` row now reads "texture layouts, BCPack decoding, XMA2 audio decoding" instead of "planned: BCPack". **Tested** on Linux: `cargo test -p victory-formats` (20 passed, 3 ignored), `cargo clippy -p victory-formats --all-targets -- -D warnings`, `cargo xtask policy`. `cargo doc --no-deps -p victory-formats` adds no warnings; the one it prints (a private link in `texture.rs`) was there before and is fixed separately in #272.
The crate docs and the architecture table still listed BCPack (and XMA2)
as planned, though both modules exist and HLE uses them. Say where Opus
and zlib are decoded instead (victory-hle, via opus-pure and miniz_oxide).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:58:16 +00:00
github-bot closed this pull request 2026-11-26 03:58:16 +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/295#issuecomment-7119800982) 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!295
No description provided.