Skip to content

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

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

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

Conversation

@SkippySteve

Copy link
Copy Markdown

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

Copy link
Copy Markdown
Author

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

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