protontricks icon indicating copy to clipboard operation
protontricks copied to clipboard

Protontricks not adding "\" when there's a space in the name of the disk

Open Sannen147 opened this issue 5 months ago • 2 comments

Describe the bug When installing a DLL and the target directory is in another disk that contains a space in it's name, when protontricks tries copying the dll it fails because instead of putting in the path "disk\ 3/SteamLibrary/etcetc" it puts "disk 3/SteamLibrary/etcetc"

Expected behavior Detect when there's a space in the name of the disk and place a \ before the space.

System (please complete the following information):

  • Distro: Arch Linux
  • Protontricks installation method: AUR
  • Protontricks version: protontricks (1.12.2.dev7+g6f9e769)
  • Steam version: non-beta

Sannen147 avatar Jul 25 '25 17:07 Sannen147

and same with cabextract when installing for example vcrun2022

Sannen147 avatar Jul 25 '25 17:07 Sannen147

Can you submit the output generated by protontricks -vv --gui or other similar command with -vv flag to gist.github.com?

Protontricks is a wrapper for Winetricks (a separate project), with Winetricks doing most of the heavy lifting and Protontricks mostly responsible for setting up the environment. The actual commands to copy the DLL files over would be run by Winetricks in this case; if missing quotation of path parameters was to blame, Protontricks would have likely failed earlier.

Matoking avatar Jul 26 '25 09:07 Matoking