XMA tests: count frames only in the selected stream #1590
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!1590
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1590"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@zhaibingye on GitHub · 2026-11-24 19:31 UTC · original
zhaibingye:fix/xma-interleaved-frame-count→main· +27 −4 · 1 files · 1 commits · openwalks_saved_streams decodes one XMA stream but sums frame counts from every interleaved stream. Follow each header's packet skip when counting expected frames. The regression test covers two unevenly interleaved streams.
A five-packet synthetic input on main reported 8 frames counted, 4 walked, 0 decode errors. With the change it reports 4 counted and 4 walked. A single-stream control passes, and a packet claiming an extra frame still fails.
On Linux, cargo test --locked -p victory-formats passed (24 passed, 4 ignored by default). Clippy and cargo xtask policy passed. Synthetic inputs only. AI-assisted with Codex.
@acetonahard-code on GitHub · 2026-11-24 22:24 UTC · original
Tested on Windows 11 with the repo toolchain, merged into current
main(70564ae):cargo test -p victory-formatsmainmain+ this PRcargo clippy --all-targets -- -D warnings, with and without--all-features: clean.I didn't test with game data.
Tested locally with an AI-assisted script (Claude Code); I checked the results before posting.
@Marvisak on GitHub · 2026-11-25 01:31 UTC · original
Automated triage for the maintainers.
Needs rebase. This pull request conflicts with
main(conflicting:crates/victory-formats/src/xma.rs). It will be reviewed once it is rebased onto the currentmain.Generated by Claude Code
@Headache3318 on GitHub · 2026-11-25 01:33 UTC · original
Tested on Linux (Arch, kernel 7.3.5, 3× RTX 4090 driver 620.73.04), Rust 1.98.1 (pinned). PR head
44e0c31applied cleanly onto currentmainccfb029.cargo test --locked -p victory-formats: 24 passed, 0 failed, 4 ignored. All XMA tests pass, including the new regression test for counting frames in interleaved streams.cargo clippy -p victory-formats --all-targets --all-features --locked -- -D warnings: clean.Not tested: Windows MSVC build, the title itself. AI-assisted.
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.