Matoking / protontricks

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

Unable to install directplay with protontricks command #200

Closed meximan closed 1 year ago

meximan commented 1 year ago

I am trying to install directplay for a game called Sacrifice (game ID is 38440).

I have installed proton in steam and need directplay to play multiplayer with friends via tc/ip. I know with winetricks and directplay works perfectly with the GOG version of Sacrifice. However, I want to play the Steam Version of Sacrifice to log my hours and achievements.

I tried installing directplay with the Steam Version of Sacrifice in all of these directories with winetricks and directplay installs perfectly but it's just not working with the Steam sacrifice. It seems the Steam Version of Sacrifice doesn't detect the installed directplay. The first wineprefix location is recommended by https://www.protondb.com/help/troubleshooting-faq (This is why I feel protontricks is the only soluton for Steam Sacrifice to correctly detect directplay)

WINEPREFIX=/home/devuanconsumer/.steam//steam/steamapps/Sacrifice/38440/pfx/ winetricks directplay

WINEPREFIX=/home/devuanconsumer/.local/share/Steam/steamapps/Sacrifice/38440/pfx/ winetricks directplay

WINEPREFIX=/home/devuanconsumer/.local/share/Steam/steamapps/common/Sacrifice/ winetricks directplay


Unfortunately, I can't seem to get proton tricks to install directplay correctly. I ran the following command in the terminal: protontricks 38440 directplay

But it gives me the following error. Please help!


devuanconsumer@05050505:~$ protontricks 38440 directplay pressure-vessel-wrap[9398]: W: sd_journal_stream_fd: Function not implemented pressure-vessel-adverb[9539]: W: sd_journal_stream_fd: No such file or directory Executing mkdir -p /home/devuanconsumer/.local/share/Steam/steamapps/compatdata/38440

                                                       warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
                                                                                                  ------------------------------------------------------
                                                                                                                                                        Using winetricks 20210206 - sha256sum: 0f21da98811e0bfda16a7d6d6b8e860a9cedbd4e836c7dd9b02f068d3092ee2e with wine-5.13-789-gc14054e6923 and WINEARCH=win64
                                                                                                                                                     Executing w_do_call directplay
                      Executing mkdir -p /home/devuanconsumer/.local/share/Steam/steamapps/compatdata/38440
                                                                                                           ------------------------------------------------------
    warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
                                               ------------------------------------------------------
                                                                                                     Executing load_directplay 
                                                                                                                               Executing cabextract -q -d /home/devuanconsumer/.local/share/Steam/steamapps/compatdata/38440/pfx/dosdevices/c:/windows/temp -L -F dxnt.cab /home/devuanconsumer/.cache/winetricks/directx9/directx_feb2010_redist.exe
                           Executing cabextract -q -d /home/devuanconsumer/.local/share/Steam/steamapps/compatdata/38440/pfx/dosdevices/c:/windows/syswow64 -L -F dplaysvr.exe /home/devuanconsumer/.local/share/Steam/steamapps/compatdata/38440/pfx/dosdevices/c:/windows/temp/dxnt.cab
                                                                                                                            /home/devuanconsumer/.local/share/Steam/steamapps/compatdata/38440/pfx/dosdevices/c:/windows/temp/dxnt.cab: WARNING; possible 5960 extra bytes at end of file.
                                                                                                                             Executing cabextract -q -d /home/devuanconsumer/.local/share/Steam/steamapps/compatdata/38440/pfx/dosdevices/c:/windows/syswow64 -L -F dplayx.dll /home/devuanconsumer/.local/share/Steam/steamapps/compatdata/38440/pfx/dosdevices/c:/windows/temp/dxnt.cab
                                                               /home/devuanconsumer/.local/share/Steam/steamapps/compatdata/38440/pfx/dosdevices/c:/windows/temp/dxnt.cab: WARNING; possible 5960 extra bytes at end of file.
                                                                /home/devuanconsumer/.local/share/Steam/steamapps/compatdata/38440/pfx/dosdevices/c:/windows/syswow64/dplayx.dll: Permission denied
                                      ------------------------------------------------------
                                                                                            warning: Note: command cabextract -q -d /home/devuanconsumer/.local/share/Steam/steamapps/compatdata/38440/pfx/dosdevices/c:/windows/syswow64 -L -F dplayx.dll /home/devuanconsumer/.local/share/Steam/steamapps/compatdata/38440/pfx/dosdevices/c:/windows/temp/dxnt.cab returned status 1. Aborting.
                                                                        ------------------------------------------------------
Matoking commented 1 year ago

Judging by the cabextract error, this seems to be a duplicate of #97. The upstream issue is https://github.com/Winetricks/winetricks/issues/1648; you can find workarounds in that issue thread.

Matoking commented 1 year ago

Closing due to inactivity.