Skip to content

Commit 327c4c8

Browse files
author
Jacob Hrbek
committed
uplay: update workarounds
Attempt to work around rendering issues. As referenced on PhoenicisOrg/scripts#978 uplay needs application settings on `winvista` for `upc.exe` and `UbisoftGameLauncher.exe` to avoid rendering issues (PhoenicisOrg/scripts#965 (comment)). NOTICE: Outputs fatal error which is non-fatal, but i'm unable to stop it from appearing. Signed-off-by: Jacob Hrbek <[email protected]>
1 parent b0b1a21 commit 327c4c8

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

src/winetricks

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15058,16 +15058,32 @@ w_metadata uplay apps \
1505815058
year="2013" \
1505915059
media="download" \
1506015060
file1="UplayInstaller.exe" \
15061-
installed_exe1="$W_PROGRAMS_X86_WIN/Ubisoft/Ubisoft Game Launcher/Uplay.exe"
15061+
installed_exe1="${W_PROGRAMS_X86_WIN}/Ubisoft/Ubisoft Game Launcher/Uplay.exe"
1506215062

1506315063
load_uplay()
1506415064
{
1506515065
# Changes too frequently, don't check anymore
15066-
w_download https://static3.cdn.ubi.com/orbit/launcher_installer/UplayInstaller.exe
15067-
w_try_cd "$W_CACHE/$W_PACKAGE"
15066+
w_download 'https://ubistatic3-a.akamaihd.net/orbit/releases/winxp/installer/UplayInstaller.exe'
15067+
# New installer has issues with rendering on wine <4.15
15068+
#w_download https://static3.cdn.ubi.com/orbit/launcher_installer/UplayInstaller.exe
15069+
15070+
# Get workarounds
15071+
w_call 'corefonts'
15072+
# Required for client to open #1249 (winetricks)
15073+
w_set_app_winver 'upc.exe' 'winvista'
15074+
w_set_app_winver 'UbisoftGameLauncher.exe' 'winvista'
15075+
w_set_app_winver 'UbisoftGameLauncher64.exe' 'winvista'
15076+
w_set_app_winver 'Uplay.exe' 'winvista'
15077+
w_set_app_winver 'UplayService.exe' 'winvista'
15078+
w_set_app_winver 'UplayWebCore.exe' 'winvista'
15079+
w_set_app_winver 'UWebCore.exe' 'winvista'
15080+
w_set_app_winver 'Ubisoft Game Launcupc.exe' 'winvista'
15081+
15082+
w_try_cd "${W_CACHE}/${W_PACKAGE}"
15083+
w_warn "Launcher will output critical error which is non-fatal, press \"OK\" and ignore it."
1506815084

1506915085
# NSIS installer
15070-
w_try "$WINE" UplayInstaller.exe ${W_OPT_UNATTENDED:+ /S}
15086+
w_try "${WINE}" UplayInstaller.exe ${W_OPT_UNATTENDED:+ /S}
1507115087
}
1507215088

1507315089
#----------------------------------------------------------------

0 commit comments

Comments
 (0)