Commit 7f0eca30 authored by Vitaly Lipatov's avatar Vitaly Lipatov

just import winetricks-20220617.tar with rpmgs script

parent e05970a6
on:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '09 18 * * *'
jobs:
linkcheck:
runs-on: ubuntu-latest
steps:
- name: checkout project
uses: actions/checkout@v2
- name: run linkcheck
run: ./src/linkcheck.sh crawl
...@@ -10,8 +10,8 @@ colorprofile Standard RGB color profile (Microsoft, 2005) [downloada ...@@ -10,8 +10,8 @@ colorprofile Standard RGB color profile (Microsoft, 2005) [downloada
controlpad MS ActiveX Control Pad (Microsoft, 1997) [downloadable] controlpad MS ActiveX Control Pad (Microsoft, 1997) [downloadable]
controlspy Control Spy 6 (Microsoft, 2005) [downloadable] controlspy Control Spy 6 (Microsoft, 2005) [downloadable]
dotnet20sdk MS .NET 2.0 SDK (Microsoft, 2006) [downloadable] dotnet20sdk MS .NET 2.0 SDK (Microsoft, 2006) [downloadable]
dxsdk_aug2006 MS DirectX SDK, August 2006 (developers only) (Microsoft, 2006) [downloadable]
dxsdk_jun2010 MS DirectX SDK, June 2010 (developers only) (Microsoft, 2010) [downloadable] dxsdk_jun2010 MS DirectX SDK, June 2010 (developers only) (Microsoft, 2010) [downloadable]
dxsdk_nov2006 MS DirectX SDK, November 2006 (developers only) (Microsoft, 2006) [downloadable]
emu8086 emu8086 (emu8086.com, 2015) [downloadable] emu8086 emu8086 (emu8086.com, 2015) [downloadable]
ev3 Lego Mindstorms EV3 Home Edition (Lego, 2014) [downloadable] ev3 Lego Mindstorms EV3 Home Edition (Lego, 2014) [downloadable]
firefox Firefox 51.0 (Mozilla, 2017) [downloadable] firefox Firefox 51.0 (Mozilla, 2017) [downloadable]
...@@ -56,7 +56,6 @@ vc2008express MS Visual C++ 2008 Express (Microsoft, 2008) [downloada ...@@ -56,7 +56,6 @@ vc2008express MS Visual C++ 2008 Express (Microsoft, 2008) [downloada
vc2010express MS Visual C++ 2010 Express (Microsoft, 2010) [downloadable] vc2010express MS Visual C++ 2010 Express (Microsoft, 2010) [downloadable]
vlc VLC media player 2.2.1 (VideoLAN, 2015) [downloadable] vlc VLC media player 2.2.1 (VideoLAN, 2015) [downloadable]
vstools2019 MS Visual Studio Build Tools 2019 (Microsoft, 2019) [downloadable] vstools2019 MS Visual Studio Build Tools 2019 (Microsoft, 2019) [downloadable]
vulkansdk121412 Vulkan SDK 1.2.141.2 (developers only) (LunarG, 2020) [downloadable]
winamp Winamp (Radionomy (AOL (Nullsoft)), 2013) [downloadable] winamp Winamp (Radionomy (AOL (Nullsoft)), 2013) [downloadable]
wme9 MS Windows Media Encoder 9 (broken in Wine) (Microsoft, 2002) [downloadable] wme9 MS Windows Media Encoder 9 (broken in Wine) (Microsoft, 2002) [downloadable]
===== benchmarks ===== ===== benchmarks =====
...@@ -348,7 +347,6 @@ vcrun6 Visual C++ 6 SP4 libraries (mfc42, msvcp60, msvcirt) (M ...@@ -348,7 +347,6 @@ vcrun6 Visual C++ 6 SP4 libraries (mfc42, msvcp60, msvcirt) (M
vcrun6sp6 Visual C++ 6 SP6 libraries (with fixes in ATL and MFC) (Microsoft, 2004) [downloadable] vcrun6sp6 Visual C++ 6 SP6 libraries (with fixes in ATL and MFC) (Microsoft, 2004) [downloadable]
vjrun20 MS Visual J# 2.0 SE libraries (requires dotnet20) (Microsoft, 2007) [downloadable] vjrun20 MS Visual J# 2.0 SE libraries (requires dotnet20) (Microsoft, 2007) [downloadable]
vkd3d Vulkan-based D3D12 implementation for Linux / Wine (latest) (Hans-Kristian Arntzen , 2020) [downloadable] vkd3d Vulkan-based D3D12 implementation for Linux / Wine (latest) (Hans-Kristian Arntzen , 2020) [downloadable]
vulkanrt121412 Vulkan Runtime 1.2.141.2 (LunarG, 2020) [downloadable]
webio MS Windows Web I/O (Microsoft, 2011) [downloadable] webio MS Windows Web I/O (Microsoft, 2011) [downloadable]
windowscodecs MS Windows Imaging Component (Microsoft, 2006) [downloadable] windowscodecs MS Windows Imaging Component (Microsoft, 2006) [downloadable]
winhttp MS Windows HTTP Services (Microsoft, 2005) [downloadable] winhttp MS Windows HTTP Services (Microsoft, 2005) [downloadable]
......
...@@ -9,8 +9,8 @@ colorprofile Standard RGB color profile (Microsoft, 2005) [downloada ...@@ -9,8 +9,8 @@ colorprofile Standard RGB color profile (Microsoft, 2005) [downloada
controlpad MS ActiveX Control Pad (Microsoft, 1997) [downloadable] controlpad MS ActiveX Control Pad (Microsoft, 1997) [downloadable]
controlspy Control Spy 6 (Microsoft, 2005) [downloadable] controlspy Control Spy 6 (Microsoft, 2005) [downloadable]
dotnet20sdk MS .NET 2.0 SDK (Microsoft, 2006) [downloadable] dotnet20sdk MS .NET 2.0 SDK (Microsoft, 2006) [downloadable]
dxsdk_aug2006 MS DirectX SDK, August 2006 (developers only) (Microsoft, 2006) [downloadable]
dxsdk_jun2010 MS DirectX SDK, June 2010 (developers only) (Microsoft, 2010) [downloadable] dxsdk_jun2010 MS DirectX SDK, June 2010 (developers only) (Microsoft, 2010) [downloadable]
dxsdk_nov2006 MS DirectX SDK, November 2006 (developers only) (Microsoft, 2006) [downloadable]
emu8086 emu8086 (emu8086.com, 2015) [downloadable] emu8086 emu8086 (emu8086.com, 2015) [downloadable]
ev3 Lego Mindstorms EV3 Home Edition (Lego, 2014) [downloadable] ev3 Lego Mindstorms EV3 Home Edition (Lego, 2014) [downloadable]
firefox Firefox 51.0 (Mozilla, 2017) [downloadable] firefox Firefox 51.0 (Mozilla, 2017) [downloadable]
...@@ -55,6 +55,5 @@ vc2008express MS Visual C++ 2008 Express (Microsoft, 2008) [downloada ...@@ -55,6 +55,5 @@ vc2008express MS Visual C++ 2008 Express (Microsoft, 2008) [downloada
vc2010express MS Visual C++ 2010 Express (Microsoft, 2010) [downloadable] vc2010express MS Visual C++ 2010 Express (Microsoft, 2010) [downloadable]
vlc VLC media player 2.2.1 (VideoLAN, 2015) [downloadable] vlc VLC media player 2.2.1 (VideoLAN, 2015) [downloadable]
vstools2019 MS Visual Studio Build Tools 2019 (Microsoft, 2019) [downloadable] vstools2019 MS Visual Studio Build Tools 2019 (Microsoft, 2019) [downloadable]
vulkansdk121412 Vulkan SDK 1.2.141.2 (developers only) (LunarG, 2020) [downloadable]
winamp Winamp (Radionomy (AOL (Nullsoft)), 2013) [downloadable] winamp Winamp (Radionomy (AOL (Nullsoft)), 2013) [downloadable]
wme9 MS Windows Media Encoder 9 (broken in Wine) (Microsoft, 2002) [downloadable] wme9 MS Windows Media Encoder 9 (broken in Wine) (Microsoft, 2002) [downloadable]
...@@ -277,7 +277,6 @@ vcrun6 Visual C++ 6 SP4 libraries (mfc42, msvcp60, msvcirt) (M ...@@ -277,7 +277,6 @@ vcrun6 Visual C++ 6 SP4 libraries (mfc42, msvcp60, msvcirt) (M
vcrun6sp6 Visual C++ 6 SP6 libraries (with fixes in ATL and MFC) (Microsoft, 2004) [downloadable] vcrun6sp6 Visual C++ 6 SP6 libraries (with fixes in ATL and MFC) (Microsoft, 2004) [downloadable]
vjrun20 MS Visual J# 2.0 SE libraries (requires dotnet20) (Microsoft, 2007) [downloadable] vjrun20 MS Visual J# 2.0 SE libraries (requires dotnet20) (Microsoft, 2007) [downloadable]
vkd3d Vulkan-based D3D12 implementation for Linux / Wine (latest) (Hans-Kristian Arntzen , 2020) [downloadable] vkd3d Vulkan-based D3D12 implementation for Linux / Wine (latest) (Hans-Kristian Arntzen , 2020) [downloadable]
vulkanrt121412 Vulkan Runtime 1.2.141.2 (LunarG, 2020) [downloadable]
webio MS Windows Web I/O (Microsoft, 2011) [downloadable] webio MS Windows Web I/O (Microsoft, 2011) [downloadable]
windowscodecs MS Windows Imaging Component (Microsoft, 2006) [downloadable] windowscodecs MS Windows Imaging Component (Microsoft, 2006) [downloadable]
winhttp MS Windows HTTP Services (Microsoft, 2005) [downloadable] winhttp MS Windows HTTP Services (Microsoft, 2005) [downloadable]
......
...@@ -391,8 +391,6 @@ vkd3d ...@@ -391,8 +391,6 @@ vkd3d
vlc vlc
vlgothic vlgothic
vstools2019 vstools2019
vulkanrt121412
vulkansdk121412
webdings webdings
webio webio
wenquanyi wenquanyi
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
# Name of this version of winetricks (YYYYMMDD) # Name of this version of winetricks (YYYYMMDD)
# (This doesn't change often, use the sha256sum of the file when reporting problems) # (This doesn't change often, use the sha256sum of the file when reporting problems)
WINETRICKS_VERSION=20220411 WINETRICKS_VERSION=20220411-next
# This is a UTF-8 file # This is a UTF-8 file
# You should see an o with two dots over it here [ö] # You should see an o with two dots over it here [ö]
...@@ -29,7 +29,7 @@ WINETRICKS_VERSION=20220411 ...@@ -29,7 +29,7 @@ WINETRICKS_VERSION=20220411
# - ar, cabextract, unrar, unzip, and 7z are needed by some verbs. # - ar, cabextract, unrar, unzip, and 7z are needed by some verbs.
# - aria2c, wget, curl, or fetch is needed for downloading. # - aria2c, wget, curl, or fetch is needed for downloading.
# - fuseiso, archivemount (Linux), or hdiutil (macOS) is used to mount .iso images. # - fuseiso, archivemount (Linux), or hdiutil (macOS) is used to mount .iso images.
# - perl is used to munge steam config files. # - perl is used for displaying download progress for wget when using zenity
# - pkexec, sudo, or kdesu (gksu/gksudo/kdesudo are deprecated upstream but also still supported) # - pkexec, sudo, or kdesu (gksu/gksudo/kdesudo are deprecated upstream but also still supported)
# are used to mount .iso images if the user cached them with -k option. # are used to mount .iso images if the user cached them with -k option.
# - sha256sum, sha256, or shasum (OSX 10.5 does not support these, 10.6+ is required) # - sha256sum, sha256, or shasum (OSX 10.5 does not support these, 10.6+ is required)
...@@ -53,7 +53,7 @@ WINETRICKS_VERSION=20220411 ...@@ -53,7 +53,7 @@ WINETRICKS_VERSION=20220411
# #
# Copyright: # Copyright:
# Copyright (C) 2007-2014 Dan Kegel <dank!kegel.com> # Copyright (C) 2007-2014 Dan Kegel <dank!kegel.com>
# Copyright (C) 2008-2019 Austin English <austinenglish!gmail.com> # Copyright (C) 2008-2022 Austin English <austinenglish!gmail.com>
# Copyright (C) 2010-2011 Phil Blankenship <phillip.e.blankenship!gmail.com> # Copyright (C) 2010-2011 Phil Blankenship <phillip.e.blankenship!gmail.com>
# Copyright (C) 2010-2015 Shannon VanWagner <shannon.vanwagner!gmail.com> # Copyright (C) 2010-2015 Shannon VanWagner <shannon.vanwagner!gmail.com>
# Copyright (C) 2010 Belhorma Bendebiche <amro256!gmail.com> # Copyright (C) 2010 Belhorma Bendebiche <amro256!gmail.com>
...@@ -951,9 +951,13 @@ w_read_key() ...@@ -951,9 +951,13 @@ w_read_key()
w_verify_cabextract_available() w_verify_cabextract_available()
{ {
# If verb_a requires verb_b, then verba will fail when the dependency for verb_b is installed # If verb_a requires verb_b, then verb_a will fail when the dependency for verb_b is installed
# This should be called by verb_a, to give a proper warning # This should be called by verb_a, to give a proper warning
if test ! -x "$(command -v cabextract 2>/dev/null)"; then
w_die "Cannot find cabextract. Please install it (e.g. 'sudo apt-get install cabextract' or 'sudo yum install cabextract')."
fi
w_try_cabextract -q -v >/dev/null 2>&1 w_try_cabextract -q -v >/dev/null 2>&1
} }
...@@ -1674,102 +1678,6 @@ w_download_manual() ...@@ -1674,102 +1678,6 @@ w_download_manual()
w_download_manual_to "${W_PACKAGE}" "$@" w_download_manual_to "${W_PACKAGE}" "$@"
} }
# Turn off news, overlays, and friend interaction in Steam
# Run from inside C:\Program Files\Steam
w_steam_safemode()
{
cat > "${W_TMP}/steamconfig.pl" <<"_EOF_"
#!/usr/bin/env perl
# Parse Steam's localconfig.vcf, add settings to it, and write it out again
# The file is a recursive dictionary
#
# FILE :== CONTAINER
#
# VALUE :== "name" "value" NEWLINE
#
# CONTAINER :== "name" NEWLINE "{" NEWLINE ( VALUE | CONTAINER ) * "}" NEWLINE
#
# We load it into a recursive hash.
use strict;
use warnings;
sub read_into_container{
my( $pcontainer ) = @_;
$_ = <FILE> || w_die "Can't read first line of container";
/{/ || w_die "First line of container was not {";
while (<FILE>) {
chomp;
if (/"([^"]*)"\s*"([^"]*)"$/) {
${$pcontainer}{$1} = $2;
} elsif (/"([^"]*)"$/) {
my( %newcon, $name );
$name = $1;
read_into_container(\%newcon);
${$pcontainer}{$name} = \%newcon;
} elsif (/}/) {
return;
} else {
w_die "huh?";
}
}
}
sub dump_container{
my( $pcontainer, $indent ) = @_;
foreach (sort(keys(%{$pcontainer}))) {
my( $val ) = ${$pcontainer}{$_};
if (ref $val eq 'HASH') {
print "${indent}\"$_\"\n";
print "${indent}{\n";
dump_container($val, "$indent\t");
print "${indent}}\n";
} else {
print "${indent}\"${_}\"\t\t\"$val\"\n";
}
}
}
# Disable anything unsafe or annoying
sub disable_notifications{
my( $pcontainer ) = @_;
${$pcontainer}{"friends"}{"PersonaStateDesired"} = "1";
${$pcontainer}{"friends"}{"Notifications_ShowIngame"} = "0";
${$pcontainer}{"friends"}{"Sounds_PlayIngame"} = "0";
${$pcontainer}{"friends"}{"Notifications_ShowOnline"} = "0";
${$pcontainer}{"friends"}{"Sounds_PlayOnline"} = "0";
${$pcontainer}{"friends"}{"Notifications_ShowMessage"} = "0";
${$pcontainer}{"friends"}{"Sounds_PlayMessage"} = "0";
${$pcontainer}{"friends"}{"AutoSignIntoFriends"} = "0";
${$pcontainer}{"News"}{"NotifyAvailableGames"} = "0";
${$pcontainer}{"system"}{"EnableGameOverlay"} = "0";
}
# Read the file
my(%top);
open FILE, $ARGV[0] || w_die "cannot open ".$ARGV[0];
my($line);
$line = <FILE> || w_die "Could not read first line from ".$ARGV[0];
$line =~ /"UserLocalConfigStore"/ || w_die "this is not a localconfig.vdf file";
read_into_container(\%top);
# Modify it
disable_notifications(\%top);
# Write modified file
print "\"UserLocalConfigStore\"\n";
print "{\n";
dump_container(\%top, "\t");
print "}\n";
_EOF_
for file in userdata/*/config/localconfig.vdf ; do
cp "${file}" "${file}.old"
perl "${W_TMP}"/steamconfig.pl "${file}.old" > "${file}"
done
}
w_question() w_question()
{ {
case ${WINETRICKS_GUI} in case ${WINETRICKS_GUI} in
...@@ -1785,160 +1693,6 @@ w_question() ...@@ -1785,160 +1693,6 @@ w_question()
esac esac
} }
# Reads steam username and password from environment, cache, or user
# If had to ask user, cache answer.
w_steam_getid()
{
#TODO: Translate
_W_steamidmsg="Please enter your Steam login ID (not email)"
_W_steampasswordmsg="Please enter your Steam password"
if test ! "${W_STEAM_ID}"; then
if test -f "${W_CACHE}"/steam_userid.txt; then
W_STEAM_ID=$(cat "${W_CACHE}"/steam_userid.txt)
else
W_STEAM_ID=$(w_question "${_W_steamidmsg}")
echo "${W_STEAM_ID}" > "${W_CACHE}"/steam_userid.txt
chmod 600 "${W_CACHE}"/steam_userid.txt
fi
fi
if test ! "${W_STEAM_PASSWORD}"; then
if test -f "${W_CACHE}"/steam_password.txt; then
W_STEAM_PASSWORD=$(cat "${W_CACHE}"/steam_password.txt)
else
W_STEAM_PASSWORD=$(w_question "${_W_steampasswordmsg}")
echo "${W_STEAM_PASSWORD}" > "${W_CACHE}"/steam_password.txt
chmod 600 "${W_CACHE}"/steam_password.txt
fi
fi
}
# Usage:
# w_steam_install_game steamidnum windowtitle
w_steam_install_game()
{
_W_steamid=$1
_W_steamtitle="$2"
w_steam_getid
# Install the steam runtime
WINETRICKS_OPT_SHAREDPREFIX=1 w_call steam
# Steam puts up a bunch of windows. Here's the sequence:
# "Steam - Updating" - wait for it to close. May appear twice in a row.
# "Steam - Login" - wait for it to close (credentials already given on cmdline)
# "Steam" (small window) - connecting, wait for it to close
# "Steam" (large window) - the main window
# "Steam - Updates News" - close it forcefully
# "Install - $title" - send enter, click a couple checkboxes, send enter again
# "Updating $title" - small download progress dialog
# "Steam - Ready" game install done. (Only comes up if main window not up.)
w_try_cd "${W_PROGRAMS_X86_UNIX}/Steam"
w_ahk_do "
SetTitleMatchMode 2
SetWinDelay 500
; Run steam once until it finishes its initial update.
; For me, this exits at 26%.
run steam.exe -applaunch ${_W_steamid} -login ${W_STEAM_ID} ${W_STEAM_PASSWORD}
Loop
{
ifWinExist, Steam - Updating
{
winwaitclose, Steam
process close, Steam.exe
sleep 1000
; Run a second time; let it finish updating, then kill it.
run steam.exe
winwait Steam - Updating
winwaitclose
process close, Steam.exe
; Run a third time, have it log in, wait until it has finished connecting
run steam.exe -applaunch ${_W_steamid} -login ${W_STEAM_ID} ${W_STEAM_PASSWORD}
}
ifWinExist, Steam Login
{
break
}
sleep 500
}
; wait for login window to close
winwaitclose
winwait Steam ; wait for small <<connecting>> window
winwaitclose
"
if [ "${STEAM_DVD}" = "TRUE" ]; then
w_ahk_do "
; Run a fourth time, have it install the app.
run steam.exe -install ${W_ISO_MOUNT_LETTER}:\\
"
else
w_ahk_do "
; Run a fourth time, have it install the app.
run steam.exe -applaunch ${_W_steamid}
"
fi
w_ahk_do "
winwait Install - ${_W_steamtitle}
if ( w_opt_unattended > 0 ) {
send {enter} ; next (for 1st of 3 pages of install dialog)
sleep 1000
click 32, 91 ; uncheck create menu item?
click 32, 119 ; check create desktop icon?
send {enter} ; next (for 2nd of 3 pages of install dialog)
; dismiss any news dialogs, and click 'next' on third page of install dialog
loop
{
sleep 1000
ifwinexist Steam - Updates News
{
winclose
continue
}
ifwinexist Install - ${_W_steamtitle}
{
winactivate
send {enter} ; next (for 3rd of 3 pages of install dialog)
}
ifwinnotexist Install - ${_W_steamtitle}
{
sleep 1000
ifwinnotexist Install - ${_W_steamtitle}
break
}
}
}
"
if [ "${STEAM_DVD}" = "TRUE" ]; then
# Wait for install to finish
while true; do
grep "SetHasAllLocalContent(true) called for ${_W_steamid}" "${W_PROGRAMS_X86_UNIX}/Steam/logs/download_log.txt" && break
sleep 5
done
fi
w_ahk_do "
; For DVD's: theoretically, it should be installed now, but most games want to download updates. Do that now.
; For regular downloads: relaunch to coax steam into showing its nice small download progress dialog
process close, Steam.exe
run steam.exe -login ${W_STEAM_ID} ${W_STEAM_PASSWORD} -applaunch ${_W_steamid}
winwait Ready -
process close, Steam.exe
"
# Not all users need this disabled, but let's play it safe for now
if w_workaround_wine_bug 22053 "Disabling in-game notifications to prevent game crashes on some machines."; then
w_steam_safemode
fi
unset _W_steamid _W_steamtitle
}
#---------------------------------------------------------------- #----------------------------------------------------------------
...@@ -2804,8 +2558,8 @@ _EOF_ ...@@ -2804,8 +2558,8 @@ _EOF_
w_unset_winver() w_unset_winver()
{ {
w_warn "w_unset_winver() is deprecated, use \'w_set_winver default\' instead" w_warn "w_unset_winver() is deprecated, use \'w_set_winver default\' instead"
w_set_winver default w_set_winver default
} }
# Present app $1 with the Windows personality $2 # Present app $1 with the Windows personality $2
...@@ -3324,10 +3078,10 @@ winetricks_dl_url_to_stdout() ...@@ -3324,10 +3078,10 @@ winetricks_dl_url_to_stdout()
# Executing ... stuff, but still does error checking # Executing ... stuff, but still does error checking
if [ "${WINETRICKS_DOWNLOADER}" = "wget" ] ; then if [ "${WINETRICKS_DOWNLOADER}" = "wget" ] ; then
${torify} wget -q -O - --timeout "${WINETRICKS_DOWNLOADER_TIMEOUT}" \ ${torify} wget -q -O - --timeout "${WINETRICKS_DOWNLOADER_TIMEOUT}" \
--tries "${WINETRICKS_DOWNLOADER_RETRIES}" "$1" --tries "${WINETRICKS_DOWNLOADER_RETRIES}" "$1"
elif [ "${WINETRICKS_DOWNLOADER}" = "curl" ] ; then elif [ "${WINETRICKS_DOWNLOADER}" = "curl" ] ; then
${torify} curl -s --connect-timeout "${WINETRICKS_DOWNLOADER_TIMEOUT}" \ ${torify} curl -s --connect-timeout "${WINETRICKS_DOWNLOADER_TIMEOUT}" \
--retry "${WINETRICKS_DOWNLOADER_RETRIES}" "$1" --retry "${WINETRICKS_DOWNLOADER_RETRIES}" "$1"
elif [ "${WINETRICKS_DOWNLOADER}" = "aria2c" ] ; then elif [ "${WINETRICKS_DOWNLOADER}" = "aria2c" ] ; then
# aria2c doesn't have support downloading to stdout: # aria2c doesn't have support downloading to stdout:
# https://github.com/aria2/aria2/issues/190 # https://github.com/aria2/aria2/issues/190
...@@ -3551,7 +3305,7 @@ winetricks_detect_gui() ...@@ -3551,7 +3305,7 @@ winetricks_detect_gui()
# Print zenity/dialog version info for debugging: # Print zenity/dialog version info for debugging:
if [ -z "${WINETRICKS_SUPER_QUIET}" ] ; then if [ -z "${WINETRICKS_SUPER_QUIET}" ] ; then
echo "winetricks GUI enabled, using ${WINETRICKS_GUI} ${WINETRICKS_GUI_VERSION##kdialog }" echo "winetricks GUI enabled, using ${WINETRICKS_GUI} ${WINETRICKS_GUI_VERSION##kdialog }"
fi fi
} }
...@@ -3637,93 +3391,93 @@ winetricks_prefixmenu() ...@@ -3637,93 +3391,93 @@ winetricks_prefixmenu()
{ {
case ${LANG} in case ${LANG} in
ru*) _W_msg_title="Winetricks - выберите путь wine (wineprefix)" ru*) _W_msg_title="Winetricks - выберите путь wine (wineprefix)"
_W_msg_body='Что вы хотите сделать?' _W_msg_body='Что вы хотите сделать?'
_W_msg_apps='Установить программу' _W_msg_apps='Установить программу'
_W_msg_games='Установить игру' _W_msg_games='Установить игру'
_W_msg_benchmarks='Установить приложение для оценки производительности' _W_msg_benchmarks='Установить приложение для оценки производительности'
_W_msg_default="Выберите путь для wine по умолчанию" _W_msg_default="Выберите путь для wine по умолчанию"
_W_msg_mkprefix="Создать новый путь wine" _W_msg_mkprefix="Создать новый путь wine"
_W_msg_unattended0="Отключить автоматическую установку" _W_msg_unattended0="Отключить автоматическую установку"
_W_msg_unattended1="Включить автоматическую установку" _W_msg_unattended1="Включить автоматическую установку"
_W_msg_help="Просмотр справки (в веб-браузере)" _W_msg_help="Просмотр справки (в веб-браузере)"
;; ;;
uk*) _W_msg_title="Winetricks - виберіть wineprefix" uk*) _W_msg_title="Winetricks - виберіть wineprefix"
_W_msg_body='Що Ви хочете зробити?' _W_msg_body='Що Ви хочете зробити?'
_W_msg_apps='Встановити додаток' _W_msg_apps='Встановити додаток'
_W_msg_games='Встановити гру' _W_msg_games='Встановити гру'
_W_msg_benchmarks='Встановити benchmark' _W_msg_benchmarks='Встановити benchmark'
_W_msg_default="Вибрати wineprefix за замовчуванням" _W_msg_default="Вибрати wineprefix за замовчуванням"
_W_msg_mkprefix="створити новий wineprefix" _W_msg_mkprefix="створити новий wineprefix"
_W_msg_unattended0="Вимкнути автоматичне встановлення" _W_msg_unattended0="Вимкнути автоматичне встановлення"
_W_msg_unattended1="Увімкнути автоматичне встановлення" _W_msg_unattended1="Увімкнути автоматичне встановлення"
_W_msg_help="Переглянути довідку" _W_msg_help="Переглянути довідку"
;; ;;
zh_CN*) _W_msg_title="Winetricks - 择一 Wine 容器" zh_CN*) _W_msg_title="Winetricks - 择一 Wine 容器"
_W_msg_body='君欲何为?' _W_msg_body='君欲何为?'
_W_msg_apps='安装一个 Windows 应用' _W_msg_apps='安装一个 Windows 应用'
_W_msg_games='安装一个游戏' _W_msg_games='安装一个游戏'
_W_msg_benchmarks='安装一个基准测试软件' _W_msg_benchmarks='安装一个基准测试软件'
_W_msg_default="选择默认的 Wine 容器" _W_msg_default="选择默认的 Wine 容器"
_W_msg_mkprefix="创建新的 Wine 容器" _W_msg_mkprefix="创建新的 Wine 容器"
_W_msg_unattended0="禁用静默安装" _W_msg_unattended0="禁用静默安装"
_W_msg_unattended1="启用静默安装" _W_msg_unattended1="启用静默安装"
_W_msg_help="查看帮助" _W_msg_help="查看帮助"
;; ;;
zh_TW*|zh_HK*) _W_msg_title="Winetricks - 取一 Wine 容器" zh_TW*|zh_HK*) _W_msg_title="Winetricks - 取一 Wine 容器"
_W_msg_body='君欲何為?' _W_msg_body='君欲何為?'
_W_msg_apps='安裝一個 Windows 應用' _W_msg_apps='安裝一個 Windows 應用'
_W_msg_games='安裝一個遊戲' _W_msg_games='安裝一個遊戲'
_W_msg_benchmarks='安裝一個基准測試軟體' _W_msg_benchmarks='安裝一個基准測試軟體'
_W_msg_default="選取預設的 Wine 容器" _W_msg_default="選取預設的 Wine 容器"
_W_msg_mkprefix="建立新的 Wine 容器" _W_msg_mkprefix="建立新的 Wine 容器"
_W_msg_unattended0="禁用靜默安裝" _W_msg_unattended0="禁用靜默安裝"
_W_msg_unattended1="啟用靜默安裝" _W_msg_unattended1="啟用靜默安裝"
_W_msg_help="檢視輔助說明" _W_msg_help="檢視輔助說明"
;; ;;
de*) _W_msg_title="Winetricks - wineprefix auswählen" de*) _W_msg_title="Winetricks - wineprefix auswählen"
_W_msg_body='Was möchten Sie tun?' _W_msg_body='Was möchten Sie tun?'
_W_msg_apps='Ein Programm installieren' _W_msg_apps='Ein Programm installieren'
_W_msg_games='Ein Spiel installieren' _W_msg_games='Ein Spiel installieren'
_W_msg_benchmarks='Einen Benchmark-Test installieren' _W_msg_benchmarks='Einen Benchmark-Test installieren'
_W_msg_default="Standard wineprefix auswählen" _W_msg_default="Standard wineprefix auswählen"
_W_msg_mkprefix="Neuen wineprefix erstellen" _W_msg_mkprefix="Neuen wineprefix erstellen"
_W_msg_unattended0="Automatische Installation deaktivieren" _W_msg_unattended0="Automatische Installation deaktivieren"
_W_msg_unattended1="Automatische Installation aktivieren" _W_msg_unattended1="Automatische Installation aktivieren"
_W_msg_help="Hilfe anzeigen" _W_msg_help="Hilfe anzeigen"
;; ;;
pl*) _W_msg_title="Winetricks - wybierz prefiks Wine" pl*) _W_msg_title="Winetricks - wybierz prefiks Wine"
_W_msg_body='Co chcesz zrobić?' _W_msg_body='Co chcesz zrobić?'
_W_msg_apps='Zainstalować aplikację' _W_msg_apps='Zainstalować aplikację'
_W_msg_games='Zainstalować grę' _W_msg_games='Zainstalować grę'
_W_msg_benchmarks='Zainstalować program sprawdzający wydajność komputera' _W_msg_benchmarks='Zainstalować program sprawdzający wydajność komputera'
_W_msg_default="Wybrać domyślny prefiks Wine" _W_msg_default="Wybrać domyślny prefiks Wine"
_W_msg_mkprefix="Stwórz nowy prefiks Wine" _W_msg_mkprefix="Stwórz nowy prefiks Wine"
_W_msg_unattended0="Wyłącz cichą instalację" _W_msg_unattended0="Wyłącz cichą instalację"
_W_msg_unattended1="Włącz cichą instalację" _W_msg_unattended1="Włącz cichą instalację"
_W_msg_help="Wyświetl pomoc" _W_msg_help="Wyświetl pomoc"
;; ;;
pt*) _W_msg_title="Winetricks - Escolha um wineprefix" pt*) _W_msg_title="Winetricks - Escolha um wineprefix"
_W_msg_body='O que você quer fazer?' _W_msg_body='O que você quer fazer?'
_W_msg_apps='Instalar um programa' _W_msg_apps='Instalar um programa'
_W_msg_games='Instalar um jogo' _W_msg_games='Instalar um jogo'
_W_msg_benchmarks='Instalar um teste de desempenho/benchmark' _W_msg_benchmarks='Instalar um teste de desempenho/benchmark'
_W_msg_default="Selecionar o prefixo padrão wineprefix" _W_msg_default="Selecionar o prefixo padrão wineprefix"
_W_msg_mkprefix="Criar novo prefixo wineprefix" _W_msg_mkprefix="Criar novo prefixo wineprefix"
_W_msg_unattended0="Desativar instalação silenciosa" _W_msg_unattended0="Desativar instalação silenciosa"
_W_msg_unattended1="Ativar instalação silenciosa" _W_msg_unattended1="Ativar instalação silenciosa"
_W_msg_help="Ver ajuda" _W_msg_help="Ver ajuda"
;; ;;
*) _W_msg_title="Winetricks - choose a wineprefix" *) _W_msg_title="Winetricks - choose a wineprefix"
_W_msg_body='What do you want to do?' _W_msg_body='What do you want to do?'
_W_msg_apps='Install an application' _W_msg_apps='Install an application'
_W_msg_games='Install a game' _W_msg_games='Install a game'
_W_msg_benchmarks='Install a benchmark' _W_msg_benchmarks='Install a benchmark'
_W_msg_default="Select the default wineprefix" _W_msg_default="Select the default wineprefix"
_W_msg_mkprefix="Create new wineprefix" _W_msg_mkprefix="Create new wineprefix"
_W_msg_unattended0="Disable silent install" _W_msg_unattended0="Disable silent install"
_W_msg_unattended1="Enable silent install" _W_msg_unattended1="Enable silent install"
_W_msg_help="View help" _W_msg_help="View help"
;; ;;
esac esac
case "${W_OPT_UNATTENDED}" in case "${W_OPT_UNATTENDED}" in
1) _W_cmd_unattended=attended; _W_msg_unattended="${_W_msg_unattended0}" ;; 1) _W_cmd_unattended=attended; _W_msg_unattended="${_W_msg_unattended0}" ;;
...@@ -3817,17 +3571,17 @@ winetricks_mkprefixmenu() ...@@ -3817,17 +3571,17 @@ winetricks_mkprefixmenu()
case ${LANG} in case ${LANG} in
# TODO: translate to other languages # TODO: translate to other languages
de) _W_msg_title="Winetricks - Neues Wineprefix erstellen" de) _W_msg_title="Winetricks - Neues Wineprefix erstellen"
_W_msg_name="Name" _W_msg_name="Name"
_W_msg_arch="Architektur" _W_msg_arch="Architektur"
;; ;;
pt*) _W_msg_title="Winetricks - criar novo wineprefix" pt*) _W_msg_title="Winetricks - criar novo wineprefix"
_W_msg_name="Nome" _W_msg_name="Nome"
_W_msg_arch="Arquitetura" _W_msg_arch="Arquitetura"
;; ;;
*) _W_msg_title="Winetricks - create new wineprefix" *) _W_msg_title="Winetricks - create new wineprefix"
_W_msg_name="Name" _W_msg_name="Name"
_W_msg_arch="Architecture" _W_msg_arch="Architecture"
;; ;;
esac esac
case ${WINETRICKS_GUI} in case ${WINETRICKS_GUI} in
...@@ -3854,131 +3608,131 @@ winetricks_mainmenu() ...@@ -3854,131 +3608,131 @@ winetricks_mainmenu()
{ {
case ${LANG} in case ${LANG} in
da*) _W_msg_title="Vælg en pakke-kategori - Nuværende præfiks er \"${WINEPREFIX}\"" da*) _W_msg_title="Vælg en pakke-kategori - Nuværende præfiks er \"${WINEPREFIX}\""
_W_msg_body='Hvad ønsker du at gøre?' _W_msg_body='Hvad ønsker du at gøre?'
_W_msg_dlls="Install a Windows DLL" _W_msg_dlls="Install a Windows DLL"
_W_msg_fonts='Install a font' _W_msg_fonts='Install a font'
_W_msg_settings='Change Wine settings' _W_msg_settings='Change Wine settings'
_W_msg_winecfg='Run winecfg' _W_msg_winecfg='Run winecfg'
_W_msg_regedit='Run regedit' _W_msg_regedit='Run regedit'
_W_msg_taskmgr='Run taskmgr' _W_msg_taskmgr='Run taskmgr'
_W_msg_explorer='Run explorer' _W_msg_explorer='Run explorer'
_W_msg_uninstaller='Run uninstaller' _W_msg_uninstaller='Run uninstaller'
_W_msg_shell='Run a commandline shell (for debugging)' _W_msg_shell='Run a commandline shell (for debugging)'
_W_msg_folder='Browse files' _W_msg_folder='Browse files'
_W_msg_annihilate="Delete ALL DATA AND APPLICATIONS INSIDE THIS WINEPREFIX" _W_msg_annihilate="Delete ALL DATA AND APPLICATIONS INSIDE THIS WINEPREFIX"
;; ;;
de*) _W_msg_title="Pakettyp auswählen - Aktueller Präfix ist \"${WINEPREFIX}\"" de*) _W_msg_title="Pakettyp auswählen - Aktueller Präfix ist \"${WINEPREFIX}\""
_W_msg_body='Was möchten Sie tun?' _W_msg_body='Was möchten Sie tun?'
_W_msg_dlls="Windows-DLL installieren" _W_msg_dlls="Windows-DLL installieren"
_W_msg_fonts='Schriftart installieren' _W_msg_fonts='Schriftart installieren'
_W_msg_settings='Wine Einstellungen ändern' _W_msg_settings='Wine Einstellungen ändern'
_W_msg_winecfg='winecfg starten' _W_msg_winecfg='winecfg starten'
_W_msg_regedit='regedit starten' _W_msg_regedit='regedit starten'
_W_msg_taskmgr='taskmgr starten' _W_msg_taskmgr='taskmgr starten'
_W_msg_explorer='explorer starten' _W_msg_explorer='explorer starten'
_W_msg_uninstaller='uninstaller starten' _W_msg_uninstaller='uninstaller starten'
_W_msg_shell='Eine Kommandozeile zum debuggen starten' _W_msg_shell='Eine Kommandozeile zum debuggen starten'
_W_msg_folder='Ordner durchsuchen' _W_msg_folder='Ordner durchsuchen'
_W_msg_annihilate="ALLE DATEIEN UND PROGRAMME IN DIESEM WINEPREFIX Löschen" _W_msg_annihilate="ALLE DATEIEN UND PROGRAMME IN DIESEM WINEPREFIX Löschen"
;; ;;
pl*) _W_msg_title="Winetricks - obecny prefiks to \"${WINEPREFIX}\"" pl*) _W_msg_title="Winetricks - obecny prefiks to \"${WINEPREFIX}\""
_W_msg_body='Co chcesz zrobić w tym prefiksie?' _W_msg_body='Co chcesz zrobić w tym prefiksie?'
_W_msg_dlls="Zainstalować windowsową bibliotekę DLL lub komponent" _W_msg_dlls="Zainstalować windowsową bibliotekę DLL lub komponent"
_W_msg_fonts='Zainstalować czcionkę' _W_msg_fonts='Zainstalować czcionkę'
_W_msg_settings='Zmienić ustawienia' _W_msg_settings='Zmienić ustawienia'
_W_msg_winecfg='Uruchomić winecfg' _W_msg_winecfg='Uruchomić winecfg'
_W_msg_regedit='Uruchomić edytor rejestru' _W_msg_regedit='Uruchomić edytor rejestru'
_W_msg_taskmgr='Uruchomić menedżer zadań' _W_msg_taskmgr='Uruchomić menedżer zadań'
_W_msg_explorer='Uruchomić explorer' _W_msg_explorer='Uruchomić explorer'
_W_msg_uninstaller='Uruchomić program odinstalowujący' _W_msg_uninstaller='Uruchomić program odinstalowujący'
_W_msg_shell='Uruchomić powłokę wiersza poleceń (dla debugowania)' _W_msg_shell='Uruchomić powłokę wiersza poleceń (dla debugowania)'
_W_msg_folder='Przeglądać pliki' _W_msg_folder='Przeglądać pliki'
_W_msg_annihilate="Usuńąć WSZYSTKIE DANE I APLIKACJE WEWNĄTRZ TEGO PREFIKSU WINE" _W_msg_annihilate="Usuńąć WSZYSTKIE DANE I APLIKACJE WEWNĄTRZ TEGO PREFIKSU WINE"
;; ;;
pt*) _W_msg_title="Winetricks - o prefixo atual é \"${WINEPREFIX}\"" pt*) _W_msg_title="Winetricks - o prefixo atual é \"${WINEPREFIX}\""
_W_msg_body='O que você gostaria de fazer com este prefixo wineprefix?' _W_msg_body='O que você gostaria de fazer com este prefixo wineprefix?'
_W_msg_dlls="Instalar DLL ou componente do Windows" _W_msg_dlls="Instalar DLL ou componente do Windows"
_W_msg_fonts='Instalar fontes' _W_msg_fonts='Instalar fontes'
_W_msg_settings='Alterar configurações' _W_msg_settings='Alterar configurações'
_W_msg_winecfg='Executar winecfg' _W_msg_winecfg='Executar winecfg'
_W_msg_regedit='Executar regedit' _W_msg_regedit='Executar regedit'
_W_msg_taskmgr='Executar taskmgr' _W_msg_taskmgr='Executar taskmgr'
_W_msg_explorer='Executar explorer' _W_msg_explorer='Executar explorer'
_W_msg_uninstaller='Executar desinstalador' _W_msg_uninstaller='Executar desinstalador'
_W_msg_shell='Executar linha de comandos shell (para depuração)' _W_msg_shell='Executar linha de comandos shell (para depuração)'
_W_msg_folder='Gerenciar arquivos' _W_msg_folder='Gerenciar arquivos'
_W_msg_annihilate="Apagar TODOS OS DADOS E APLICATIVOS DENTRO DESTE WINEPREFIX" _W_msg_annihilate="Apagar TODOS OS DADOS E APLICATIVOS DENTRO DESTE WINEPREFIX"
;; ;;
ru*) _W_msg_title="Winetricks - текущий путь для wine (wineprefix) \"${WINEPREFIX}\"" ru*) _W_msg_title="Winetricks - текущий путь для wine (wineprefix) \"${WINEPREFIX}\""
_W_msg_body='Что вы хотите сделать с этим wineprefix?' _W_msg_body='Что вы хотите сделать с этим wineprefix?'
_W_msg_dlls="Установить библиотеку DLL или компонент Windows" _W_msg_dlls="Установить библиотеку DLL или компонент Windows"
_W_msg_fonts='Установить шрифт' _W_msg_fonts='Установить шрифт'
_W_msg_settings='Поменять настройки' _W_msg_settings='Поменять настройки'
_W_msg_winecfg='Запустить winecfg (редактор настроек wine)' _W_msg_winecfg='Запустить winecfg (редактор настроек wine)'
_W_msg_regedit='Запустить regedit (редактор реестра)' _W_msg_regedit='Запустить regedit (редактор реестра)'
_W_msg_taskmgr='Запустить taskmgr (менеджер задач)' _W_msg_taskmgr='Запустить taskmgr (менеджер задач)'
_W_msg_explorer='Запустить explorer' _W_msg_explorer='Запустить explorer'
_W_msg_uninstaller='Запустить uninstaller (деинсталлятор)' _W_msg_uninstaller='Запустить uninstaller (деинсталлятор)'
_W_msg_shell='Запустить графический терминал (для отладки)' _W_msg_shell='Запустить графический терминал (для отладки)'
_W_msg_folder='Проводник файлов' _W_msg_folder='Проводник файлов'
_W_msg_annihilate="Удалить ВСЕ ДАННЫЕ И ПРИЛОЖЕНИЯ В ЭТОМ WINEPREFIX" _W_msg_annihilate="Удалить ВСЕ ДАННЫЕ И ПРИЛОЖЕНИЯ В ЭТОМ WINEPREFIX"
;; ;;
uk*) _W_msg_title="Winetricks - поточний prefix \"${WINEPREFIX}\"" uk*) _W_msg_title="Winetricks - поточний prefix \"${WINEPREFIX}\""
_W_msg_body='Що Ви хочете зробити для цього wineprefix?' _W_msg_body='Що Ви хочете зробити для цього wineprefix?'
_W_msg_dlls="Встановити Windows DLL чи компонент(и)" _W_msg_dlls="Встановити Windows DLL чи компонент(и)"
_W_msg_fonts='Встановити шрифт' _W_msg_fonts='Встановити шрифт'
_W_msg_settings='Змінити налаштування' _W_msg_settings='Змінити налаштування'
_W_msg_winecfg='Запустити winecfg' _W_msg_winecfg='Запустити winecfg'
_W_msg_regedit='Запустити regedit' _W_msg_regedit='Запустити regedit'
_W_msg_taskmgr='Запустити taskmgr' _W_msg_taskmgr='Запустити taskmgr'
_W_msg_explorer='Запустити explorer' _W_msg_explorer='Запустити explorer'
_W_msg_uninstaller='Встановлення/видалення програм' _W_msg_uninstaller='Встановлення/видалення програм'
_W_msg_shell='Запуск командної оболонки (для налагодження)' _W_msg_shell='Запуск командної оболонки (для налагодження)'
_W_msg_folder='Перегляд файлів' _W_msg_folder='Перегляд файлів'
_W_msg_annihilate="Видалити УСІ ДАНІ ТА ПРОГРАМИ З ЦЬОГО WINEPREFIX" _W_msg_annihilate="Видалити УСІ ДАНІ ТА ПРОГРАМИ З ЦЬОГО WINEPREFIX"
;; ;;
zh_CN*) _W_msg_title="Winetricks - 当前容器路径是 \"${WINEPREFIX}\"" zh_CN*) _W_msg_title="Winetricks - 当前容器路径是 \"${WINEPREFIX}\""
_W_msg_body='管理当前容器' _W_msg_body='管理当前容器'
_W_msg_dlls="安装 Windows DLL 或组件" _W_msg_dlls="安装 Windows DLL 或组件"
_W_msg_fonts='安装字体' _W_msg_fonts='安装字体'
_W_msg_settings='修改设置' _W_msg_settings='修改设置'
_W_msg_winecfg='运行 Wine 配置程序' _W_msg_winecfg='运行 Wine 配置程序'
_W_msg_regedit='运行注册表' _W_msg_regedit='运行注册表'
_W_msg_taskmgr='运行任务管理器' _W_msg_taskmgr='运行任务管理器'
_W_msg_explorer='运行资源管理器' _W_msg_explorer='运行资源管理器'
_W_msg_uninstaller='运行卸载程序' _W_msg_uninstaller='运行卸载程序'
_W_msg_shell='运行命令提示窗口 (作为调试)' _W_msg_shell='运行命令提示窗口 (作为调试)'
_W_msg_folder='浏览容器中的文件' _W_msg_folder='浏览容器中的文件'
_W_msg_annihilate="删除容器中所有数据和应用程序" _W_msg_annihilate="删除容器中所有数据和应用程序"
;; ;;
zh_TW*|zh_HK*) _W_msg_title="Winetricks - 目前容器路徑是 \"${WINEPREFIX}\"" zh_TW*|zh_HK*) _W_msg_title="Winetricks - 目前容器路徑是 \"${WINEPREFIX}\""
_W_msg_body='管理目前容器' _W_msg_body='管理目前容器'
_W_msg_dlls="安裝 Windows DLL 或套件" _W_msg_dlls="安裝 Windows DLL 或套件"
_W_msg_fonts='安裝字型' _W_msg_fonts='安裝字型'
_W_msg_settings='修改設定' _W_msg_settings='修改設定'
_W_msg_winecfg='執行 Wine 設定程式' _W_msg_winecfg='執行 Wine 設定程式'
_W_msg_regedit='執行登錄編輯程式' _W_msg_regedit='執行登錄編輯程式'
_W_msg_taskmgr='執行工作管理員' _W_msg_taskmgr='執行工作管理員'
_W_msg_explorer='執行檔案總管' _W_msg_explorer='執行檔案總管'
_W_msg_uninstaller='執行解除安裝程式' _W_msg_uninstaller='執行解除安裝程式'
_W_msg_shell='執行命令提示視窗 (作為偵錯)' _W_msg_shell='執行命令提示視窗 (作為偵錯)'
_W_msg_folder='瀏覽容器中的檔案' _W_msg_folder='瀏覽容器中的檔案'
_W_msg_annihilate="刪除容器中所有資料和應用程式" _W_msg_annihilate="刪除容器中所有資料和應用程式"
;; ;;
*) _W_msg_title="Winetricks - current prefix is \"${WINEPREFIX}\"" *) _W_msg_title="Winetricks - current prefix is \"${WINEPREFIX}\""
_W_msg_body='What would you like to do to this wineprefix?' _W_msg_body='What would you like to do to this wineprefix?'
_W_msg_dlls="Install a Windows DLL or component" _W_msg_dlls="Install a Windows DLL or component"
_W_msg_fonts='Install a font' _W_msg_fonts='Install a font'
_W_msg_settings='Change settings' _W_msg_settings='Change settings'
_W_msg_winecfg='Run winecfg' _W_msg_winecfg='Run winecfg'
_W_msg_regedit='Run regedit' _W_msg_regedit='Run regedit'
_W_msg_taskmgr='Run taskmgr' _W_msg_taskmgr='Run taskmgr'
_W_msg_explorer='Run explorer' _W_msg_explorer='Run explorer'
_W_msg_uninstaller='Run uninstaller' _W_msg_uninstaller='Run uninstaller'
_W_msg_shell='Run a commandline shell (for debugging)' _W_msg_shell='Run a commandline shell (for debugging)'
_W_msg_folder='Browse files' _W_msg_folder='Browse files'
_W_msg_annihilate="Delete ALL DATA AND APPLICATIONS INSIDE THIS WINEPREFIX" _W_msg_annihilate="Delete ALL DATA AND APPLICATIONS INSIDE THIS WINEPREFIX"
;; ;;
esac esac
case ${WINETRICKS_GUI} in case ${WINETRICKS_GUI} in
...@@ -4006,7 +3760,7 @@ winetricks_mainmenu() ...@@ -4006,7 +3760,7 @@ winetricks_mainmenu()
FALSE shell '${_W_msg_shell}' \ FALSE shell '${_W_msg_shell}' \
FALSE folder '${_W_msg_folder}' \ FALSE folder '${_W_msg_folder}' \
FALSE annihilate '${_W_msg_annihilate}' \ FALSE annihilate '${_W_msg_annihilate}' \
" "
) > "${WINETRICKS_WORKDIR}"/zenity.sh ) > "${WINETRICKS_WORKDIR}"/zenity.sh
sh "${WINETRICKS_WORKDIR}"/zenity.sh | tr '|' ' ' sh "${WINETRICKS_WORKDIR}"/zenity.sh | tr '|' ' '
...@@ -4041,32 +3795,32 @@ winetricks_settings_menu() ...@@ -4041,32 +3795,32 @@ winetricks_settings_menu()
# FIXME: these translations should really be centralized/reused: # FIXME: these translations should really be centralized/reused:
case ${LANG} in case ${LANG} in
da*) _W_msg_title="Vælg en pakke - Nuværende præfiks er \"${WINEPREFIX}\"" da*) _W_msg_title="Vælg en pakke - Nuværende præfiks er \"${WINEPREFIX}\""
_W_msg_body='Which settings would you like to change?' _W_msg_body='Which settings would you like to change?'
;; ;;
de*) _W_msg_title="Winetricks - Aktueller Präfix ist \"${WINEPREFIX}\"" de*) _W_msg_title="Winetricks - Aktueller Präfix ist \"${WINEPREFIX}\""
_W_msg_body='Welche Einstellungen möchten Sie ändern?' _W_msg_body='Welche Einstellungen möchten Sie ändern?'
;; ;;
pl*) _W_msg_title="Winetricks - obecny prefiks to \"${WINEPREFIX}\"" pl*) _W_msg_title="Winetricks - obecny prefiks to \"${WINEPREFIX}\""
_W_msg_body='Jakie ustawienia chcesz zmienić?' _W_msg_body='Jakie ustawienia chcesz zmienić?'
;; ;;
pt*) _W_msg_title="Winetricks - o prefixo atual é \"${WINEPREFIX}\"" pt*) _W_msg_title="Winetricks - o prefixo atual é \"${WINEPREFIX}\""
_W_msg_body='Quais configurações você gostaria de alterar?' _W_msg_body='Quais configurações você gostaria de alterar?'
;; ;;
ru*) _W_msg_title="Winetricks - текущий путь wine (wineprefix) \"${WINEPREFIX}\"" ru*) _W_msg_title="Winetricks - текущий путь wine (wineprefix) \"${WINEPREFIX}\""
_W_msg_body='Какие настройки вы хотите изменить?' _W_msg_body='Какие настройки вы хотите изменить?'
;; ;;
uk*) _W_msg_title="Winetricks - поточний prefix \"${WINEPREFIX}\"" uk*) _W_msg_title="Winetricks - поточний prefix \"${WINEPREFIX}\""
_W_msg_body='Які налаштування Ви хочете змінити?' _W_msg_body='Які налаштування Ви хочете змінити?'
;; ;;
zh_CN*) _W_msg_title="Winetricks - 当前容器路径是 \"${WINEPREFIX}\"" zh_CN*) _W_msg_title="Winetricks - 当前容器路径是 \"${WINEPREFIX}\""
_W_msg_body='您想要更改哪项设置?' _W_msg_body='您想要更改哪项设置?'
;; ;;
zh_TW*|zh_HK*) _W_msg_title="Winetricks - 目前容器路徑是 \"${WINEPREFIX}\"" zh_TW*|zh_HK*) _W_msg_title="Winetricks - 目前容器路徑是 \"${WINEPREFIX}\""
_W_msg_body='您想要變更哪項設定?' _W_msg_body='您想要變更哪項設定?'
;; ;;
*) _W_msg_title="Winetricks - current prefix is \"${WINEPREFIX}\"" *) _W_msg_title="Winetricks - current prefix is \"${WINEPREFIX}\""
_W_msg_body='Which settings would you like to change?' _W_msg_body='Which settings would you like to change?'
;; ;;
esac esac
case ${WINETRICKS_GUI} in case ${WINETRICKS_GUI} in
...@@ -4227,41 +3981,41 @@ winetricks_showmenu() ...@@ -4227,41 +3981,41 @@ winetricks_showmenu()
{ {
case ${LANG} in case ${LANG} in
da*) _W_msg_title='Vælg en pakke' da*) _W_msg_title='Vælg en pakke'
_W_msg_body='Vilken pakke vil du installere?' _W_msg_body='Vilken pakke vil du installere?'
_W_cached="cached" _W_cached="cached"
;; ;;
de*) _W_msg_title="Winetricks - Aktueller Prefix ist \"${WINEPREFIX}\"" de*) _W_msg_title="Winetricks - Aktueller Prefix ist \"${WINEPREFIX}\""
_W_msg_body='Welche Paket(e) möchten Sie installieren?' _W_msg_body='Welche Paket(e) möchten Sie installieren?'
_W_cached="gecached" _W_cached="gecached"
;; ;;
pl*) _W_msg_title="Winetricks - obecny prefiks to \"${WINEPREFIX}\"" pl*) _W_msg_title="Winetricks - obecny prefiks to \"${WINEPREFIX}\""
_W_msg_body='Które paczki chesz zainstalować?' _W_msg_body='Które paczki chesz zainstalować?'
_W_cached="zarchiwizowane" _W_cached="zarchiwizowane"
;; ;;
pt*) _W_msg_title="Winetricks - o prefixo atual é \"${WINEPREFIX}\"" pt*) _W_msg_title="Winetricks - o prefixo atual é \"${WINEPREFIX}\""
_W_msg_body='Quais pacotes você gostaria de instalar?' _W_msg_body='Quais pacotes você gostaria de instalar?'
_W_cached="em cache" _W_cached="em cache"
;; ;;
ru*) _W_msg_title="Winetricks - текущий путь wine (wineprefix) \"${WINEPREFIX}\"" ru*) _W_msg_title="Winetricks - текущий путь wine (wineprefix) \"${WINEPREFIX}\""
_W_msg_body='Какое приложение(я) вы хотите установить?' _W_msg_body='Какое приложение(я) вы хотите установить?'
_W_cached="в кэше" _W_cached="в кэше"
;; ;;
uk*) _W_msg_title="Winetricks - поточний prefix \"${WINEPREFIX}\"" uk*) _W_msg_title="Winetricks - поточний prefix \"${WINEPREFIX}\""
_W_msg_body='Які пакунки Ви хочете встановити?' _W_msg_body='Які пакунки Ви хочете встановити?'
_W_cached="кешовано" _W_cached="кешовано"
;; ;;
zh_CN*) _W_msg_title="Winetricks - 当前容器路径是 \"${WINEPREFIX}\"" zh_CN*) _W_msg_title="Winetricks - 当前容器路径是 \"${WINEPREFIX}\""
_W_msg_body='您想要安装什么应用程序?' _W_msg_body='您想要安装什么应用程序?'
_W_cached="已缓存" _W_cached="已缓存"
;; ;;
zh_TW*|zh_HK*) _W_msg_title="Winetricks - 目前容器路徑是 \"${WINEPREFIX}\"" zh_TW*|zh_HK*) _W_msg_title="Winetricks - 目前容器路徑是 \"${WINEPREFIX}\""
_W_msg_body='您想要安裝什麼應用程式?' _W_msg_body='您想要安裝什麼應用程式?'
_W_cached="已緩存" _W_cached="已緩存"
;; ;;
*) _W_msg_title="Winetricks - current prefix is \"${WINEPREFIX}\"" *) _W_msg_title="Winetricks - current prefix is \"${WINEPREFIX}\""
_W_msg_body='Which package(s) would you like to install?' _W_msg_body='Which package(s) would you like to install?'
_W_cached="cached" _W_cached="cached"
;; ;;
esac esac
...@@ -4283,7 +4037,7 @@ winetricks_showmenu() ...@@ -4283,7 +4037,7 @@ winetricks_showmenu()
--height ${WINETRICKS_MENU_HEIGHT} \ --height ${WINETRICKS_MENU_HEIGHT} \
--width ${WINETRICKS_MENU_WIDTH} \ --width ${WINETRICKS_MENU_WIDTH} \
" "
;; ;;
de*) printf %s "zenity \ de*) printf %s "zenity \
--title '${_W_msg_title}' \ --title '${_W_msg_title}' \
--text '${_W_msg_body}' \ --text '${_W_msg_body}' \
...@@ -4299,7 +4053,7 @@ winetricks_showmenu() ...@@ -4299,7 +4053,7 @@ winetricks_showmenu()
--height ${WINETRICKS_MENU_HEIGHT} \ --height ${WINETRICKS_MENU_HEIGHT} \
--width ${WINETRICKS_MENU_WIDTH} \ --width ${WINETRICKS_MENU_WIDTH} \
" "
;; ;;
pl*) printf %s "zenity \ pl*) printf %s "zenity \
--title '${_W_msg_title}' \ --title '${_W_msg_title}' \
--text '${_W_msg_body}' \ --text '${_W_msg_body}' \
...@@ -4315,7 +4069,7 @@ winetricks_showmenu() ...@@ -4315,7 +4069,7 @@ winetricks_showmenu()
--height ${WINETRICKS_MENU_HEIGHT} \ --height ${WINETRICKS_MENU_HEIGHT} \
--width ${WINETRICKS_MENU_WIDTH} \ --width ${WINETRICKS_MENU_WIDTH} \
" "
;; ;;
pt*) printf %s "zenity \ pt*) printf %s "zenity \
--title '${_W_msg_title}' \ --title '${_W_msg_title}' \
--text '${_W_msg_body}' \ --text '${_W_msg_body}' \
...@@ -4331,7 +4085,7 @@ winetricks_showmenu() ...@@ -4331,7 +4085,7 @@ winetricks_showmenu()
--height ${WINETRICKS_MENU_HEIGHT} \ --height ${WINETRICKS_MENU_HEIGHT} \
--width ${WINETRICKS_MENU_WIDTH} \ --width ${WINETRICKS_MENU_WIDTH} \
" "
;; ;;
ru*) printf %s "zenity \ ru*) printf %s "zenity \
--title '${_W_msg_title}' \ --title '${_W_msg_title}' \
--text '${_W_msg_body}' \ --text '${_W_msg_body}' \
...@@ -4347,7 +4101,7 @@ winetricks_showmenu() ...@@ -4347,7 +4101,7 @@ winetricks_showmenu()
--height ${WINETRICKS_MENU_HEIGHT} \ --height ${WINETRICKS_MENU_HEIGHT} \
--width ${WINETRICKS_MENU_WIDTH} \ --width ${WINETRICKS_MENU_WIDTH} \
" "
;; ;;
uk*) printf %s "zenity \ uk*) printf %s "zenity \
--title '${_W_msg_title}' \ --title '${_W_msg_title}' \
--text '${_W_msg_body}' \ --text '${_W_msg_body}' \
...@@ -4363,7 +4117,7 @@ winetricks_showmenu() ...@@ -4363,7 +4117,7 @@ winetricks_showmenu()
--height ${WINETRICKS_MENU_HEIGHT} \ --height ${WINETRICKS_MENU_HEIGHT} \
--width ${WINETRICKS_MENU_WIDTH} \ --width ${WINETRICKS_MENU_WIDTH} \
" "
;; ;;
zh_CN*) printf %s "zenity \ zh_CN*) printf %s "zenity \
--title '${_W_msg_title}' \ --title '${_W_msg_title}' \
--text '${_W_msg_body}' \ --text '${_W_msg_body}' \
...@@ -4379,7 +4133,7 @@ winetricks_showmenu() ...@@ -4379,7 +4133,7 @@ winetricks_showmenu()
--height ${WINETRICKS_MENU_HEIGHT} \ --height ${WINETRICKS_MENU_HEIGHT} \
--width ${WINETRICKS_MENU_WIDTH} \ --width ${WINETRICKS_MENU_WIDTH} \
" "
;; ;;
zh_TW*|zh_HK*) printf %s "zenity \ zh_TW*|zh_HK*) printf %s "zenity \
--title '${_W_msg_title}' \ --title '${_W_msg_title}' \
--text '${_W_msg_body}' \ --text '${_W_msg_body}' \
...@@ -4395,7 +4149,7 @@ winetricks_showmenu() ...@@ -4395,7 +4149,7 @@ winetricks_showmenu()
--height ${WINETRICKS_MENU_HEIGHT} \ --height ${WINETRICKS_MENU_HEIGHT} \
--width ${WINETRICKS_MENU_WIDTH} \ --width ${WINETRICKS_MENU_WIDTH} \
" "
;; ;;
*) printf %s "zenity \ *) printf %s "zenity \
--title '${_W_msg_title}' \ --title '${_W_msg_title}' \
--text '${_W_msg_body}' \ --text '${_W_msg_body}' \
...@@ -4411,7 +4165,7 @@ winetricks_showmenu() ...@@ -4411,7 +4165,7 @@ winetricks_showmenu()
--height ${WINETRICKS_MENU_HEIGHT} \ --height ${WINETRICKS_MENU_HEIGHT} \
--width ${WINETRICKS_MENU_WIDTH} \ --width ${WINETRICKS_MENU_WIDTH} \
" "
;; ;;
esac > "${WINETRICKS_WORKDIR}"/zenity.sh esac > "${WINETRICKS_WORKDIR}"/zenity.sh
true > "${WINETRICKS_WORKDIR}"/installed.txt true > "${WINETRICKS_WORKDIR}"/installed.txt
...@@ -4543,20 +4297,24 @@ winetricks_is_installed() ...@@ -4543,20 +4297,24 @@ winetricks_is_installed()
_W_prefix="${WINEPREFIX}" _W_prefix="${WINEPREFIX}"
;; ;;
esac esac
if test -d "${_W_prefix}/dosdevices"; then if test -d "${_W_prefix}/dosdevices"; then
# 'win7 vcrun2005' creates different file than 'winxp vcrun2005' # 'win7 vcrun2005' creates different file than 'winxp vcrun2005'
# so let it specify multiple, separated by | # so let it specify multiple, separated by |
_W_IFS="${IFS}" _W_IFS="${IFS}"
IFS='|' IFS='|'
for _W_file_ in ${_W_file}; do
_W_file_unix="$(WINEPREFIX="${_W_prefix}" w_pathconv -u "${_W_file_}")" for _W_file_ in ${_W_file}; do
if test -f "${_W_file_unix}" && ! grep -q "Wine placeholder DLL" "${_W_file_unix}"; then _W_file_unix="$(WINEPREFIX="${_W_prefix}" w_pathconv -u "${_W_file_}")"
IFS="${_W_IFS}"
unset _W_file _W_file_ _W_file_unix _W_prefix _W_IFS if test -f "${_W_file_unix}" && ! grep -q "Wine placeholder DLL" "${_W_file_unix}"; then
return "${TRUE}" # installed IFS="${_W_IFS}"
fi unset _W_file _W_file_ _W_file_unix _W_prefix _W_IFS
done return "${TRUE}" # installed
IFS="${_W_IFS}" fi
done
IFS="${_W_IFS}"
fi fi
;; ;;
esac esac
...@@ -4881,16 +4639,17 @@ winetricks_cache_iso() ...@@ -4881,16 +4639,17 @@ winetricks_cache_iso()
# Use conv=noerror,sync to replace unreadable blocks with zeroes # Use conv=noerror,sync to replace unreadable blocks with zeroes
case ${WINETRICKS_OPT_DD} in case ${WINETRICKS_OPT_DD} in
dd) dd)
${WINETRICKS_OPT_DD} if=${WINETRICKS_DEV} of="${W_CACHE}"/temp.iso bs=2048 conv=noerror,sync & ${WINETRICKS_OPT_DD} if=${WINETRICKS_DEV} of="${W_CACHE}"/temp.iso bs=2048 conv=noerror,sync &
WINETRICKS_DD_PID=$! WINETRICKS_DD_PID=$!
;; ;;
ddrescue) ddrescue)
if [ ! -x "$(command -v ddrescue)" ]; then if [ ! -x "$(command -v ddrescue)" ]; then
w_die "Please install ddrescue first." w_die "Please install ddrescue first."
fi fi
${WINETRICKS_OPT_DD} -v -b 2048 ${WINETRICKS_DEV} "${W_CACHE}"/temp.iso &
WINETRICKS_DD_PID=$! ${WINETRICKS_OPT_DD} -v -b 2048 ${WINETRICKS_DEV} "${W_CACHE}"/temp.iso &
;; WINETRICKS_DD_PID=$!
;;
esac esac
echo "${WINETRICKS_DD_PID}" > "${WINETRICKS_WORKDIR}"/dd-pid echo "${WINETRICKS_DD_PID}" > "${WINETRICKS_WORKDIR}"/dd-pid
...@@ -5651,10 +5410,10 @@ winetricks_wine_setup() ...@@ -5651,10 +5410,10 @@ winetricks_wine_setup()
# wine-2.8 # wine-2.8
_wine_version_stripped="$(echo "${WINETRICKS_WINE_VERSION}" | cut -d ' ' -f1 | sed -e 's/wine-//' -e 's/-rc.*//')" _wine_version_stripped="$(echo "${WINETRICKS_WINE_VERSION}" | cut -d ' ' -f1 | sed -e 's/wine-//' -e 's/-rc.*//')"
# If WINE is < 5.0, warn user: # If WINE is < 6.0, warn user:
# 5.0 doesn't do what I thought it would # 6.0 doesn't do what I thought it would
if w_wine_version_in ,4.99 ; then if w_wine_version_in ,5.99 ; then
w_warn "Your version of wine ${_wine_version_stripped} is no longer supported upstream. You should upgrade to 5.x" w_warn "Your version of wine ${_wine_version_stripped} is no longer supported upstream. You should upgrade to 6.x"
fi fi
winetricks_set_wineprefix "$1" winetricks_set_wineprefix "$1"
...@@ -5936,7 +5695,7 @@ helper_d3dx9_xx() ...@@ -5936,7 +5695,7 @@ helper_d3dx9_xx()
w_try_cabextract -d "${W_TMP}" -L -F "*${dllname}*x86*" "${W_CACHE}"/directx9/${DIRECTX_NAME} w_try_cabextract -d "${W_TMP}" -L -F "*${dllname}*x86*" "${W_CACHE}"/directx9/${DIRECTX_NAME}
for x in "${W_TMP}"/*.cab; do for x in "${W_TMP}"/*.cab; do
w_try_cabextract -d "${W_SYSTEM32_DLLS}" -L -F "${dllname}.dll" "${x}" w_try_cabextract -d "${W_SYSTEM32_DLLS}" -L -F "${dllname}.dll" "${x}"
done done
if test "${W_ARCH}" = "win64"; then if test "${W_ARCH}" = "win64"; then
...@@ -6331,10 +6090,12 @@ load_d3dcompiler_42() ...@@ -6331,10 +6090,12 @@ load_d3dcompiler_42()
w_try_cabextract -d "${W_TMP}" -L -F "*${dllname}*x86*" "${W_CACHE}"/directx9/${DIRECTX_NAME} w_try_cabextract -d "${W_TMP}" -L -F "*${dllname}*x86*" "${W_CACHE}"/directx9/${DIRECTX_NAME}
for x in "${W_TMP}"/*.cab; do for x in "${W_TMP}"/*.cab; do
w_try_cabextract -d "${W_SYSTEM32_DLLS}" -L -F "${dllname}.dll" "${x}" w_try_cabextract -d "${W_SYSTEM32_DLLS}" -L -F "${dllname}.dll" "${x}"
done done
if test "${W_ARCH}" = "win64"; then if test "${W_ARCH}" = "win64"; then
w_try_cabextract -d "${W_TMP}" -L -F "*${dllname}*x64*" "${W_CACHE}"/directx9/${DIRECTX_NAME} w_try_cabextract -d "${W_TMP}" -L -F "*${dllname}*x64*" "${W_CACHE}"/directx9/${DIRECTX_NAME}
for x in "${W_TMP}"/*x64.cab; do for x in "${W_TMP}"/*x64.cab; do
w_try_cabextract -d "${W_SYSTEM64_DLLS}" -L -F "${dllname}.dll" "${x}" w_try_cabextract -d "${W_SYSTEM64_DLLS}" -L -F "${dllname}.dll" "${x}"
done done
...@@ -6364,11 +6125,14 @@ load_d3dcompiler_43() ...@@ -6364,11 +6125,14 @@ load_d3dcompiler_43()
helper_directx_Jun2010 helper_directx_Jun2010
w_try_cabextract -d "${W_TMP}" -L -F "*${dllname}*x86*" "${W_CACHE}"/directx9/${DIRECTX_NAME} w_try_cabextract -d "${W_TMP}" -L -F "*${dllname}*x86*" "${W_CACHE}"/directx9/${DIRECTX_NAME}
for x in "${W_TMP}"/*.cab; do for x in "${W_TMP}"/*.cab; do
w_try_cabextract -d "${W_SYSTEM32_DLLS}" -L -F "${dllname}.dll" "${x}" w_try_cabextract -d "${W_SYSTEM32_DLLS}" -L -F "${dllname}.dll" "${x}"
done done
if test "${W_ARCH}" = "win64"; then if test "${W_ARCH}" = "win64"; then
w_try_cabextract -d "${W_TMP}" -L -F "*${dllname}*x64*" "${W_CACHE}"/directx9/${DIRECTX_NAME} w_try_cabextract -d "${W_TMP}" -L -F "*${dllname}*x64*" "${W_CACHE}"/directx9/${DIRECTX_NAME}
for x in "${W_TMP}"/*x64.cab; do for x in "${W_TMP}"/*x64.cab; do
w_try_cabextract -d "${W_SYSTEM64_DLLS}" -L -F "${dllname}.dll" "${x}" w_try_cabextract -d "${W_SYSTEM64_DLLS}" -L -F "${dllname}.dll" "${x}"
done done
...@@ -6467,11 +6231,14 @@ load_d3dx9() ...@@ -6467,11 +6231,14 @@ load_d3dx9()
# Kinder, less invasive directx - only extract and override d3dx9_??.dll # Kinder, less invasive directx - only extract and override d3dx9_??.dll
w_try_cabextract -d "${W_TMP}" -L -F '*d3dx9*x86*' "${W_CACHE}"/directx9/${DIRECTX_NAME} w_try_cabextract -d "${W_TMP}" -L -F '*d3dx9*x86*' "${W_CACHE}"/directx9/${DIRECTX_NAME}
for x in "${W_TMP}"/*.cab; do for x in "${W_TMP}"/*.cab; do
w_try_cabextract -d "${W_SYSTEM32_DLLS}" -L -F 'd3dx9*.dll' "${x}" w_try_cabextract -d "${W_SYSTEM32_DLLS}" -L -F 'd3dx9*.dll' "${x}"
done done
if test "${W_ARCH}" = "win64"; then if test "${W_ARCH}" = "win64"; then
w_try_cabextract -d "${W_TMP}" -L -F '*d3dx9*x64*' "${W_CACHE}"/directx9/${DIRECTX_NAME} w_try_cabextract -d "${W_TMP}" -L -F '*d3dx9*x64*' "${W_CACHE}"/directx9/${DIRECTX_NAME}
for x in "${W_TMP}"/*x64.cab; do for x in "${W_TMP}"/*x64.cab; do
w_try_cabextract -d "${W_SYSTEM64_DLLS}" -L -F 'd3dx9*.dll' "${x}" w_try_cabextract -d "${W_SYSTEM64_DLLS}" -L -F 'd3dx9*.dll' "${x}"
done done
...@@ -6801,10 +6568,12 @@ load_d3dx11_42() ...@@ -6801,10 +6568,12 @@ load_d3dx11_42()
w_try_cabextract -d "${W_TMP}" -L -F "*${dllname}*x86*" "${W_CACHE}"/directx9/${DIRECTX_NAME} w_try_cabextract -d "${W_TMP}" -L -F "*${dllname}*x86*" "${W_CACHE}"/directx9/${DIRECTX_NAME}
for x in "${W_TMP}"/*.cab; do for x in "${W_TMP}"/*.cab; do
w_try_cabextract -d "${W_SYSTEM32_DLLS}" -L -F "${dllname}.dll" "${x}" w_try_cabextract -d "${W_SYSTEM32_DLLS}" -L -F "${dllname}.dll" "${x}"
done done
if test "${W_ARCH}" = "win64"; then if test "${W_ARCH}" = "win64"; then
w_try_cabextract -d "${W_TMP}" -L -F "*${dllname}*x64*" "${W_CACHE}"/directx9/${DIRECTX_NAME} w_try_cabextract -d "${W_TMP}" -L -F "*${dllname}*x64*" "${W_CACHE}"/directx9/${DIRECTX_NAME}
for x in "${W_TMP}"/*x64.cab; do for x in "${W_TMP}"/*x64.cab; do
w_try_cabextract -d "${W_SYSTEM64_DLLS}" -L -F "${dllname}.dll" "${x}" w_try_cabextract -d "${W_SYSTEM64_DLLS}" -L -F "${dllname}.dll" "${x}"
done done
...@@ -6831,10 +6600,12 @@ load_d3dx11_43() ...@@ -6831,10 +6600,12 @@ load_d3dx11_43()
w_try_cabextract -d "${W_TMP}" -L -F "*${dllname}*x86*" "${W_CACHE}"/directx9/${DIRECTX_NAME} w_try_cabextract -d "${W_TMP}" -L -F "*${dllname}*x86*" "${W_CACHE}"/directx9/${DIRECTX_NAME}
for x in "${W_TMP}"/*.cab; do for x in "${W_TMP}"/*.cab; do
w_try_cabextract -d "${W_SYSTEM32_DLLS}" -L -F "${dllname}.dll" "${x}" w_try_cabextract -d "${W_SYSTEM32_DLLS}" -L -F "${dllname}.dll" "${x}"
done done
if test "${W_ARCH}" = "win64"; then if test "${W_ARCH}" = "win64"; then
w_try_cabextract -d "${W_TMP}" -L -F "*${dllname}*x64*" "${W_CACHE}"/directx9/${DIRECTX_NAME} w_try_cabextract -d "${W_TMP}" -L -F "*${dllname}*x64*" "${W_CACHE}"/directx9/${DIRECTX_NAME}
for x in "${W_TMP}"/*x64.cab; do for x in "${W_TMP}"/*x64.cab; do
w_try_cabextract -d "${W_SYSTEM64_DLLS}" -L -F "${dllname}.dll" "${x}" w_try_cabextract -d "${W_SYSTEM64_DLLS}" -L -F "${dllname}.dll" "${x}"
done done
...@@ -6860,10 +6631,12 @@ load_d3dx10() ...@@ -6860,10 +6631,12 @@ load_d3dx10()
# Kinder, less invasive directx10 - only extract and override d3dx10_??.dll # Kinder, less invasive directx10 - only extract and override d3dx10_??.dll
w_try_cabextract -d "${W_TMP}" -L -F '*d3dx10*x86*' "${W_CACHE}"/directx9/${DIRECTX_NAME} w_try_cabextract -d "${W_TMP}" -L -F '*d3dx10*x86*' "${W_CACHE}"/directx9/${DIRECTX_NAME}
for x in "${W_TMP}"/*.cab; do for x in "${W_TMP}"/*.cab; do
w_try_cabextract -d "${W_SYSTEM32_DLLS}" -L -F 'd3dx10*.dll' "${x}" w_try_cabextract -d "${W_SYSTEM32_DLLS}" -L -F 'd3dx10*.dll' "${x}"
done done
if test "${W_ARCH}" = "win64"; then if test "${W_ARCH}" = "win64"; then
w_try_cabextract -d "${W_TMP}" -L -F '*d3dx10*x64*' "${W_CACHE}"/directx9/${DIRECTX_NAME} w_try_cabextract -d "${W_TMP}" -L -F '*d3dx10*x64*' "${W_CACHE}"/directx9/${DIRECTX_NAME}
for x in "${W_TMP}"/*x64.cab; do for x in "${W_TMP}"/*x64.cab; do
w_try_cabextract -d "${W_SYSTEM64_DLLS}" -L -F 'd3dx10*.dll' "${x}" w_try_cabextract -d "${W_SYSTEM64_DLLS}" -L -F 'd3dx10*.dll' "${x}"
done done
...@@ -6892,10 +6665,12 @@ load_d3dx10_43() ...@@ -6892,10 +6665,12 @@ load_d3dx10_43()
w_try_cabextract -d "${W_TMP}" -L -F "*${dllname}*x86*" "${W_CACHE}"/directx9/${DIRECTX_NAME} w_try_cabextract -d "${W_TMP}" -L -F "*${dllname}*x86*" "${W_CACHE}"/directx9/${DIRECTX_NAME}
for x in "${W_TMP}"/*.cab; do for x in "${W_TMP}"/*.cab; do
w_try_cabextract -d "${W_SYSTEM32_DLLS}" -L -F "${dllname}.dll" "${x}" w_try_cabextract -d "${W_SYSTEM32_DLLS}" -L -F "${dllname}.dll" "${x}"
done done
if test "${W_ARCH}" = "win64"; then if test "${W_ARCH}" = "win64"; then
w_try_cabextract -d "${W_TMP}" -L -F "*${dllname}*x64*" "${W_CACHE}"/directx9/${DIRECTX_NAME} w_try_cabextract -d "${W_TMP}" -L -F "*${dllname}*x64*" "${W_CACHE}"/directx9/${DIRECTX_NAME}
for x in "${W_TMP}"/*x64.cab; do for x in "${W_TMP}"/*x64.cab; do
w_try_cabextract -d "${W_SYSTEM64_DLLS}" -L -F "${dllname}.dll" "${x}" w_try_cabextract -d "${W_SYSTEM64_DLLS}" -L -F "${dllname}.dll" "${x}"
done done
...@@ -7123,9 +6898,9 @@ load_dpvoice() ...@@ -7123,9 +6898,9 @@ load_dpvoice()
w_try_cabextract -d "${W_TMP}" -L -F 'dxnt.cab' "${W_CACHE}"/directx9/${DIRECTX_NAME} w_try_cabextract -d "${W_TMP}" -L -F 'dxnt.cab' "${W_CACHE}"/directx9/${DIRECTX_NAME}
for x in "${W_TMP}"/*.cab; do for x in "${W_TMP}"/*.cab; do
w_try_cabextract -d "${W_SYSTEM32_DLLS}" -L -F 'dpvoice.dll' "${x}" w_try_cabextract -d "${W_SYSTEM32_DLLS}" -L -F 'dpvoice.dll' "${x}"
w_try_cabextract -d "${W_SYSTEM32_DLLS}" -L -F 'dpvvox.dll' "${x}" w_try_cabextract -d "${W_SYSTEM32_DLLS}" -L -F 'dpvvox.dll' "${x}"
w_try_cabextract -d "${W_SYSTEM32_DLLS}" -L -F 'dpvacm.dll' "${x}" w_try_cabextract -d "${W_SYSTEM32_DLLS}" -L -F 'dpvacm.dll' "${x}"
done done
w_override_dlls native dpvoice dpvvox dpvacm w_override_dlls native dpvoice dpvvox dpvacm
w_try_regsvr dpvoice.dll w_try_regsvr dpvoice.dll
...@@ -7156,22 +6931,22 @@ load_dsdmo() ...@@ -7156,22 +6931,22 @@ load_dsdmo()
#---------------------------------------------------------------- #----------------------------------------------------------------
w_metadata dxsdk_nov2006 apps \ w_metadata dxsdk_aug2006 apps \
title="MS DirectX SDK, November 2006 (developers only)" \ title="MS DirectX SDK, August 2006 (developers only)" \
publisher="Microsoft" \ publisher="Microsoft" \
year="2006" \ year="2006" \
media="download" \ media="download" \
file1="dxsdk_aug2006.exe" \ file1="dxsdk_aug2006.exe" \
installed_file1="${W_PROGRAMS_X86_WIN}/Microsoft DirectX SDK (August 2006)/Lib/x86/d3d10.lib" installed_file1="${W_PROGRAMS_X86_WIN}/Microsoft DirectX SDK (August 2006)/Lib/x86/d3d10.lib"
load_dxsdk_nov2006() load_dxsdk_aug2006()
{ {
w_download https://download.microsoft.com/download/9/e/5/9e5bfc66-a621-4e0d-8bfe-6688058c3f00/dxsdk_aug2006.exe ab8d7d895089a88108d4148ef0f7e214b7a23c1ee9ba720feca78c7d4ca16c00 w_download https://archive.org/download/dxsdk_aug2006/dxsdk_aug2006.exe ab8d7d895089a88108d4148ef0f7e214b7a23c1ee9ba720feca78c7d4ca16c00
# dxview.dll uses mfc42u while registering # dxview.dll uses mfc42u while registering
w_call mfc42 w_call mfc42
w_try_cabextract "${W_CACHE}"/dxsdk_nov2006/dxsdk_aug2006.exe w_try_cabextract "${W_CACHE}/${W_PACKAGE}/${file1}"
w_try_unzip "${W_TMP}" dxsdk.exe w_try_unzip "${W_TMP}" dxsdk.exe
w_try_cd "${W_TMP}" w_try_cd "${W_TMP}"
w_try "${WINE}" msiexec /i Microsoft_DirectX_SDK.msi ${W_OPT_UNATTENDED:+/q} w_try "${WINE}" msiexec /i Microsoft_DirectX_SDK.msi ${W_OPT_UNATTENDED:+/q}
...@@ -8496,7 +8271,7 @@ helper_vkd3d_proton() ...@@ -8496,7 +8271,7 @@ helper_vkd3d_proton()
w_try_unzip "${W_TMP}" "${W_CACHE}/${W_PACKAGE}/${_W_package_archive}" w_try_unzip "${W_TMP}" "${W_CACHE}/${W_PACKAGE}/${_W_package_archive}"
elif [ "${_W_package_archive##*.}" = "zst" ]; then elif [ "${_W_package_archive##*.}" = "zst" ]; then
w_try_cd "${W_TMP}" w_try_cd "${W_TMP}"
w_try tar -I zstd -xvf "${W_CACHE}/${W_PACKAGE}/${_W_package_archive}" w_try tar --use-compress-program=unzstd -xvf "${W_CACHE}/${W_PACKAGE}/${_W_package_archive}"
else else
w_try_cd "${W_TMP}" w_try_cd "${W_TMP}"
w_try tar -zxf "${W_CACHE}/${W_PACKAGE}/${_W_package_archive}" w_try tar -zxf "${W_CACHE}/${W_PACKAGE}/${_W_package_archive}"
...@@ -8821,7 +8596,7 @@ load_dotnet11sp1() ...@@ -8821,7 +8596,7 @@ load_dotnet11sp1()
# The installer itself doesn't support 64-bit # The installer itself doesn't support 64-bit
w_package_unsupported_win64 w_package_unsupported_win64
w_download https://download.microsoft.com/download/8/b/4/8b4addd8-e957-4dea-bdb8-c4e00af5b94b/NDP1.1sp1-KB867460-X86.exe 2c0a35409ff0873cfa28b70b8224e9aca2362241c1f0ed6f622fef8d4722fd9a w_download https://msassist.com/files/dotNETframework/NDP1.1sp1-KB867460-X86.exe 2c0a35409ff0873cfa28b70b8224e9aca2362241c1f0ed6f622fef8d4722fd9a
w_call remove_mono w_call remove_mono
w_call dotnet11 w_call dotnet11
...@@ -8926,7 +8701,7 @@ load_dotnet20() ...@@ -8926,7 +8701,7 @@ load_dotnet20()
# This affects Victoria 2 demo, see https://forum.paradoxplaza.com/forum/showthread.php?p=11523967 # This affects Victoria 2 demo, see https://forum.paradoxplaza.com/forum/showthread.php?p=11523967
rm -f "${W_SYSTEM32_DLLS}"/msvc?80.dll rm -f "${W_SYSTEM32_DLLS}"/msvc?80.dll
elif [ "${W_ARCH}" = "win64" ]; then elif [ "${W_ARCH}" = "win64" ]; then
w_download https://download.microsoft.com/download/a/3/f/a3f1bf98-18f3-4036-9b68-8e6de530ce0a/NetFx64.exe 7ea86dca8eeaedcaa4a17370547ca2cea9e9b6774972b8e03d2cb1fb0e798669 w_download https://web.archive.org/web/20060509045320/https://download.microsoft.com/download/a/3/f/a3f1bf98-18f3-4036-9b68-8e6de530ce0a/NetFx64.exe 7ea86dca8eeaedcaa4a17370547ca2cea9e9b6774972b8e03d2cb1fb0e798669
# validates successfully in win7 mode wine-3.19, so not setting winversion # validates successfully in win7 mode wine-3.19, so not setting winversion
w_try_cd "${W_CACHE}"/"${W_PACKAGE}" w_try_cd "${W_CACHE}"/"${W_PACKAGE}"
...@@ -8961,7 +8736,7 @@ load_dotnet20sdk() ...@@ -8961,7 +8736,7 @@ load_dotnet20sdk()
w_package_unsupported_win64 w_package_unsupported_win64
# https://www.microsoft.com/en-us/download/details.aspx?id=19988 # https://www.microsoft.com/en-us/download/details.aspx?id=19988
w_download https://download.microsoft.com/download/c/4/b/c4b15d7d-6f37-4d5a-b9c6-8f07e7d46635/setup.exe 1d7337bfbb2c65f43c82d188688ce152af403bcb67a2cc2a3cc68a580ecd8200 w_download https://web.archive.org/web/20111102051348/https://download.microsoft.com/download/c/4/b/c4b15d7d-6f37-4d5a-b9c6-8f07e7d46635/setup.exe 1d7337bfbb2c65f43c82d188688ce152af403bcb67a2cc2a3cc68a580ecd8200
w_call remove_mono w_call remove_mono
...@@ -9444,6 +9219,15 @@ load_dotnet40() ...@@ -9444,6 +9219,15 @@ load_dotnet40()
# Avoid a popup on WINEPREFIX updates, see https://bugs.winehq.org/show_bug.cgi?id=41727#c5 # Avoid a popup on WINEPREFIX updates, see https://bugs.winehq.org/show_bug.cgi?id=41727#c5
"${WINE}" reg add "HKLM\\Software\\Microsoft\\.NETFramework" /v OnlyUseLatestCLR /t REG_DWORD /d 0001 /f "${WINE}" reg add "HKLM\\Software\\Microsoft\\.NETFramework" /v OnlyUseLatestCLR /t REG_DWORD /d 0001 /f
# See https://bugs.winehq.org/show_bug.cgi?id=47277#c9
case "${LANG}" in
C|en_US.UTF-8*) ;;
zh_CN*) w_warn "You may encounter infinite loops when trying to use applications that use WPF. Use LC_ALL=C when running your application as a workaround."
# Based on the bug, there may be other locales that are affected. But in the absence of a full list
# I don't think it's worth warning *every* non-en_US.UTF-8 user:
# *) w_warn "
esac
w_set_winver 'default' w_set_winver 'default'
} }
...@@ -9481,6 +9265,15 @@ load_dotnet40_kb2468871() ...@@ -9481,6 +9265,15 @@ load_dotnet40_kb2468871()
w_try_cd "${W_TMP}" w_try_cd "${W_TMP}"
w_try "${WINE}" msiexec /p NDP40-KB2468871.msp w_try "${WINE}" msiexec /p NDP40-KB2468871.msp
# See https://bugs.winehq.org/show_bug.cgi?id=47277#c9
case "${LANG}" in
C|en_US.UTF-8*) ;;
zh_CN*) w_warn "You may encounter infinite loops when trying to use applications that use WPF. Use LC_ALL=C when running your application as a workaround."
# Based on the bug, there may be other locales that are affected. But in the absence of a full list
# I don't think it's worth warning *every* non-en_US.UTF-8 user:
# *) w_warn "
esac
w_set_winver 'default' w_set_winver 'default'
} }
...@@ -9533,6 +9326,15 @@ load_dotnet45() ...@@ -9533,6 +9326,15 @@ load_dotnet45()
w_warn "Setting Windows version to 2003, otherwise applications using .NET 4.5 will subtly fail" w_warn "Setting Windows version to 2003, otherwise applications using .NET 4.5 will subtly fail"
w_set_winver win2k3 w_set_winver win2k3
# See https://bugs.winehq.org/show_bug.cgi?id=47277#c9
case "${LANG}" in
C|en_US.UTF-8*) ;;
zh_CN*) w_warn "You may encounter infinite loops when trying to use applications that use WPF. Use LC_ALL=C when running your application as a workaround."
# Based on the bug, there may be other locales that are affected. But in the absence of a full list
# I don't think it's worth warning *every* non-en_US.UTF-8 user:
# *) w_warn "
esac
} }
verify_dotnet45() verify_dotnet45()
...@@ -9581,6 +9383,15 @@ load_dotnet452() ...@@ -9581,6 +9383,15 @@ load_dotnet452()
w_warn "Setting Windows version to 2003, otherwise applications using .NET 4.5 will subtly fail" w_warn "Setting Windows version to 2003, otherwise applications using .NET 4.5 will subtly fail"
w_set_winver win2k3 w_set_winver win2k3
# See https://bugs.winehq.org/show_bug.cgi?id=47277#c9
case "${LANG}" in
C|en_US.UTF-8*) ;;
zh_CN*) w_warn "You may encounter infinite loops when trying to use applications that use WPF. Use LC_ALL=C when running your application as a workaround."
# Based on the bug, there may be other locales that are affected. But in the absence of a full list
# I don't think it's worth warning *every* non-en_US.UTF-8 user:
# *) w_warn "
esac
} }
verify_dotnet452() verify_dotnet452()
...@@ -9619,6 +9430,15 @@ load_dotnet46() ...@@ -9619,6 +9430,15 @@ load_dotnet46()
WINEDLLOVERRIDES=fusion=b w_try_ms_installer "${WINE}" "${file1}" ${W_OPT_UNATTENDED:+/q /c:"install.exe /q"} WINEDLLOVERRIDES=fusion=b w_try_ms_installer "${WINE}" "${file1}" ${W_OPT_UNATTENDED:+/q /c:"install.exe /q"}
w_override_dlls native mscoree w_override_dlls native mscoree
# See https://bugs.winehq.org/show_bug.cgi?id=47277#c9
case "${LANG}" in
C|en_US.UTF-8*) ;;
zh_CN*) w_warn "You may encounter infinite loops when trying to use applications that use WPF. Use LC_ALL=C when running your application as a workaround."
# Based on the bug, there may be other locales that are affected. But in the absence of a full list
# I don't think it's worth warning *every* non-en_US.UTF-8 user:
# *) w_warn "
esac
} }
verify_dotnet46() verify_dotnet46()
...@@ -9660,6 +9480,15 @@ load_dotnet461() ...@@ -9660,6 +9480,15 @@ load_dotnet461()
# Do not rely on temporary files. As a workaround, touch a file instead so that we know it's been installed for list-installed # Do not rely on temporary files. As a workaround, touch a file instead so that we know it's been installed for list-installed
w_try touch "${W_WINDIR_UNIX}/dotnet461.installed.workaround" w_try touch "${W_WINDIR_UNIX}/dotnet461.installed.workaround"
# See https://bugs.winehq.org/show_bug.cgi?id=47277#c9
case "${LANG}" in
C|en_US.UTF-8*) ;;
zh_CN*) w_warn "You may encounter infinite loops when trying to use applications that use WPF. Use LC_ALL=C when running your application as a workaround."
# Based on the bug, there may be other locales that are affected. But in the absence of a full list
# I don't think it's worth warning *every* non-en_US.UTF-8 user:
# *) w_warn "
esac
} }
verify_dotnet461() verify_dotnet461()
...@@ -9702,6 +9531,15 @@ load_dotnet462() ...@@ -9702,6 +9531,15 @@ load_dotnet462()
# Unfortunately, dotnet462 install the same files that dotnet461 does, but with different checksums # Unfortunately, dotnet462 install the same files that dotnet461 does, but with different checksums
# The only unique files are temporary ones. As a workaround, touch a file instead so that we know it's been installed for list-installed # The only unique files are temporary ones. As a workaround, touch a file instead so that we know it's been installed for list-installed
w_try touch "${W_WINDIR_UNIX}/dotnet462.installed.workaround" w_try touch "${W_WINDIR_UNIX}/dotnet462.installed.workaround"
# See https://bugs.winehq.org/show_bug.cgi?id=47277#c9
case "${LANG}" in
C|en_US.UTF-8*) ;;
zh_CN*) w_warn "You may encounter infinite loops when trying to use applications that use WPF. Use LC_ALL=C when running your application as a workaround."
# Based on the bug, there may be other locales that are affected. But in the absence of a full list
# I don't think it's worth warning *every* non-en_US.UTF-8 user:
# *) w_warn "
esac
} }
verify_dotnet462() verify_dotnet462()
...@@ -9743,6 +9581,15 @@ load_dotnet471() ...@@ -9743,6 +9581,15 @@ load_dotnet471()
# Do not rely on temporary files. As a workaround, touch a file instead so that we know it's been installed for list-installed # Do not rely on temporary files. As a workaround, touch a file instead so that we know it's been installed for list-installed
w_try touch "${W_WINDIR_UNIX}/dotnet471.installed.workaround" w_try touch "${W_WINDIR_UNIX}/dotnet471.installed.workaround"
# See https://bugs.winehq.org/show_bug.cgi?id=47277#c9
case "${LANG}" in
C|en_US.UTF-8*) ;;
zh_CN*) w_warn "You may encounter infinite loops when trying to use applications that use WPF. Use LC_ALL=C when running your application as a workaround."
# Based on the bug, there may be other locales that are affected. But in the absence of a full list
# I don't think it's worth warning *every* non-en_US.UTF-8 user:
# *) w_warn "
esac
} }
verify_dotnet471() verify_dotnet471()
...@@ -9783,6 +9630,15 @@ load_dotnet472() ...@@ -9783,6 +9630,15 @@ load_dotnet472()
# Do not rely on temporary files. As a workaround, touch a file instead so that we know it's been installed for list-installed # Do not rely on temporary files. As a workaround, touch a file instead so that we know it's been installed for list-installed
w_try touch "${W_WINDIR_UNIX}/dotnet472.installed.workaround" w_try touch "${W_WINDIR_UNIX}/dotnet472.installed.workaround"
# See https://bugs.winehq.org/show_bug.cgi?id=47277#c9
case "${LANG}" in
C|en_US.UTF-8*) ;;
zh_CN*) w_warn "You may encounter infinite loops when trying to use applications that use WPF. Use LC_ALL=C when running your application as a workaround."
# Based on the bug, there may be other locales that are affected. But in the absence of a full list
# I don't think it's worth warning *every* non-en_US.UTF-8 user:
# *) w_warn "
esac
} }
verify_dotnet472() verify_dotnet472()
...@@ -9824,6 +9680,15 @@ load_dotnet48() ...@@ -9824,6 +9680,15 @@ load_dotnet48()
# Do not rely on temporary files. As a workaround, touch a file instead so that we know it's been installed for list-installed # Do not rely on temporary files. As a workaround, touch a file instead so that we know it's been installed for list-installed
w_try touch "${W_WINDIR_UNIX}/dotnet48.installed.workaround" w_try touch "${W_WINDIR_UNIX}/dotnet48.installed.workaround"
# See https://bugs.winehq.org/show_bug.cgi?id=47277#c9
case "${LANG}" in
C|en_US.UTF-8*) ;;
zh_CN*) w_warn "You may encounter infinite loops when trying to use applications that use WPF. Use LC_ALL=C when running your application as a workaround."
# Based on the bug, there may be other locales that are affected. But in the absence of a full list
# I don't think it's worth warning *every* non-en_US.UTF-8 user:
# *) w_warn "
esac
} }
verify_dotnet48() verify_dotnet48()
...@@ -11763,13 +11628,13 @@ load_python26() ...@@ -11763,13 +11628,13 @@ load_python26()
run pywin32-214.win32-py2.6.exe run pywin32-214.win32-py2.6.exe
WinWait, Setup, Wizard will install pywin32 WinWait, Setup, Wizard will install pywin32
if ( w_opt_unattended > 0 ) { if ( w_opt_unattended > 0 ) {
ControlClick Button2 ; next ControlClick Button2 ; next
WinWait, Setup, Python 2.6 is required WinWait, Setup, Python 2.6 is required
ControlClick Button3 ; next ControlClick Button3 ; next
WinWait, Setup, Click Next to begin WinWait, Setup, Click Next to begin
ControlClick Button3 ; next ControlClick Button3 ; next
WinWait, Setup, finished WinWait, Setup, finished
ControlClick Button4 ; Finish ControlClick Button4 ; Finish
} }
WinWaitClose WinWaitClose
" "
...@@ -11798,13 +11663,13 @@ load_python27() ...@@ -11798,13 +11663,13 @@ load_python27()
run pywin32-224.win32-py2.7.exe run pywin32-224.win32-py2.7.exe
WinWait, Setup, Wizard will install pywin32 WinWait, Setup, Wizard will install pywin32
if ( w_opt_unattended > 0 ) { if ( w_opt_unattended > 0 ) {
ControlClick Button2 ; next ControlClick Button2 ; next
WinWait, Setup, Python 2.7 is required WinWait, Setup, Python 2.7 is required
ControlClick Button3 ; next ControlClick Button3 ; next
WinWait, Setup, Click Next to begin WinWait, Setup, Click Next to begin
ControlClick Button3 ; next ControlClick Button3 ; next
WinWait, Setup, finished WinWait, Setup, finished
ControlClick Button4 ; Finish ControlClick Button4 ; Finish
} }
WinWaitClose WinWaitClose
" "
...@@ -12940,7 +12805,7 @@ load_mfc120() ...@@ -12940,7 +12805,7 @@ load_mfc120()
#---------------------------------------------------------------- #----------------------------------------------------------------
w_metadata vcrun2015 dlls \ w_metadata vcrun2015 dlls \
title="Visual C++ 2015 libraries (concrt140.dll,mfc140.dll,mfc140u.dll,mfcm140.dll,mfcm140u.dll,msvcp140.dll,vcamp140.dll,vccorlib140.dll,vcomp140.dll,vcruntime140.dll)" \ title="Visual C++ 2015 libraries (concrt140.dll,mfc140.dll,mfc140u.dll,mfcm140.dll,mfcm140u.dll,msvcp140.dll,msvcp140_1.dll,msvcp140_atomic_wait.dll,vcamp140.dll,vccorlib140.dll,vcomp140.dll,vcruntime140.dll,vcruntime140_1.dll)" \
publisher="Microsoft" \ publisher="Microsoft" \
year="2015" \ year="2015" \
media="download" \ media="download" \
...@@ -12954,7 +12819,7 @@ load_vcrun2015() ...@@ -12954,7 +12819,7 @@ load_vcrun2015()
# 2015/10/12: fdd1e1f0dcae2d0aa0720895eff33b927d13076e64464bb7c7e5843b7667cd14 # 2015/10/12: fdd1e1f0dcae2d0aa0720895eff33b927d13076e64464bb7c7e5843b7667cd14
w_download https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x86.exe fdd1e1f0dcae2d0aa0720895eff33b927d13076e64464bb7c7e5843b7667cd14 w_download https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x86.exe fdd1e1f0dcae2d0aa0720895eff33b927d13076e64464bb7c7e5843b7667cd14
w_override_dlls native,builtin api-ms-win-crt-private-l1-1-0 api-ms-win-crt-conio-l1-1-0 api-ms-win-crt-convert-l1-1-0 api-ms-win-crt-environment-l1-1-0 api-ms-win-crt-filesystem-l1-1-0 api-ms-win-crt-heap-l1-1-0 api-ms-win-crt-locale-l1-1-0 api-ms-win-crt-math-l1-1-0 api-ms-win-crt-multibyte-l1-1-0 api-ms-win-crt-process-l1-1-0 api-ms-win-crt-runtime-l1-1-0 api-ms-win-crt-stdio-l1-1-0 api-ms-win-crt-string-l1-1-0 api-ms-win-crt-utility-l1-1-0 api-ms-win-crt-time-l1-1-0 atl140 concrt140 msvcp140 msvcr140 ucrtbase vcomp140 vcruntime140 w_override_dlls native,builtin api-ms-win-crt-private-l1-1-0 api-ms-win-crt-conio-l1-1-0 api-ms-win-crt-convert-l1-1-0 api-ms-win-crt-environment-l1-1-0 api-ms-win-crt-filesystem-l1-1-0 api-ms-win-crt-heap-l1-1-0 api-ms-win-crt-locale-l1-1-0 api-ms-win-crt-math-l1-1-0 api-ms-win-crt-multibyte-l1-1-0 api-ms-win-crt-process-l1-1-0 api-ms-win-crt-runtime-l1-1-0 api-ms-win-crt-stdio-l1-1-0 api-ms-win-crt-string-l1-1-0 api-ms-win-crt-utility-l1-1-0 api-ms-win-crt-time-l1-1-0 atl140 concrt140 msvcp140 msvcp140_1 msvcp140_atomic_wait ucrtbase vcomp140 vccorlib140 vcruntime140 vcruntime140_1
if w_workaround_wine_bug 50894 "Working around failing wusa.exe lookup via C:\windows\SysNative"; then if w_workaround_wine_bug 50894 "Working around failing wusa.exe lookup via C:\windows\SysNative"; then
w_set_winver winxp w_set_winver winxp
...@@ -13019,7 +12884,7 @@ load_mfc140() ...@@ -13019,7 +12884,7 @@ load_mfc140()
#---------------------------------------------------------------- #----------------------------------------------------------------
w_metadata vcrun2017 dlls \ w_metadata vcrun2017 dlls \
title="Visual C++ 2017 libraries (concrt140.dll,mfc140.dll,mfc140u.dll,mfcm140.dll,mfcm140u.dll,msvcp140.dll,msvcp140_1.dll,msvcp140_2.dll,vcamp140.dll,vccorlib140.dll,vcomp140.dll,vcruntime140.dll)" \ title="Visual C++ 2017 libraries (concrt140.dll,mfc140.dll,mfc140u.dll,mfcm140.dll,mfcm140u.dll,msvcp140.dll,msvcp140_1.dll,msvcp140_2.dll,msvcp140_atomic_wait.dll,vcamp140.dll,vccorlib140.dll,vcomp140.dll,vcruntime140.dll,vcruntime140_1.dll)" \
publisher="Microsoft" \ publisher="Microsoft" \
year="2017" \ year="2017" \
media="download" \ media="download" \
...@@ -13035,9 +12900,9 @@ load_vcrun2017() ...@@ -13035,9 +12900,9 @@ load_vcrun2017()
# 2019/08/14: 54ad46ae80984aa48cae6361213692c96b3639e322730d28c7fb93b183c761da # 2019/08/14: 54ad46ae80984aa48cae6361213692c96b3639e322730d28c7fb93b183c761da
w_download https://aka.ms/vs/15/release/vc_redist.x86.exe 54ad46ae80984aa48cae6361213692c96b3639e322730d28c7fb93b183c761da w_download https://aka.ms/vs/15/release/vc_redist.x86.exe 54ad46ae80984aa48cae6361213692c96b3639e322730d28c7fb93b183c761da
w_override_dlls native,builtin api-ms-win-crt-private-l1-1-0 api-ms-win-crt-conio-l1-1-0 api-ms-win-crt-heap-l1-1-0 api-ms-win-crt-locale-l1-1-0 api-ms-win-crt-math-l1-1-0 api-ms-win-crt-runtime-l1-1-0 api-ms-win-crt-stdio-l1-1-0 api-ms-win-crt-time-l1-1-0 atl140 concrt140 msvcp140 msvcp140_1 msvcp140_2 msvcr140 ucrtbase vcomp140 vcruntime140 w_override_dlls native,builtin api-ms-win-crt-private-l1-1-0 api-ms-win-crt-conio-l1-1-0 api-ms-win-crt-heap-l1-1-0 api-ms-win-crt-locale-l1-1-0 api-ms-win-crt-math-l1-1-0 api-ms-win-crt-runtime-l1-1-0 api-ms-win-crt-stdio-l1-1-0 api-ms-win-crt-time-l1-1-0 atl140 concrt140 msvcp140 msvcp140_1 msvcp140_2 msvcp140_atomic_wait ucrtbase vcamp140 vcomp140 vccorlib140 vcruntime140 vcruntime140_1
if w_workaround_wine_bug 50894 "Working around failing wusa.exe lookup via C:\windows\SysNative"; then if w_workaround_wine_bug 50894 "Working around failing wusa.exe lookup via C:\windows\SysNative"; then
w_set_winver winxp w_set_winver winxp
fi fi
...@@ -13070,7 +12935,7 @@ load_vcrun2017() ...@@ -13070,7 +12935,7 @@ load_vcrun2017()
#---------------------------------------------------------------- #----------------------------------------------------------------
w_metadata vcrun2019 dlls \ w_metadata vcrun2019 dlls \
title="Visual C++ 2015-2019 libraries (concrt140.dll,mfc140.dll,mfc140u.dll,mfcm140.dll,mfcm140u.dll,msvcp140.dll,msvcp140_1,msvcp140_2,vcamp140.dll,vccorlib140.dll,vcomp140.dll,vcruntime140.dll) (and vcruntime140_1.dll on win64)" \ title="Visual C++ 2015-2019 libraries (concrt140.dll,mfc140.dll,mfc140u.dll,mfcm140.dll,mfcm140u.dll,msvcp140.dll,msvcp140_1.dll,msvcp140_2.dll,msvcp140_atomic_wait.dll,msvcp140_codecvt_ids.dll,vcamp140.dll,vccorlib140.dll,vcomp140.dll,vcruntime140.dll,vcruntime140_1.dll" \
publisher="Microsoft" \ publisher="Microsoft" \
year="2019" \ year="2019" \
media="download" \ media="download" \
...@@ -13098,7 +12963,7 @@ load_vcrun2019() ...@@ -13098,7 +12963,7 @@ load_vcrun2019()
w_warn "ucrtbase.dll is no longer included in vcrun2019. For details see: https://github.com/Winetricks/winetricks/issues/1770" w_warn "ucrtbase.dll is no longer included in vcrun2019. For details see: https://github.com/Winetricks/winetricks/issues/1770"
w_override_dlls native,builtin api-ms-win-crt-private-l1-1-0 api-ms-win-crt-conio-l1-1-0 api-ms-win-crt-heap-l1-1-0 api-ms-win-crt-locale-l1-1-0 api-ms-win-crt-math-l1-1-0 api-ms-win-crt-runtime-l1-1-0 api-ms-win-crt-stdio-l1-1-0 api-ms-win-crt-time-l1-1-0 atl140 concrt140 msvcp140 msvcp140_1 msvcp140_2 msvcr140 vcomp140 vcruntime140 w_override_dlls native,builtin api-ms-win-crt-private-l1-1-0 api-ms-win-crt-conio-l1-1-0 api-ms-win-crt-heap-l1-1-0 api-ms-win-crt-locale-l1-1-0 api-ms-win-crt-math-l1-1-0 api-ms-win-crt-runtime-l1-1-0 api-ms-win-crt-stdio-l1-1-0 api-ms-win-crt-time-l1-1-0 atl140 concrt140 msvcp140 msvcp140_1 msvcp140_2 msvcp140_atomic_wait msvcp140_codecvt_ids vcamp140 vccorlib140 vcomp140 vcruntime140
w_download https://aka.ms/vs/16/release/vc_redist.x86.exe 4c6c420cf4cbf2c9c9ed476e96580ae92a97b2822c21329a2e49e8439ac5ad30 w_download https://aka.ms/vs/16/release/vc_redist.x86.exe 4c6c420cf4cbf2c9c9ed476e96580ae92a97b2822c21329a2e49e8439ac5ad30
...@@ -13184,64 +13049,6 @@ load_vstools2019() ...@@ -13184,64 +13049,6 @@ load_vstools2019()
#---------------------------------------------------------------- #----------------------------------------------------------------
w_metadata vulkanrt121412 dlls \
title="Vulkan Runtime 1.2.141.2" \
publisher="LunarG" \
year="2020" \
media="download" \
file1="VulkanRT-1.2.141.2-Installer.exe" \
installed_exe1="${W_SYSTEM32_DLLS_WIN}/vulkaninfo.exe"
load_vulkanrt121412()
{
# https://vulkan.lunarg.com/sdk/home
w_download "https://sdk.lunarg.com/sdk/download/1.2.141.2/windows/VulkanRT-1.2.141.2-Installer.exe?Human=true;u=" bf5050ead980e66fdd7b8eb5664d2b92e037ec5c400f75c2dc209a595828aaf7 "${file1}"
w_try_cd "${W_CACHE}/${W_PACKAGE}"
w_try "${WINE}" "${file1}" ${W_OPT_UNATTENDED:+/S}
}
#----------------------------------------------------------------
w_metadata vulkansdk121412 apps \
title="Vulkan SDK 1.2.141.2 (developers only)" \
publisher="LunarG" \
year="2020" \
media="download" \
file1="VulkanSDK-1.2.141.2-Installer.exe" \
installed_file1="C:/VulkanSDK/1.2.141.2/vulkan.ico" \
installed_file2="C:/windows/winevulkan.json"
load_vulkansdk121412()
{
_W_vulkan_version="${file1%-*.exe}"
_W_vulkan_version="${_W_vulkan_version#*-}"
# https://vulkan.lunarg.com/sdk/home
w_download "https://sdk.lunarg.com/sdk/download/1.2.141.2/windows/VulkanSDK-1.2.141.2-Installer.exe?Human=true;u=" d732eaee50c5f924ee64c9408bec7073b7a230464f1636f346833727c9bbddd0 "${file1}"
w_try_cd "${W_CACHE}/${W_PACKAGE}"
w_try "${WINE}" "${file1}" ${W_OPT_UNATTENDED:+/S}
echo "Creating C:\\windows\\winevulkan.json winevulkan json file"
cat > "${W_WINDIR_UNIX}"/winevulkan.json <<_EOF_
{
"file_format_version": "1.0.0",
"ICD": {
"library_path": "c:\\\\windows\\\\system32\\\\winevulkan.dll",
"api_version": "${_W_vulkan_version}"
}
}
_EOF_
echo "Creating winevulkan registry settings"
cat > "${W_TMP}"/winevulkan.reg <<_EOF_
REGEDIT4
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Khronos\\Vulkan\\Drivers\\]
"C:\\\\Windows\\\\winevulkan.json"=dword:00000000
_EOF_
w_try_regedit "${W_TMP_WIN}"\\winevulkan.reg
}
#----------------------------------------------------------------
w_metadata webio dlls \ w_metadata webio dlls \
title="MS Windows Web I/O" \ title="MS Windows Web I/O" \
publisher="Microsoft" \ publisher="Microsoft" \
...@@ -13293,7 +13100,7 @@ load_windowscodecs() ...@@ -13293,7 +13100,7 @@ load_windowscodecs()
w_try rm -f "${W_SYSTEM32_DLLS}"/windowscodecs.dll "${W_SYSTEM32_DLLS}"/windowscodecsext.dll "${W_SYSTEM32_DLLS}"/wmphoto.dll "${W_SYSTEM32_DLLS}"/photometadatahandler.dll w_try rm -f "${W_SYSTEM32_DLLS}"/windowscodecs.dll "${W_SYSTEM32_DLLS}"/windowscodecsext.dll "${W_SYSTEM32_DLLS}"/wmphoto.dll "${W_SYSTEM32_DLLS}"/photometadatahandler.dll
if [ "${W_ARCH}" = "win64" ]; then if [ "${W_ARCH}" = "win64" ]; then
w_try rm -f "${W_SYSTEM64_DLLS}"/windowscodecs.dll "${W_SYSTEM64_DLLS}"/windowscodecsext.dll "${W_SYSTEM64_DLLS}"/wmphoto.dll "${W_SYSTEM64_DLLS}"/photometadatahandler.dll w_try rm -f "${W_SYSTEM64_DLLS}"/windowscodecs.dll "${W_SYSTEM64_DLLS}"/windowscodecsext.dll "${W_SYSTEM64_DLLS}"/wmphoto.dll "${W_SYSTEM64_DLLS}"/photometadatahandler.dll
fi fi
# AF says in AppDB entry for .NET 3.0 that windowscodecs has to be native only # AF says in AppDB entry for .NET 3.0 that windowscodecs has to be native only
...@@ -13571,10 +13378,12 @@ load_xinput() ...@@ -13571,10 +13378,12 @@ load_xinput()
w_try_cabextract -d "${W_TMP}" -L -F '*_xinput_*x86*' "${W_CACHE}"/directx9/${DIRECTX_NAME} w_try_cabextract -d "${W_TMP}" -L -F '*_xinput_*x86*' "${W_CACHE}"/directx9/${DIRECTX_NAME}
for x in "${W_TMP}"/*.cab; do for x in "${W_TMP}"/*.cab; do
w_try_cabextract -d "${W_SYSTEM32_DLLS}" -L -F 'xinput*.dll' "${x}" w_try_cabextract -d "${W_SYSTEM32_DLLS}" -L -F 'xinput*.dll' "${x}"
done done
if test "${W_ARCH}" = "win64"; then if test "${W_ARCH}" = "win64"; then
w_try_cabextract -d "${W_TMP}" -L -F '*_xinput_*x64*' "${W_CACHE}"/directx9/${DIRECTX_NAME} w_try_cabextract -d "${W_TMP}" -L -F '*_xinput_*x64*' "${W_CACHE}"/directx9/${DIRECTX_NAME}
for x in "${W_TMP}"/*x64.cab; do for x in "${W_TMP}"/*x64.cab; do
w_try_cabextract -d "${W_SYSTEM64_DLLS}" -L -F 'xinput*.dll' "${x}" w_try_cabextract -d "${W_SYSTEM64_DLLS}" -L -F 'xinput*.dll' "${x}"
done done
...@@ -16547,7 +16356,9 @@ load_vc2005expresssp1() ...@@ -16547,7 +16356,9 @@ load_vc2005expresssp1()
if w_workaround_wine_bug 37375; then if w_workaround_wine_bug 37375; then
w_warn "Installer currently fails" w_warn "Installer currently fails"
fi fi
w_download https://download.microsoft.com/download/7/7/3/7737290f-98e8-45bf-9075-85cc6ae34bf1/VS80sp1-KB926748-X86-INTL.exe a959d1ea52674b5338473be32a1370f9ec80df84629a2ed3471aa911b42d9e50
w_download https://web.archive.org/web/20110624054336/https://download.microsoft.com/download/7/7/3/7737290f-98e8-45bf-9075-85cc6ae34bf1/VS80sp1-KB926748-X86-INTL.exe a959d1ea52674b5338473be32a1370f9ec80df84629a2ed3471aa911b42d9e50
w_try ${WINE} "${W_CACHE}"/vc2005expresssp1/VS80sp1-KB926748-X86-INTL.exe ${W_OPT_UNATTENDED:+/q} w_try ${WINE} "${W_CACHE}"/vc2005expresssp1/VS80sp1-KB926748-X86-INTL.exe ${W_OPT_UNATTENDED:+/q}
} }
...@@ -16836,7 +16647,7 @@ load_wmp9() ...@@ -16836,7 +16647,7 @@ load_wmp9()
w_try_cd "${W_CACHE}"/"${W_PACKAGE}" w_try_cd "${W_CACHE}"/"${W_PACKAGE}"
if [ "${W_ARCH}" = "win64" ]; then if [ "${W_ARCH}" = "win64" ]; then
w_try cabextract -d "${W_TMP}" ./MPSetup.exe w_try_cabextract -d "${W_TMP}" ./MPSetup.exe
w_try_cd "${W_TMP}" w_try_cd "${W_TMP}"
w_try sed -i 's/IsWow64Process/IsNow64Process/' setup_wm.exe w_try sed -i 's/IsWow64Process/IsNow64Process/' setup_wm.exe
w_try "${WINE}" setup_wm.exe ${W_OPT_UNATTENDED:+/Quiet} w_try "${WINE}" setup_wm.exe ${W_OPT_UNATTENDED:+/Quiet}
...@@ -16882,7 +16693,7 @@ load_wmp10() ...@@ -16882,7 +16693,7 @@ load_wmp10()
# Crashes on exit, but otherwise ok; see https://bugs.winehq.org/show_bug.cgi?id=12633 # Crashes on exit, but otherwise ok; see https://bugs.winehq.org/show_bug.cgi?id=12633
w_try_cd "${W_CACHE}/${W_PACKAGE}" w_try_cd "${W_CACHE}/${W_PACKAGE}"
w_try cabextract -d "${W_TMP}" ./MP10Setup.exe w_try_cabextract -d "${W_TMP}" ./MP10Setup.exe
w_try_cd "${W_TMP}" w_try_cd "${W_TMP}"
"${WINE}" setup_wm.exe ${W_OPT_UNATTENDED:+/Quiet} "${WINE}" setup_wm.exe ${W_OPT_UNATTENDED:+/Quiet}
...@@ -16912,17 +16723,19 @@ load_wmp11() ...@@ -16912,17 +16723,19 @@ load_wmp11()
w_call gdiplus w_call gdiplus
if [ "${W_ARCH}" = "win32" ]; then if [ "${W_ARCH}" = "win32" ]; then
# https://appdb.winehq.org/objectManager.php?sClass=version&iId=8150 # https://appdb.winehq.org/objectManager.php?sClass=version&iId=8150
w_download https://web.archive.org/web/20170628063001/http://download.microsoft.com/download/0/9/5/0953e553-3bb6-44b1-8973-106f1b7e5049/wmp11-windowsxp-x86-enu.exe ffd321a441a67001a893f3bde4bb1afba07d4d2c9659bfdb0fbb057e7945d970 w_download https://web.archive.org/web/20170628063001/http://download.microsoft.com/download/0/9/5/0953e553-3bb6-44b1-8973-106f1b7e5049/wmp11-windowsxp-x86-enu.exe ffd321a441a67001a893f3bde4bb1afba07d4d2c9659bfdb0fbb057e7945d970
installer_exe=wmp11-windowsxp-x86-enu.exe
wmf_exe=wmfdist11.exe installer_exe=wmp11-windowsxp-x86-enu.exe
wmf_exe=wmp11.exe wmf_exe=wmfdist11.exe
wmf_exe=wmp11.exe
elif [ "${W_ARCH}" = "win64" ]; then elif [ "${W_ARCH}" = "win64" ]; then
# https://appdb.winehq.org/objectManager.php?sClass=version&iId=32057 # https://appdb.winehq.org/objectManager.php?sClass=version&iId=32057
w_download https://web.archive.org/web/20190512112704/https://download.microsoft.com/download/3/0/8/3080C52C-2517-43DE-BDB4-B7EAFD88F084/wmp11-windowsxp-x64-enu.exe 5af407cf336849aff435044ec28f066dd523bbdc22d1ce7aaddb5263084f5526 w_download https://web.archive.org/web/20190512112704/https://download.microsoft.com/download/3/0/8/3080C52C-2517-43DE-BDB4-B7EAFD88F084/wmp11-windowsxp-x64-enu.exe 5af407cf336849aff435044ec28f066dd523bbdc22d1ce7aaddb5263084f5526
installer_exe=wmp11-windowsxp-x64-enu.exe
wmf_exe=wmfdist11-64.exe installer_exe=wmp11-windowsxp-x64-enu.exe
wmp_exe=wmp11-64.exe wmf_exe=wmfdist11-64.exe
wmp_exe=wmp11-64.exe
fi fi
w_set_winver winxp w_set_winver winxp
...@@ -18633,7 +18446,7 @@ load_deadspace2() ...@@ -18633,7 +18446,7 @@ load_deadspace2()
# Install takes a long time, so offer a way to skip installation # Install takes a long time, so offer a way to skip installation
# and go straight to activation while debugging that # and go straight to activation while debugging that
if ! test -f "${W_PROGRAMS_X86_UNIX}/EA Games/Dead Space 2/deadspace2.exe"; then if ! test -f "${W_PROGRAMS_X86_UNIX}/EA Games/Dead Space 2/deadspace2.exe"; then
w_ahk_do " w_ahk_do "
run easetup.exe run easetup.exe
if ( w_opt_unattended > 0 ) { if ( w_opt_unattended > 0 ) {
SetTitleMatchMode, 2 SetTitleMatchMode, 2
...@@ -18821,26 +18634,6 @@ load_diablo2() ...@@ -18821,26 +18634,6 @@ load_diablo2()
w_killall "Game.exe" w_killall "Game.exe"
} }
w_metadata digitanks_demo games \
title="Digitanks Demo" \
publisher="Lunar Workshop" \
year="2011" \
media="download" \
file1="digitanks.exe" \
installed_exe1="${W_PROGRAMS_X86_WIN}/Digitanks/digitanksdemo.exe" \
homepage="http://www.digitanks.com"
load_digitanks_demo()
{
# 2011/11/11: bc98de67680e907a30ee1ab5d062e098c07a87292e3fb82ae62ad2d7175e94ff
w_download "http://static.digitanks.com/files/digitanks.exe" bc98de67680e907a30ee1ab5d062e098c07a87292e3fb82ae62ad2d7175e94ff
w_try_cd "${W_CACHE}/${W_PACKAGE}"
w_try "${WINE}" "${file1}" ${W_OPT_UNATTENDED:+ /S}
if w_workaround_wine_bug 8060 "installing corefonts"; then
w_call corefonts
fi
}
w_metadata dirt2_demo games \ w_metadata dirt2_demo games \
title="Dirt 2 Demo" \ title="Dirt 2 Demo" \
publisher="Codemasters" \ publisher="Codemasters" \
...@@ -21632,159 +21425,6 @@ load_wog() ...@@ -21632,159 +21425,6 @@ load_wog()
" "
} }
#----------------------------------------------------------------
# Steam Games
#----------------------------------------------------------------
w_metadata alienswarm_steam games \
title="Alien Swarm (Steam)" \
publisher="Valve" \
year="2010" \
media="download" \
installed_exe1="${W_PROGRAMS_X86_WIN}/Steam/steamapps/common/alien swarm/swarm.exe"
load_alienswarm_steam()
{
w_steam_install_game 630 "Alien Swarm"
}
#----------------------------------------------------------------
w_metadata bioshock2_steam games \
title="Bioshock 2 (Steam)" \
publisher="2k" \
year="2010" \
media="download" \
installed_exe1="${W_PROGRAMS_X86_WIN}/Steam/steamapps/common/bioshock2/blort.exe"
load_bioshock2_steam()
{
w_steam_install_game 8850 "BioShock 2"
}
#----------------------------------------------------------------
w_metadata borderlands_steam games \
title="Borderlands (Steam, non-free)" \
publisher="2K Games" \
year="2009" \
media="download" \
installed_exe1="${W_PROGRAMS_X86_WIN}/Steam/steamapps/common/borderlands/Binaries/Borderlands.exe"
load_borderlands_steam()
{
w_steam_install_game 8980 "Borderlands"
}
#----------------------------------------------------------------
w_metadata civ5_demo_steam games \
title="Civilization V Demo (Steam)" \
publisher="2K Games" \
year="2010" \
media="download" \
installed_exe1="${W_PROGRAMS_X86_WIN}/Steam/steamapps/common/sid meier's civilization v - demo/CivilizationV.exe"
load_civ5_demo_steam()
{
# Start AutoHotKey watching for DirectX 9 option in the background, and select it when it comes up
w_ahk_do "
SetWinDelay 500
loop
{
ifWinExist, Sid Meier's Civilization V - Demo - Steam
{
winactivate
click 26,108 ; select directx9
sleep 500
click 200,150 ; Play
}
ifWinExist, Updating Sid Meier's Civilization V - Demo
{
break
}
sleep 1000
}
" &
_job=$!
# While that's running, install the game.
# You'll see *two* AutoHotKey icons until that first script
# finds the dialog it's looking for, clicks, and exits.
w_info "If you already own the full Civ 5 game on Steam, the installer won't even appear."
w_steam_install_game 65900 "Sid Meier's Civilization V - Demo"
kill -s HUP "${_job}" # just in case
}
#----------------------------------------------------------------
w_metadata ruse_demo_steam games \
title="Ruse Demo (Steam)" \
publisher="Ubisoft" \
year="2010" \
media="download" \
installed_exe1="${W_PROGRAMS_X86_WIN}/Steam/steamapps/common/r.u.s.e. demo/Ruse.exe"
load_ruse_demo_steam()
{
w_steam_install_game 33310 "R.U.S.E."
}
#----------------------------------------------------------------
w_metadata supermeatboy_steam games \
title="Super Meat Boy (Steam, non-free)" \
publisher="Independent" \
year="2010" \
media="download" \
installed_exe1="${W_PROGRAMS_X86_WIN}/Steam/steamapps/common/super meat boy/SuperMeatBoy.exe"
load_supermeatboy_steam()
{
w_steam_install_game 40800 "Super Meat Boy"
}
#----------------------------------------------------------------
w_metadata trine_steam games \
title="Trine (Steam)" \
publisher="Frozenbyte" \
year="2009" \
media="download" \
installed_exe1="${W_PROGRAMS_X86_WIN}/Steam/steamapps/common/trine/trine_launcher.exe"
load_trine_steam()
{
w_steam_install_game 35700 "Trine"
}
#----------------------------------------------------------------
w_metadata trine_demo_steam games \
title="Trine Demo (Steam)" \
publisher="Frozenbyte" \
year="2009" \
media="download" \
installed_exe1="${W_PROGRAMS_X86_WIN}/Steam/steamapps/common/trine demo/trine_launcher.exe"
load_trine_demo_steam()
{
w_steam_install_game 35710 "Trine Demo"
}
#----------------------------------------------------------------
w_metadata wormsreloaded_demo_steam games \
title="Worms Reloaded Demo (Steam)" \
publisher="Team17" \
year="2010" \
media="download" \
installed_exe1="${W_PROGRAMS_X86_WIN}/Steam/steamapps/common/worms reloaded/WormsReloaded.exe"
load_wormsreloaded_demo_steam()
{
w_steam_install_game 22690 "Worms Reloaded Demo"
}
####################### #######################
# settings # settings
####################### #######################
...@@ -22759,11 +22399,6 @@ load_remove_mono() ...@@ -22759,11 +22399,6 @@ load_remove_mono()
return return
fi fi
# FIXME: verify on pristine Windows XP:
if w_workaround_wine_bug 34803; then
"${WINE_ARCH}" reg delete 'HKLM\\Software\\Microsoft\\.NETFramework\\v2.0.50727\\SBSDisabled' /f
fi
"${WINE_ARCH}" reg delete "HKLM\\Software\\Microsoft\\NET Framework Setup\\NDP\\v3.5" /f || true "${WINE_ARCH}" reg delete "HKLM\\Software\\Microsoft\\NET Framework Setup\\NDP\\v3.5" /f || true
"${WINE_ARCH}" reg delete "HKLM\\Software\\Microsoft\\NET Framework Setup\\NDP\\v4" /f || true "${WINE_ARCH}" reg delete "HKLM\\Software\\Microsoft\\NET Framework Setup\\NDP\\v4" /f || true
...@@ -23294,6 +22929,8 @@ execute_command() ...@@ -23294,6 +22929,8 @@ execute_command()
dotnet2) w_warn "Calling dotnet2 is deprecated, please use dotnet20 instead" ; w_call dotnet20 ;; dotnet2) w_warn "Calling dotnet2 is deprecated, please use dotnet20 instead" ; w_call dotnet20 ;;
ddr=gdi) w_warn "Calling ddr=gdi is deprecated, please use renderer=gdi or renderer=no3d instead" ; w_call renderer=gdi ;; ddr=gdi) w_warn "Calling ddr=gdi is deprecated, please use renderer=gdi or renderer=no3d instead" ; w_call renderer=gdi ;;
ddr=opengl) w_warn "Calling ddr=opengl is deprecated, please use renderer=gl instead" ; w_call renderer=gl ;; ddr=opengl) w_warn "Calling ddr=opengl is deprecated, please use renderer=gl instead" ; w_call renderer=gl ;;
dxsdk_nov2006) w_warn "Calling dxsdk_nov2006 is deprecated, please use dxsdk_aug2006 instead"; w_call dxsdk_aug2006 ;;
dxvk054|dxvk54) w_warn "Calling $1 is deprecated, please use dxvk0054 instead" ; w_call dxvk0054 ;; dxvk054|dxvk54) w_warn "Calling $1 is deprecated, please use dxvk0054 instead" ; w_call dxvk0054 ;;
dxvk060|dxvk60) w_warn "Calling $1 is deprecated, please use dxvk0060 instead" ; w_call dxvk0060 ;; dxvk060|dxvk60) w_warn "Calling $1 is deprecated, please use dxvk0060 instead" ; w_call dxvk0060 ;;
dxvk061|dxvk61) w_warn "Calling $1 is deprecated, please use dxvk0061 instead" ; w_call dxvk0061 ;; dxvk061|dxvk61) w_warn "Calling $1 is deprecated, please use dxvk0061 instead" ; w_call dxvk0061 ;;
......
...@@ -58,10 +58,9 @@ test_bashate() { ...@@ -58,10 +58,9 @@ test_bashate() {
# Can't ignore individual things for now, filed bug: # Can't ignore individual things for now, filed bug:
# https://bugs.launchpad.net/bash8/+bug/1698088 # https://bugs.launchpad.net/bash8/+bug/1698088
# E006=line length check # E006=line length check
# E010=do/while same line (in some embedded perl in winetricks)
# E044=Use [[ for non-POSIX comparisions # E044=Use [[ for non-POSIX comparisions
echo "Checking ${shellscript} with bashate:" echo "Checking ${shellscript} with bashate:"
w_try "${bashate}" -i E006,E010,E044 "${shellscript}" w_try "${bashate}" -i E006,E044 "${shellscript}"
} }
# check formatting, (no trailing whitespace, no tabs) # check formatting, (no trailing whitespace, no tabs)
......
...@@ -89,7 +89,7 @@ BLACKLIST="dx8sdk|kde|psdk2003|psdkwin7" ...@@ -89,7 +89,7 @@ BLACKLIST="dx8sdk|kde|psdk2003|psdkwin7"
# verbs that hang in -q because of simple problem we should work around soon # verbs that hang in -q because of simple problem we should work around soon
BLACKLIST="${BLACKLIST}|vc2005trial" BLACKLIST="${BLACKLIST}|vc2005trial"
# verbs that are too slow # verbs that are too slow
BLACKLIST="${BLACKLIST}|dxsdk_nov2006|dxsdk_jun2010" BLACKLIST="${BLACKLIST}|dxsdk_aug2006|dxsdk_jun2010"
# broken/flaky, http://bugs.winehq.org/show_bug.cgi?id=26016 # broken/flaky, http://bugs.winehq.org/show_bug.cgi?id=26016
BLACKLIST="${BLACKLIST}|xmllite" BLACKLIST="${BLACKLIST}|xmllite"
# redundant metaverbs # redundant metaverbs
...@@ -418,6 +418,8 @@ test_command() ...@@ -418,6 +418,8 @@ test_command()
rm -rf "${WINEPREFIX}" rm -rf "${WINEPREFIX}"
fi fi
mkdir -p "${WINE_PREFIXES}"
# Isolate us from the user's home directory # Isolate us from the user's home directory
# shellcheck disable=SC2086 # shellcheck disable=SC2086
if [ -z "${_W_wine_not_needed}" ]; then if [ -z "${_W_wine_not_needed}" ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment