hle: parse prefixed title ids in manifests #1421

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

@⁠ToxicmaggotRP on GitHub · 2026-11-24 17:55 UTC · original
ToxicmaggotRP:codex/manifest-titleid-self-closing → main · +48 −5 · 1 files · 1 commits · closed without merging

Fixes #715

Changes

  • Accept 0x and 0X prefixes in Game/TitleId before parsing the hexadecimal ID.
  • Keep the extracted body of self-closing XML elements empty, so following text is not attributed to them.
  • Add regression tests for both prefixes and self-closing element body isolation.

Validation

  • cargo test --locked -p victory-hle runtime::tests (4 passed)
  • rustfmt --edition 2024 --check crates/victory-hle/src/runtime.rs
  • git diff --check
**@⁠ToxicmaggotRP** on GitHub · 2026-11-24 17:55 UTC · [original](https://github.com/Marvisak/VIctory/pull/1421) `ToxicmaggotRP:codex/manifest-titleid-self-closing` → `main` · +48 −5 · 1 files · 1 commits · closed without merging Fixes #715 ## Changes - Accept `0x` and `0X` prefixes in `Game/TitleId` before parsing the hexadecimal ID. - Keep the extracted body of self-closing XML elements empty, so following text is not attributed to them. - Add regression tests for both prefixes and self-closing element body isolation. ## Validation - `cargo test --locked -p victory-hle runtime::tests` (4 passed) - `rustfmt --edition 2024 --check crates/victory-hle/src/runtime.rs` - `git diff --check`
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:31:04 +00:00
github-bot closed this pull request 2026-11-26 04:31:05 +00:00
Author
Owner

@⁠acetonahard-code on GitHub · 2026-11-24 21:00 UTC · original

Tested on Windows 11 with the repo toolchain, merged into current main (ffe310e):

cargo test -p victory-hle passed failed ignored
main 95 0 0
main + this PR 97 0 0
  • The 2 new tests pass.
  • cargo 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.

**@⁠acetonahard-code** on GitHub · 2026-11-24 21:00 UTC · [original](https://github.com/Marvisak/VIctory/pull/1421#issuecomment-7144358970) Tested on Windows 11 with the repo toolchain, merged into current `main` (ffe310e): | `cargo test -p victory-hle` | passed | failed | ignored | |---|---|---|---| | `main` | 95 | 0 | 0 | | `main` + this PR | 97 | 0 | 0 | - The 2 new tests pass. - `cargo clippy --all-targets -- -D warnings`, with and without `--all-features`: clean. I didn't test with game data. --- <sub>Tested locally with an AI-assisted script (Claude Code); I checked the results before posting.</sub>

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