https://bugs.winehq.org/show_bug.cgi?id=48669
Bug ID: 48669 Summary: iphlpapi.NotifyUnicastIpAddressChange() should call the callback initially if requested (required for Far Cry 5 online mode) Product: Wine Version: 5.2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: iphlpapi Assignee: wine-bugs@winehq.org Reporter: gofmanp@gmail.com Distribution: ---
Created attachment 66526 --> https://bugs.winehq.org/attachment.cgi?id=66526 Patch
Far Cry 5 fails to connect to online mode due to the missing part of initialization which is done from NotifyUnicastIpAddressChange() callback. The callback is supposed to be called right away if InitialNotification flag is set.
The attached patch fixes the issue.
Far Cry 5 online mode also requires BCryptSecretAgreement(ECDH) and BCryptDeriveKey(KDF_HASH, SHA1 hash) implementation, which is Bug #47699.