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

Can't install directshow #226

Closed MateusRodCosta closed 1 year ago

MateusRodCosta commented 1 year ago

Describe the bug I'm trying to get Recettear fully working, there are two elements that I need to install: DirectMusic for sound and DirectShow for videos.

Unfortunately I'm not able to install DirectShow as it tends to fail.

To Reproduce Steps to reproduce the behavior:

  1. Run command protontricks 70400 directshow
  2. Some of the directshow dlls fail to install
protontricks (WARNING): Current Steam Runtime not recognized by Protontricks.
steam-runtime-launcher-service[139]: W: The --socket option is deprecated. Prefer to use --session or --bus-name.
Using winetricks 20230212 (protontricks) - sha256sum: 033b8483b0317b58adac2a17333b7d14939b41d237c92d129f069362ef087e9e with wine-8.0 and WINEARCH=win64
Executing w_do_call directshow
Executing load_directshow                                                                                                                                                                                                                ------------------------------------------------------
warning: You can specify individual DirectShow verbs instead. e.g. 'winetricks quartz'
------------------------------------------------------
Executing w_do_call amstream
amstream already installed, skipping
Executing w_do_call qasf
Executing load_qasf 
grep: warning: stray \ before /
Executing cabextract -q -d /var/home/mateusrc/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/compatdata/70400/pfx/dosdevices/c:/windows/temp -L -F x86_microsoft-windows-directshow-asf_31bf3856ad364e35_6.1.7601.17514_none_1cc4e9c15ccc8ae8/qasf.dll /var/home/mateusrc/.var/app/com.github.Matoking.protontricks/cache/winetricks/win7sp1/windows6.1-KB976932-X86.exe
Executing cp -f /var/home/mateusrc/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/compatdata/70400/pfx/dosdevices/c:/windows/temp/x86_microsoft-windows-directshow-asf_31bf3856ad364e35_6.1.7601.17514_none_1cc4e9c15ccc8ae8/qasf.dll /var/home/mateusrc/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/compatdata/70400/pfx/dosdevices/c:/windows/syswow64/qasf.dll
Using native,builtin override for following DLLs: qasf
Executing /var/home/mateusrc/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton 8.0/bin/wine C:\windows\syswow64\regedit.exe C:\windows\Temp\override-dll.reg
/bin/bash: /usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/libtinfo.so.6: no version information available (required by /bin/bash)
Executing /var/home/mateusrc/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton 8.0/bin/wine64 C:\windows\regedit.exe C:\windows\Temp\override-dll.reg
/bin/bash: /usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/libtinfo.so.6: no version information available (required by /bin/bash)
Executing /var/home/mateusrc/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton 8.0/bin/wine C:\windows\syswow64\regsvr32.exe qasf.dll
/bin/bash: /usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/libtinfo.so.6: no version information available (required by /bin/bash)
03a0:err:xrandr:xrandr14_get_adapters Failed to get adapters
03a0:err:xrandr:xrandr14_get_adapters Failed to get adapters
03e0:fixme:oleacc:find_class_data unhandled window class: L"#32769"
03e0:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.
03e0:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024
03e0:fixme:uiautomation:msaa_fragment_get_FragmentRoot 00000000003524C8, 000000000021FA90: stub!
0390:fixme:reg:RegQueryInfoKeyW security argument not supported.
regsvr32: Successfully registered DLL 'qasf.dll'
grep: warning: stray \ before /
Executing cabextract -q -d /var/home/mateusrc/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/compatdata/70400/pfx/dosdevices/c:/windows/temp -L -F amd64_microsoft-windows-directshow-asf_31bf3856ad364e35_6.1.7601.17514_none_78e385451529fc1e/qasf.dll /var/home/mateusrc/.var/app/com.github.Matoking.protontricks/cache/winetricks/win7sp1/windows6.1-KB976932-X64.exe
Executing cp -f /var/home/mateusrc/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/compatdata/70400/pfx/dosdevices/c:/windows/temp/amd64_microsoft-windows-directshow-asf_31bf3856ad364e35_6.1.7601.17514_none_78e385451529fc1e/qasf.dll /var/home/mateusrc/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/compatdata/70400/pfx/dosdevices/c:/windows/system32/qasf.dll
Executing /var/home/mateusrc/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton 8.0/bin/wine64 C:\windows\system32\regsvr32.exe qasf.dll
/bin/bash: /usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/libtinfo.so.6: no version information available (required by /bin/bash)
040c:fixme:reg:RegQueryInfoKeyW security argument not supported.
040c:err:module:import_dll Library dsound.dll (which is needed by L"C:\\windows\\system32\\quartz.dll") not found
040c:err:ole:apartment_add_dll couldn't load in-process dll L"C:\\windows\\system32\\quartz.dll"
040c:err:ole:com_get_class_object no class object {cda42200-bd88-11d0-bd4e-00a0c911ce86} could be created for context 0x1
040c:err:module:import_dll Library dsound.dll (which is needed by L"C:\\windows\\system32\\quartz.dll") not found
040c:err:ole:apartment_add_dll couldn't load in-process dll L"C:\\windows\\system32\\quartz.dll"
040c:err:ole:com_get_class_object no class object {e436ebb2-524f-11ce-9f53-0020af0ba770} could be created for context 0x1
regsvr32: Failed to register DLL 'qasf.dll'
------------------------------------------------------
egsvr32.exe qasf.dll returned status 5. Aborting.
warning: Note: command /var/home/mateusrc/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton 8.0/bin/wine64 C:\windows\system32
------------------------------------------------------

Expected behavior DirectShow should be able to install fully.

Of note, From the qasf logs it seems that it wants access to dsound, which has been previously installed.

System (please complete the following information):

Additional context

If the error happens when trying to run a Protontricks command, run the command again using the -v flag and copy the output!

See attached file.

recettear directshow.txt

MateusRodCosta commented 1 year ago

Nervermind, it works if I do in the reverse order (directshow first and then directmusic).