Bottles icon indicating copy to clipboard operation
Bottles copied to clipboard

[Bug]: Installing DXVK/VKD3D doesn't backup existing DLL (leaving you without them when uninstalling)

Open SuperSamus opened this issue 1 year ago • 1 comments

Describe the bug

When installing DXVK or VKD3D, in theory the old DLLs (for example d3d9.dll and dxgi.dll) should be backed up (for example, as d3d9.dll.old), so that when uninstalling them, you have the original DLLs back. This is done for example by setup_vkd3d_proton.sh.

However, Bottles does none of this. You remove DXVK? You are now without d3d9.dll and dxgi.dll. Games that use them won't work until DXVK is reinstalled. (Leaving in the dust those who wanted to return to WineD3D.)

To Reproduce

  1. Create a Bottle.
  2. Install DXVK in it.
  3. Uninstall DXVK in it.
  4. d3d9.dll and dxgi.dll are gone, and games that rely on them won't work.

Package

Package from nixpkgs.

Distribution

NixOS 23.05 Unstable

Debugging Information

Official Package: false
Version: '51.5'
DE/WM: /nix/store/0ssf4m0nkpgb2mjgvnw3r1wrd2df0bdd-desktops/share/wayland-sessions/plasmawayland
Display:
    X.org: true
    X.org (port): :1
    Wayland: true
Graphics:
    vendors:
        amd:
            vendor: amd
            envs:
                DRI_PRIME: '1'
            icd: /run/opengl-driver/share/vulkan/icd.d/radeon_icd.x86_64.json:/run/opengl-driver-32/share/vulkan/icd.d/radeon_icd.i686.json
    prime:
        integrated: null
        discrete: null
Kernel:
    Type: Linux
    Version: 6.2.10-xanmod1
Disk:
    Total: 3836452864
    Free: 3836403712
RAM:
    MemTotal: 7.1GiB
    MemAvailable: 2.7GiB
Bottles_envs: null
Tools and Libraries:
    cabextract: true
    p7zip: true
    patool: true
    glibc_min: '2.35'
    icoextract: true
    pefile: true
    orjson: true
    markdown: true
    ImageMagick: true
    FVS: true
    xdpyinfo: true

Troubleshooting Logs

No response

Additional context

No response

SuperSamus avatar Apr 13 '23 21:04 SuperSamus

Still an issue one year later

Username404-59 avatar Apr 25 '24 11:04 Username404-59