From 883b45e5ab92360fec3c0e63da6b09f46060eb81 Mon Sep 17 00:00:00 2001 From: Root-Core Date: Sun, 17 Mar 2024 21:31:47 +0100 Subject: [PATCH] Updated and fixed cnc-ddraw in Winetricks --- winetricks | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/winetricks b/winetricks index 05b6683d..12a888ff 100755 --- a/winetricks +++ b/winetricks @@ -6068,7 +6068,7 @@ w_metadata cnc_ddraw dlls \ publisher="CnCNet" \ year="2021" \ media="download" \ - file1="cnc-ddraw-v6.2.0.0.zip" \ + file1="cnc-ddraw-v6.3.0.0.zip" \ installed_file1="${W_SYSTEM32_DLLS_WIN}/Shaders/readme.txt" load_cnc_ddraw() @@ -6088,9 +6088,12 @@ load_cnc_ddraw() # 2023/11/04 https://github.com/FunkyFr3sh/cnc-ddraw/releases/download/v6.0.0.0/cnc-ddraw.zip # 2024/02/03 https://github.com/FunkyFr3sh/cnc-ddraw/releases/download/v6.1.0.0d/cnc-ddraw.zip # 2024/02/21 https://github.com/FunkyFr3sh/cnc-ddraw/releases/download/v6.2.0.0/cnc-ddraw.zip + # 2024/03/11 https://github.com/FunkyFr3sh/cnc-ddraw/releases/download/v6.3.0.0/cnc-ddraw.zip - w_download https://github.com/FunkyFr3sh/cnc-ddraw/releases/download/v6.2.0.0/cnc-ddraw.zip e5677ba52c31ffa93421a16edacff0c4d1f03e107aea6fc860861b43e3356119 cnc-ddraw-v6.2.0.0.zip - w_try_unzip "${W_SYSTEM32_DLLS}" "${W_CACHE}/${W_PACKAGE}/${file1}" + w_download https://github.com/FunkyFr3sh/cnc-ddraw/releases/download/v6.3.0.0/cnc-ddraw.zip c024d0ea42ec2d9708dc0a19342d037de7307c291dc43c01948a7d8f06b4deca ${file1} + w_try_unzip "${W_TMP}" "${W_CACHE}/${W_PACKAGE}/${file1}" + w_try_cp_dll "${W_TMP}/ddraw.dll" "${W_SYSTEM32_DLLS}/ddraw.dll" + w_try cp -R -u "${W_TMP}"/* "${W_SYSTEM32_DLLS}/" w_override_dlls native,builtin ddraw }