Matoking / protontricks

A wrapper that does winetricks things for Proton enabled games, requires Winetricks.
GNU General Public License v3.0
1.64k stars 36 forks source link

dxvk install is downloading non-existent file #230

Closed fonikz closed 11 months ago

fonikz commented 1 year ago

Describe the bug When installing dxvk, it's not downloading the latest version, so it creates an empty file dxvk-.tar.gz and tries to install it

To Reproduce Steps to reproduce the behavior:

  1. Install dxvk via the gui
  2. Command fails with log:
    
    Executing cd /home/hukt/.local/share/Steam/steamapps/compatdata/2563848242/pfx/dosdevices/c:/windows/temp
    Executing tar -zxf /home/hukt/.cache/winetricks/dxvk/dxvk-.tar.gz

gzip: stdin: unexpected end of file tar: Child returned status 1 tar: Error is not recoverable: exiting now

warning: Note: command tar -zxf /home/hukt/.cache/winetricks/dxvk/dxvk-.tar.gz returned status 2. Aborting.



**Expected behavior**
dxvk should download and install the latest version.

**System (please complete the following information):**
 - Distro: UbuntuStudio 22.04
 - Protontricks installation method: pipx
 - Protontricks version: protontricks (1.10.3)
 - Steam version: Beta

**Additional context**

Protontricks is not correctly parsing the version of dxvk to download and install, so it's creating an empty file dxvk-.tar.gz.
Matoking commented 1 year ago

You will need to update Winetricks, as it's the script responsible for many of the actions that Protontricks can perform, such as DXVK installation in this case. The issue in question seems to be fixed in the development branch, but it's not in a versioned release yet. In that case, you can follow the instructions here (see the Ubuntu specific section):

https://github.com/Winetricks/winetricks#installing

Matoking commented 11 months ago

Closing due to inactivity.