You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Message and error dialogs (XGameUi) as host task dialogs #8
The title can show message and error dialogs through the platform. Without them, an error path may hang waiting for an answer.
Goal: implement XGameUiShowMessageDialogAsync/Result and XGameUiShowErrorDialogAsync/Result as host task dialogs. They run on a thread of their own, like the text entry dialog does, and return the chosen button; a cancel returns the documented result.
Where:crates/xtp-hle/src/modules/xgameui.rs.
Reference (behaviour only): xcl hle/xgameruntime/api.rsclasses (the XGameUi list: which functions exist; they take no user handle). xcl forwards them to the PC runtime, whereas XTP implements them.
Done when
A unit test replaces the dialog with a fake that answers button 2, and the async result reports button 2.
xcl is GPL-2.0-only: read it for behaviour only, never copy its code (XTP is GPL-3.0-or-later). State where your code comes from in the PR.
No game data, keys, console SDK code or headers, nothing that circumvents DRM. Tests that need real inputs take paths from XTP_SAMPLE_* variables and skip cleanly in CI.
Claiming #8 — I will implement XGameUiShowMessageDialogAsync/Result and XGameUiShowErrorDialogAsync/Result in crates/xtp-hle/src/modules/xgameui.rs with host dialogs and unit tests covering button selection and cancellation.
Activity
PrivacyOnion commentedon Nov 24, 2026
Claiming #8 — I will implement XGameUiShowMessageDialogAsync/Result and XGameUiShowErrorDialogAsync/Result in crates/xtp-hle/src/modules/xgameui.rs with host dialogs and unit tests covering button selection and cancellation.
simnJS commentedon Nov 24, 2026
Thanks @PrivacyOnion, it's yours (assigned). Note that #26 is already up for it; I'll review it there.
Merge branch 'hangar/lighting-the-material-class-7873b7'