Docs: victory-formats already holds BCPack and XMA2 #296

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

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

Supersedes #295 and #297, which made the same docs fix.

The victory-formats crate docs say BCPack and XMA2 are "planned", and the crate table in docs/architecture.md lists BCPack under "planned". Both modules (bcpack, xma) are already in the crate. The docs also suggested Opus and zlib would end up here, but victory-hle decodes those with opus-pure and miniz_oxide.

Changes:

  • crates/victory-formats/src/lib.rs: list texture, bcpack and xma as intra-doc links, so rustdoc flags the list if a module is renamed. Add one line saying where Opus and zlib are decoded.
  • docs/architecture.md: the victory-formats row now reads "texture layouts …, BCPack decoding, XMA2 audio decoding". The "planned" note is gone.

This only changes docs. I checked it on Linux:

  • cargo test -p victory-formats passes (20 passed, 3 ignored because they need data from outside the repo).
  • cargo clippy -p victory-formats --all-targets -- -D warnings is clean.
**@⁠SkippySteve** on GitHub · 2026-11-24 02:06 UTC · [original](https://github.com/Marvisak/VIctory/pull/296) `SkippySteve/victory-pr-own-next18` → `main` · +11 −5 · 2 files · 1 commits · closed without merging Supersedes #295 and #297, which made the same docs fix. The `victory-formats` crate docs say BCPack and XMA2 are "planned", and the crate table in `docs/architecture.md` lists BCPack under "planned". Both modules (`bcpack`, `xma`) are already in the crate. The docs also suggested Opus and zlib would end up here, but `victory-hle` decodes those with `opus-pure` and `miniz_oxide`. Changes: - `crates/victory-formats/src/lib.rs`: list `texture`, `bcpack` and `xma` as intra-doc links, so rustdoc flags the list if a module is renamed. Add one line saying where Opus and zlib are decoded. - `docs/architecture.md`: the `victory-formats` row now reads "texture layouts …, BCPack decoding, XMA2 audio decoding". The "planned" note is gone. This only changes docs. I checked it on Linux: - `cargo test -p victory-formats` passes (20 passed, 3 ignored because they need data from outside the repo). - `cargo clippy -p victory-formats --all-targets -- -D warnings` is clean.
The crate's rustdoc listed BCPack and XMA2 as planned and the architecture
table still had BCPack under "planned", though both modules are in the
crate. List the three modules with links, and say where Opus and zlib are
decoded instead (victory-hle, with opus-pure and miniz_oxide).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:58:18 +00:00
github-bot closed this pull request 2026-11-26 03:58:18 +00:00
Author
Owner

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

Folded into #315 to keep the PR count down. The commit is unchanged there.

**@⁠SkippySteve** on GitHub · 2026-11-24 02:32 UTC · [original](https://github.com/Marvisak/VIctory/pull/296#issuecomment-7120246637) Folded into #315 to keep the PR count down. The commit is unchanged there.

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!296
No description provided.