我想通过 winetricks 安装 DirectX 9。我打开 winetricks 并单击“选择默认的 wineprefix”,然后单击“确定”,再单击“安装 Windows DLL 或组件”。然后我尝试安装 d3dx9。之后,安装失败。以下是整个终端文本:
ubuntu@ubuntu:~$ winetricks32
Executing mkdir -p /home/ubuntu
Using winetricks 20200412 - sha256sum: 7651c93e39fcb080483c38836513bf912273a87ea97d137f6b958ed3d9628c3d with wine-5.0.1 and WINEARCH=win32
winetricks GUI enabled, using zenity 3.32.0
Executing w_do_call d3dx9
Executing mkdir -p /home/ubuntu
Executing load_d3dx9
Executing mkdir -p /home/ubuntu/.cache/winetricks/directx9
Executing cd /home/ubuntu/.cache/winetricks/directx9
Downloading https://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe to /home/ubuntu/.cache/winetricks/directx9
Executing cd /home/ubuntu
Executing cabextract -q -d /home/ubuntu/.wine32/dosdevices/c:/windows/temp -L -F *d3dx9*x86* /home/ubuntu/.cache/winetricks/directx9/directx_Jun2010_redist.exe
/home/ubuntu/.cache/winetricks/directx9/directx_Jun2010_redist.exe: no valid cabinets found
------------------------------------------------------
Note: command cabextract -q -d /home/ubuntu/.wine32/dosdevices/c:/windows/temp -L -F *d3dx9*x86* /home/ubuntu/.cache/winetricks/directx9/directx_Jun2010_redist.exe returned status 1. Aborting.
------------------------------------------------------
到目前为止,我已经删除了 .cache 文件夹中的 winetricks 文件夹,并从互联网上手动下载了该软件,然后用 wine 运行,但都没有用
请注意,这winetricks32
是 bashrc 中的别名WINEPREFIX="$HOME/.wine32" WINEARCH=win32 winetricks