Repository navigation
[BUNDLE] HLE runtime APIs (XGameRuntime, XStore, XSystem, XPackage, XG, XUser): #335 #475 #446 #1199 #449 #939 #412 #674 #957 #648 #455 #370 #1167 - #1368
Conversation
XStoreQueryPackageIdentifier documents E_INVALIDARG for a store id that has no installed package. We returned XPackage's 0x89245208 instead.
XGameUiShowTextEntryAsync documents a 1024-character maximum on console, 1024 for a maxTextLength of 0, and 1024 for the Password scope whatever the title asks. 0 meant no limit here, larger limits were kept and the scope was ignored.
runtime stores an absolute image path while relaunch_args searched raw CLI arguments for exact text, so a relative launch argument made XLaunchNewGame silently rerun the old title. Normalize the argument the same way runtime does before replacing it. Also split the title's quoted config args into proper arguments instead of split_whitespace. Add a regression covering a relative startup path, a different target and quoted/empty args.
Windows command lines quote only with double quotes. split_args treated an apostrophe as a quote too, so -name=O'Brien swallowed the following argument. Only toggle on ", and add the apostrophe case to the relaunch test (review note on Marvisak#455).
…, verified together Merges Marvisak#335 Marvisak#475 Marvisak#446 Marvisak#1199 Marvisak#449 Marvisak#939 Marvisak#412 Marvisak#674 Marvisak#957 Marvisak#648 Marvisak#455 Marvisak#370 Marvisak#1167 onto main (ffe310e), each head unchanged, no conflicts. One change of mine: Marvisak#446 makes the string getters report the required size on the insufficient-buffer branch (the two-call pattern of the real API), and the test Marvisak#1199 adds, put_string_refuses_what_it_cannot_fit, asserted that no size is reported. Together they failed; the test now expects the size, NUL included (4 for "abc"). cargo clippy --workspace --all-targets --locked -- -D warnings, with and without --all-features, is clean and cargo test --workspace --locked passes (370 passed, 6 ignored; main has 342 passed, 6 ignored). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Runtime boot check on real hardware with a retail dumpResult: no difference from I merged head 152368e onto
Warnings: 7, the same kinds and counts as on Limits. Without input, the title stays on the first-boot screens. This run does not exercise saves, the intro video, the start screen, loading or the world. It shows only that the change does not break startup or the first menus on this machine. I did not run the PR's tests. Machine: Ryzen 7 7800X3D, RTX 4070 SUPER, Windows 11 25H2, game 1.0.2.1. AI-assisted (Claude Code). |
|
Automated triage for the maintainers. Closing because this pull request re-packages other open pull requests. Each of those is reviewed on its own, so a bundle cannot be merged. If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution. |
One PR in place of 13. The HLE PRs on the game runtime APIs: XGameRuntime string getters, XStore, XSystem, XPackage, XG texture helpers, XUser, XGame, XGameUI and XNetworking slots. Every head is merged unchanged onto
main(ffe310e), and the result is built and tested together.What is inside
e3bef08982c22e2b2d881caef988466edd7bf625cc508d4306f475d2c7d4a32b9e5f2e9f246ecea96241b08f49eb8067f2e936e5e51c36ae257c9Changes made while bundling
No merge conflicts. One change of mine, in its own commit, because two of the PRs disagree: #446 makes the string getters report the required size on the insufficient-buffer branch (the two-call pattern of the real API), and the test #1199 adds,
put_string_refuses_what_it_cannot_fit, asserts that no size is reported. Together that test fails. It now expects the size, NUL included (4 for"abc"). If you prefer the old behaviour, drop #446 from the bundle and restore that line.Verification
Windows 11, RX 6950 XT, Rust 1.98.1 (the pinned toolchain):
cargo clippy --workspace --all-targets --locked -- -D warningscargo clippy --workspace --all-targets --all-features --locked -- -D warningscargo test --workspace --lockedmain: 342 passed, 6 ignored)The title was not run, so this says nothing about in-game effect. No game data is used or committed.
Re-verify in one go
To confirm that no component PR moved since this was built, compare each
Headabove withgh pr view <n> --repo Marvisak/VIctory --json headRefOid. If one differs, the branch needs a rebuild: merge the new head in the same order.If this lands
The component heads are in the history unchanged, so each PR's commits and authorship are kept and GitHub should mark them merged. Merging them one by one instead works too, with the exceptions noted above.
AI-assisted (Claude Code); no game data.
🤖 Generated with Claude Code