Skip to content

Missing UWP AppModel API forwarders break xgameruntime.dll (Forza Horizon 6) #5

Description

@TheEX1T

Forza Horizon 6 exits silently with no Xbox login popup.

Diagnosed via WINEDEBUG=+loaddll,+module — xgameruntime.dll loads
but immediately shuts down all threads because these API forwarders
have no implementation:

api-ms-win-appmodel-runtime-l1-1-3.dll → GetCurrentPackagePath2
api-ms-win-appmodel-runtime-l1-1-0.dll → PackageFamilyNameFromFullName
api-ms-win

fh6-loaddll.log

-appmodel-runtime-l1-1-0.dll → PackageNameAndPublisherIdFromFamilyName
api-ms-win-core-registry-l1-1-2.dll → RegQueryMultipleValuesW

Without these, Xbox Game Runtime has no auth context, login popup
never appears, game exits.

System: CachyOS, wine-cachyos 11.0, RTX 3070, kernel 7.0.5

KEY LOG LINES (fh6-loaddll.log):
line 104: load_dll looking for xgameruntime.dll
line 120: No implementation for GetCurrentPackagePath2
line 122: No implementation for PackageNameAndPublisherIdFromFamilyName
line 123: No implementation for PackageFamilyNameFromFullName
line 129: process_attach xgameruntime - START
line 131: process_attach xgameruntime - END
lines 141-149: immediate THREAD_DETACH on all xgameruntime threads

KEY LOG LINES (fh6-wine-direct.log):
line 46-50: vkd3d loads fine, GPU works
line 62: WerRegisterCustomMetadata AppSessionId (game registers
error session then exits no auth attempt made)

fh6-wine-direct.log

fh6-loaddll.log

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions