XSystem: report analytics device family as Windows.Xbox #1939
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1941"
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?
Imported from Marvisak/VIctory. Originally posted by ashrafsdrop on 2026-11-25T01:24:55Z.
Resolves VIC-BT-045 from #1249:
Summary
In \crates/victory-hle/src/modules/xsystem.rs, \nalytics_info\ previously reported \amily: text(\Xbox).
Per Microsoft GDK documentation for \XSystemAnalyticsInfo, the OS device family string for Xbox consoles running modern GDK / GameOS is documented as \Windows.Xbox\ (with desktop environments reporting \Windows.Desktop\).
Updates \amily\ to \ ext(\Windows.Xbox)\ and updates the test assertion in \nalytics_info_comes_back_through_the_buffer.
Verification
Imported from Marvisak/VIctory. Originally posted by catminou4 on 2026-11-25T02:10:41Z.
Review: COMMENTED
Static review only: victory-hle is Windows-only — nothing compiles or runs on macOS; source review of the diff.
XSystem: report analytics device family…: device-family reporting fix (Xbox vs PC analytics family).
Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T08:18:13Z.
Automated triage for the maintainers.
Merge candidate.
analytics_infoincrates/victory-hle/src/modules/xsystem.rsnow reports the device family asWindows.Xboxinstead ofXbox. The testanalytics_info_comes_back_through_the_buffernow asserts the new string.The PR cites the public documentation of the analytics info call for this value.
Windows.Xbox/Windows.Desktopis also the device-family naming that Windows' public analytics APIs use, so the change is consistent with that. The PR does not link the page, and a maintainer may want to confirm it there.The change is small and stays inside the struct's 64-byte field. Nothing else on
mainreads the field.CI:
checkpasses.Generated by Claude Code
Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T22:04:42Z.
Automated triage for the maintainers, second look (a review against current
main, with builds and tests where they could change the verdict).Closing because the value is unproven and the title does not read it. The public
XSystemAnalyticsInfopage gives "Xbox" and "Windows" as example family values, not "Windows.Xbox", and which string a console reports is not established. The title's two callers read only the OS version fields.If this is mistaken, reply here with what was missed and it will be looked at again. Thank you for the contribution.
Pull request closed