From 6a7fffba47cb2a292953a6280b948a38694b949b Mon Sep 17 00:00:00 2001 From: Mikhail Tergoev Date: Mon, 20 Oct 2025 22:08:08 +0300 Subject: [PATCH] added WINE_SIMULATE_WRITECOPY=1 for Ubisoft and Battle.net --- .../scripts/portwine_db/Battle.net_Launcher.ppdb | 1 + data_from_portwine/scripts/portwine_db/EALauncher.ppdb | 5 ++--- data_from_portwine/scripts/portwine_db/UbisoftConnect.ppdb | 2 +- data_from_portwine/scripts/pw_autoinstall/PW_BATTLE_NET | 3 ++- data_from_portwine/scripts/pw_autoinstall/PW_UBISOFT | 1 + 5 files changed, 7 insertions(+), 5 deletions(-) diff --git a/data_from_portwine/scripts/portwine_db/Battle.net_Launcher.ppdb b/data_from_portwine/scripts/portwine_db/Battle.net_Launcher.ppdb index dd038993..950c4d23 100644 --- a/data_from_portwine/scripts/portwine_db/Battle.net_Launcher.ppdb +++ b/data_from_portwine/scripts/portwine_db/Battle.net_Launcher.ppdb @@ -12,6 +12,7 @@ export PW_DLL_INSTALL="vcrun2019 d3dx11_42 d3dx11_43" export PW_WINDOWS_VER="10" export PW_WINE_FULLSCREEN_FSR="0" export PW_WINE_USE="PROTON_LG" +export WINE_SIMULATE_WRITECOPY="1" add_in_start_portwine () { rm -fr "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/ProgramData/Agent/data" diff --git a/data_from_portwine/scripts/portwine_db/EALauncher.ppdb b/data_from_portwine/scripts/portwine_db/EALauncher.ppdb index a0e252dd..0d395934 100644 --- a/data_from_portwine/scripts/portwine_db/EALauncher.ppdb +++ b/data_from_portwine/scripts/portwine_db/EALauncher.ppdb @@ -4,9 +4,8 @@ #EADesktop.exe #Rating=5 #####################examples########################### -export PW_VULKAN_USE="2" export PW_WINE_USE="PROTON_LG" export PW_PREFIX_NAME="EAAPP" -export PW_USE_ESYNC="0" -export PW_USE_FSYNC="1" +export WINE_SIMULATE_WRITECOPY="1" add_in_start_portwine () { export LC_CTYPE=C ;} + diff --git a/data_from_portwine/scripts/portwine_db/UbisoftConnect.ppdb b/data_from_portwine/scripts/portwine_db/UbisoftConnect.ppdb index 990df049..879199aa 100644 --- a/data_from_portwine/scripts/portwine_db/UbisoftConnect.ppdb +++ b/data_from_portwine/scripts/portwine_db/UbisoftConnect.ppdb @@ -6,5 +6,5 @@ #upc.exe #Rating=1-5 ################################################ -export PW_VULKAN_USE="2" export PW_DLL_INSTALL="" +export WINE_SIMULATE_WRITECOPY="1" diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_BATTLE_NET b/data_from_portwine/scripts/pw_autoinstall/PW_BATTLE_NET index 70a6727f..ac145b64 100755 --- a/data_from_portwine/scripts/pw_autoinstall/PW_BATTLE_NET +++ b/data_from_portwine/scripts/pw_autoinstall/PW_BATTLE_NET @@ -7,9 +7,10 @@ # info_ru: Лаунчер для игр Activision и Blizzard. ######################################################################## export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/Battle.net-Setup.exe" -export PW_WINE_USE="WINE_LG" +export PW_WINE_USE="PROTON_LG" export WINEDLLOVERRIDES="locationapi=" export PW_PREFIX_NAME="BATTLE_NET" +export WINE_SIMULATE_WRITECOPY="1" start_portwine if try_download "https://battle.net/download/getInstallerForGame?os=win&version=LIVE&gameProgram=BATTLENET_APP" "${PW_AUTOINSTALL_EXE}" no_mirror diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_UBISOFT b/data_from_portwine/scripts/pw_autoinstall/PW_UBISOFT index 0e7eb6d1..fd7101c6 100755 --- a/data_from_portwine/scripts/pw_autoinstall/PW_UBISOFT +++ b/data_from_portwine/scripts/pw_autoinstall/PW_UBISOFT @@ -9,6 +9,7 @@ export LAUNCH_PARAMETERS="/S /D=c:\Program Files (x86)\Ubisoft Game Launcher" export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/UbisoftConnectInstaller.exe" export PORTWINE_CREATE_SHORTCUT_NAME="Ubisoft Connect" +export WINE_SIMULATE_WRITECOPY="1" start_portwine if try_download "https://ubistatic3-a.akamaihd.net/orbit/launcher_installer/UbisoftConnectInstaller.exe" "${PW_AUTOINSTALL_EXE}" no_mirror