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

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

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


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

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


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

<!-- greyfinch-sync:Marvisak/VIctory:comment:7120246637 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/296#issuecomment-7120246637). Originally posted by [SkippySteve](https://github.com/SkippySteve) on 2026-11-24T02:32:36Z. --- Folded into #315 to keep the PR count down. The commit is unchanged there.

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