Repository navigation
Conversation
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Progress report (9f53c52 → c61baee)📈 Libraries: 29.07% (+1.3216%, +6 implemented functions) ✅ 6 implemented
Changed libraries
|
12 tasks done
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Implements the six XSystem stubs of #22, the whole issue. Three of them are only partly served and stop for the rest; every choice is listed in the debt fragment.
XSystemGetAppSpecificDeviceIdMachineGuidand the<TitleId>. Stable for one title on one Windows installation, different between titles, and the machine GUID does not show through. A buffer under 45 returnsHRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER), likeXSystemGetConsoleId.XSystemGetAnalyticsInfoPctitles:osVersionandhostingOsVersionare the host Windows version,familyisWindows,formis empty. XboxOne and Scarlett titles stop.XSystemGetRuntimeInfoPctitles: both versions are zero, the documented value when the gaming runtime service is not installed. XboxOne and Scarlett titles stop.XSystemAllowFullDownloadBandwidthvoidas on the documentation page.XSystemHandleTrackS_OK; a non-null callback stops.XSystemIsHandleValidfalse; any other handle stops.Three points I would like your ruling on:
XSystemGetAnalyticsInfoandXSystemGetRuntimeInfo. The documentation does not give the title OS version, form string or runtime version a console reports, so I did not invent them. These are start-up calls, so a console title that makes them stops there, by name. If you have measured values, they slot into the twoAbxUnsupportedbranches.formis empty forPctitles. It is the one returned value without a source (the documentation gives no desktop example). It is in the fragment; say so if you would rather have the function stop.Other notes:
xgameruntimenow linksbcrypt(already used byd3d12_x). The device-type lookup moved into a helper so that a stop is reported under the calling export's name. The all-zero ID the documentation gives for an error is never returned, because the documentation does not say which result comes with it: an unreadable machine GUID stops.Tested
Windows 11, MSVC 19.38 (Visual Studio 2022), Ninja, Release, clean build directory:
pipeline_probeskipped (no Khronos validation layer here).app_device_id: short-buffer error, size 45, hex format, not all zeros, a nullappSpecificDeviceIdUsed, the machine GUID absent from the ID, then a second run with another title ID (different ID) and a third with the first title ID (same ID).system_pc: family, form, both OS versions against the host version read from the registry bye2e.py, zero runtime versions, the bandwidth call, null-handle cases.analytics_console,runtime_info_console,handle_track,handle_valid: the stop names the right function and message.e2e_app_device_idfails; restored, it passes.python tools/check_conventions.py,python tools/debt_fold.py --check(24 fragments),python tools/readme_docs.py: pass.progress.py --module xgameruntime: 78 implemented.windowsand bothrelinkerjobs green: https://github.com/CaseReed/AnyBox/actions/runs/45144497043Not tested: anything on a console (the ID format, the size reported in
appSpecificDeviceIdUsed, what consoles report for analytics and runtime info). No test triggers the two stops for an unreadable or unhashable machine GUID, nor a missing<TitleId>in the device-ID function.Self-review: an independent pass over the diff (signatures and layouts against the documentation pages, struct-return ABI on MSVC and MinGW, debt lines against the code, whether each test can fail) found nothing blocking. Fixed from it before opening: the all-zero ID was returned with an undocumented
S_OK; the bandwidth debt line did not say the page lists Xbox Series consoles only; the test read the Windows version throughsys.getwindowsversion(), which depends on the Python executable's manifest.Checklist
main; no other open PR implements the same functionspython tools/check_conventions.pypasses (no comments in code, one declaration per export, Conventional Commit subjects)AbxNotImplemented/AbxUnsupported); silent stubs are listed under Silent stubs through a debt fragmentdocs/dev/debt/changes/<branch>.md🤖 Generated with Claude Code