XGameRuntime: separate XUser COM lookup ID namespaces #2922

Closed
CryingLaughing wants to merge 1 commit from upstream-pr/2922 into main
CryingLaughing commented 2026-11-26 23:36:43 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by CryingLaughing on 2026-11-26T23:36:43Z.


Fixes #2914. Route XUser COM slots #10 and #12 to their existing local-ID and Xbox user ID lookup functions, respectively. Each slot now checks its own identifier namespace.

What is in it

  • Register XUserFindUserByLocalId and XUserFindUserById as distinct entries in xgameruntime/api.rs. The Add-by-ID UI flow retains its existing fallback.
  • Exercise the two COM slots with matching and swapped synthetic IDs.

Tested

  • Head ecaa62d690ce3e7dba1212afc7fe77285366f7b1, parent 8b957bec6f82495aec940944c6bf47faa02db590. Windows 11 25H2 build 26200.9974, Core i5-13600K, Rust 1.100.0 x64 MSVC, debug. The workspace run used an RTX 4080, driver 621.01.
  • Built the paired CPU fixture with cargo test -p xcl --lib --locked --offline -j 2 --no-run --message-format=json and ran the emitted executable with --exact hle::xgameruntime::api::tests::xuser_lookup_slots_keep_id_namespaces_separate --test-threads=1 --nocapture. Main reported 0 passed and 1 failed. The fix reported 1 passed and 0 failed. Zero ignored and zero capability skips in both legs.
  • cargo build --workspace --locked --offline -j 2 passed. With XCL_ADAPTER=4080, cargo test --workspace --locked --offline -j 2 --no-fail-fast -- --test-threads=1 --show-output reported 1,447 passed, zero failed and 47 ignored. The pass count includes 29 SKIPPED notices: 21 Wave64, three translator refusals, one heap-window capability, one driver-cache toggle and three debug-layer checks.

Regression run

Matched retail smoke is pending.

Not tested

Retail titles and online authentication.

<!-- greyfinch-sync:ivall/xcl:issue:5518624156 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2922). Originally posted by [CryingLaughing](https://github.com/CryingLaughing) on 2026-11-26T23:36:43Z. --- Fixes #2914. Route XUser COM slots #10 and #12 to their existing local-ID and Xbox user ID lookup functions, respectively. Each slot now checks its own identifier namespace. **What is in it** - Register `XUserFindUserByLocalId` and `XUserFindUserById` as distinct entries in `xgameruntime/api.rs`. The Add-by-ID UI flow retains its existing fallback. - Exercise the two COM slots with matching and swapped synthetic IDs. **Tested** - Head `ecaa62d690ce3e7dba1212afc7fe77285366f7b1`, parent `8b957bec6f82495aec940944c6bf47faa02db590`. Windows 11 25H2 build 26200.9974, Core i5-13600K, Rust 1.100.0 x64 MSVC, debug. The workspace run used an RTX 4080, driver 621.01. - Built the paired CPU fixture with `cargo test -p xcl --lib --locked --offline -j 2 --no-run --message-format=json` and ran the emitted executable with `--exact hle::xgameruntime::api::tests::xuser_lookup_slots_keep_id_namespaces_separate --test-threads=1 --nocapture`. Main reported 0 passed and 1 failed. The fix reported 1 passed and 0 failed. Zero ignored and zero capability skips in both legs. - `cargo build --workspace --locked --offline -j 2` passed. With `XCL_ADAPTER=4080`, `cargo test --workspace --locked --offline -j 2 --no-fail-fast -- --test-threads=1 --show-output` reported 1,447 passed, zero failed and 47 ignored. The pass count includes 29 `SKIPPED` notices: 21 Wave64, three translator refusals, one heap-window capability, one driver-cache toggle and three debug-layer checks. **Regression run** Matched retail smoke is pending. **Not tested** Retail titles and online authentication.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
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.

Reference
xcl-dev/xcl!2922
No description provided.