Whisky-App / Whisky

A modern Wine wrapper for macOS built with SwiftUI
https://getwhisky.app
GNU General Public License v3.0
11.73k stars 252 forks source link

[Bug]: Ubisoft Connect does not launch BETA UI #1004

Open gegy1 opened 2 months ago

gegy1 commented 2 months ago

Description

After installing ubisoft connect it updates to a new version but this version seems to be the old ubisoft connect version nit the new BETA version. I need to update to the BETA version because online games with other people resulting in a version conflict. Like Anno 1800 tells the bug LR05 which means that the clients have a different version. I can verify that the other client hast the BETA version of ubisoft connect. I can not change to BETA version in the UI of ubisoft connect also. I tried to switch to Windows 11 but this does not solve the problem.

Steps to reproduce

Make a new bottle Install dodnet48 using winetricks Install ubisoftconnect using winetricks or download it from the website Run ubsisoft connect

After login you get the old version of ubisoft connect

Bildschirmfoto 2024-05-31 um 01 08 22

Expected behaviour

Should update/download to the new (BETA) version of ubisoft connect.

Logs

No logs

What version of Whisky are you using?

2.3.2

What version of macOS are you using?

Sonoma (macOS 14)

Issue Language

gegy1 commented 2 months ago

I did another test yesterday: I installed the ubisoft client on a Windows 10 PC. After starting the client, the new BETA Ui is shown. So i thought: Why not to copy the whole ubisoft folder (Program Files x86) to the whisky bottle. So i deleted the ubisoft folder in the whisky bottle and replaced it with the folder from the windows 10 pc. Sadly, this does not solve the issue. I guess a explicit winetrick is needed, that ubisoft client shows the BETA Ui and Anno detects the BETA client version.

gegy1 commented 2 months ago

Seems that this is an issue on wine and Whisky using an very old version of wine. Ubisoft Connect seems to detect an old windows version. Should be fixed in a newer wine version. https://bugs.winehq.org/show_bug.cgi?id=49006

Gcenx commented 2 months ago

@gegy1 that bug clearly explains that Ubisoft Connect sees Windows 10 as Windows 8, that isn't the case in WhiskyWine so is unrelated.

While that bug would affect old versions of wine I'd cherry picked the relevant commits to resolve that bug.

gegy1 commented 1 month ago

@Gcenx I did some research meanwhile and figured out: You can set the bottle to windows 10/11 using winetricks (settings). This seems to work and let ubisoft connect start the "beta" version of the client. But there is another issue now. After showing the launchscreen of ubisoft connect you getting a big empty (transparent) screen of ubisoft connect. It seems the launcher is working but something is missing to display the window correctly. I also tryed your wineskin app, as you have a newer wine engine in your wineskin launcher and get the same issue. When i set the bottle to Windows 7 (also using winetricks) ubisoft connect starts the old version. But why i need the new beta version you ask: Because Anno 1800 seems to verify something for multiplayer. I can launch the game but i am getting an "incompatible version" error LR05. My network does not have an issue, because when i am playing from my old windows pc everything works.

Do you have any idea what the bottle is missing because of the blank/transparent window for the ubisoft connect client?

// Edit I think they using some browser engine which is missing in the bottle. I tried to install google chrome and chromium but both browser can not be installed. Installation does not run.

My Mac is an Mini M2 with 8gb Ram

Gcenx commented 1 month ago

@gegy1 CrossOver-24.0.4 and CrossOver-preview are affected by this so naturally Wineskin would also be affected.

Do you have any idea what the bottle is missing because of the blank/transparent window for the ubisoft connect client?

I don't own any games that require Ubisoft Connect, I just know that currently it works when setting the wineprefix to Windows 7.

I think they using some browser engine which is missing in the bottle. I tried to install google chrome and chromium but both browser can not be installed. Installation does not run.

Battle.net/EA-AppSteam/Ubisoft etc are all using CEF or similar browser engine these days and these are directly bundled so no need to install a browser to make them work.

gegy1 commented 1 month ago

@Gcenx I don't own any games that require Ubisoft Connect, I just know that currently it works when setting the wineprefix to Windows 7.

No need for a game to test this just install ubisoft connect from their website, set the bottle to windows 10/11 (using winetricks) and you see the result. Currently I am study the logs of wine in testruns but can not figure out whats wrong or what they doing when they launch on an OS higher than 8.1

Only errors i am finding: combase:RoGetActivationFactory Failed to find library for L"Windows.UI.ViewManagement.UISettings" erberos:kerberos_LsaApInitializePackage no Kerberos support, expect problems winediag:wined3d_adapter_create Using the Vulkan renderer for d3d10/11 applications. Display.cpp:1014 (initialize): ANGLE Display::initialize error 12289: WGL_NV_DX_interop2 is required but not present.