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

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

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


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.

<!-- greyfinch-sync:Marvisak/VIctory:issue:6572968495 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/295). Originally posted by [SkippySteve](https://github.com/SkippySteve) on 2026-11-24T02:06:53Z. --- 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.
upstream-sync closed this pull request 2026-11-24 06:52:16 +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:46Z.


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

<!-- greyfinch-sync:Marvisak/VIctory:comment:7119800982 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/295#issuecomment-7119800982). Originally posted by [SkippySteve](https://github.com/SkippySteve) on 2026-11-24T02:08:46Z. --- 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!295
No description provided.