Skip to content

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

Closed
SkippySteve wants to merge 1 commit into
Marvisak:mainfrom
SkippySteve:SkippySteve/victory-pr-own-next18
Closed

SkippySteve wants to merge 1 commit into
Marvisak:mainfrom
SkippySteve:SkippySteve/victory-pr-own-next18

Conversation

@SkippySteve

@SkippySteve SkippySteve commented Nov 24, 2026 •

Copy link
Copy Markdown

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).
@SkippySteve

Copy link
Copy Markdown
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant