hitman249 / wine-launcher

Wine Launcher - Running Windows games under Linux
http://wine.hostronavt.ru
GNU General Public License v3.0
273 stars 11 forks source link

How to install winetrick modules in Wine launcher? #40

Closed artik closed 1 year ago

artik commented 2 years ago

I'm trying to get Photoshop working. My wine is wine-7.0-rc3 (Staging) and prefix is properly set:

screenshot02

Unfortunately my photoshop returns me:

wine: failed to open L"C:\\windows\\system32\\explorer.exe": c0000135
003c:err:module:import_dll Library MSVCP140_CODECVT_IDS.dll (which is needed by L"C:\\Games\\photoshop\\AdobePDFSettings.dll") not found
003c:err:module:import_dll Library AdobePDFSettings.dll (which is needed by L"C:\\Games\\photoshop\\Photoshop.exe") not found

I remember I had to install various modules trough winetricks: vcrun2019 vcrun2012 vcrun2013 vcrun2010 gdiplus msxml3 msxml6 atmlib corefonts

How Do I install them in Wine launcher ?

hitman249 commented 2 years ago

1) Tools > Patches > Create a new patch > Save 2) Find new patch in list. Operations > Run command Winetricks 3) I recommend creating a separate patch for each command

artik commented 2 years ago

There is something I missed, really. I just spent 4 hours trying to figure out what's wrong. As soon as I'm switch wine and set the prefix Windows 10 / x86_64 Add patches is broken, and can't install anything in winetricks. Winetricks only works with default wine, x86 architecture.

Here are my steps:

  1. Clean install of wine launcher
  2. Prefix > settings > Wine update > Lutris / x86_64 / lutris-6.21-6 that is a version that works with Photoshop.
  3. Prefix > settings > Prefix action > edit

I select WIndows 10, x86_64 and in libraries I check: DXVK, Auto update DXVK, VKD3D Proton, Auto update VKD3D Proton Save.

  1. Prefix > settings > Prefix action > recreate Here first bug, Wine above still shows me "incompatible prefix" so i recreate it again, now it worked:

screenshot05

  1. Tools > Patches > Create a new patch > Save Error:

screenshot06

  1. I close wine launcher, relaunch it, now it appears:

screenshot07

  1. Operations > Run command Winetricks > vcrun2008
Download Results:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
4f1ee0|OK  |    23MiB/s|/home/artik/.wine-launcher/data/cache/winetricks/vcrun2008/vcredist_x86.exe

Status Legend:
(OK):download completed.
Executing cd /home/artik/.wine-launcher
Using native,builtin override for following DLLs: atl90 msvcm90 msvcp90 msvcr90 vcomp90
Executing rm -rf /home/artik/.wine-launcher/prefix/dosdevices/c:/windows/winsxs/manifests/amd64_microsoft.vc90.atl_1fc8b3b9a1e18e3b_9.0.30729.6161_none_deadbeef.manifest
Executing rm -rf /home/artik/.wine-launcher/prefix/dosdevices/c:/windows/winsxs/manifests/amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_deadbeef.manifest
Executing rm -rf /home/artik/.wine-launcher/prefix/dosdevices/c:/windows/winsxs/manifests/x86_microsoft.vc90.atl_1fc8b3b9a1e18e3b_9.0.30729.6161_none_deadbeef.manifest
Executing rm -rf /home/artik/.wine-launcher/prefix/dosdevices/c:/windows/winsxs/manifests/x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_deadbeef.manifest
Executing rm -rf /home/artik/.wine-launcher/prefix/dosdevices/c:/windows/winsxs/manifests/x86_microsoft.vc90.mfc_1fc8b3b9a1e18e3b_9.0.30729.6161_none_deadbeef.manifest
Executing rm -rf /home/artik/.wine-launcher/prefix/dosdevices/c:/windows/winsxs/manifests/x86_microsoft.vc90.mfcloc_1fc8b3b9a1e18e3b_9.0.30729.6161_none_deadbeef.manifest
Executing rm -rf /home/artik/.wine-launcher/prefix/dosdevices/c:/windows/winsxs/manifests/x86_microsoft.vc90.openmp_1fc8b3b9a1e18e3b_9.0.30729.6161_none_deadbeef.manifest
Executing rm -rf /home/artik/.wine-launcher/prefix/dosdevices/c:/windows/winsxs/manifests/amd64_microsoft.vc90.atl_1fc8b3b9a1e18e3b_9.0.30729.6161_none_deadbeef.manifest
Executing rm -rf /home/artik/.wine-launcher/prefix/dosdevices/c:/windows/winsxs/manifests/amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_deadbeef.manifest
Executing rm -rf /home/artik/.wine-launcher/prefix/dosdevices/c:/windows/winsxs/manifests/x86_microsoft.vc90.atl_1fc8b3b9a1e18e3b_9.0.30729.6161_none_deadbeef.manifest
Executing rm -rf /home/artik/.wine-launcher/prefix/dosdevices/c:/windows/winsxs/manifests/x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_deadbeef.manifest
Executing rm -rf /home/artik/.wine-launcher/prefix/dosdevices/c:/windows/winsxs/manifests/x86_microsoft.vc90.mfc_1fc8b3b9a1e18e3b_9.0.30729.6161_none_deadbeef.manifest
Executing rm -rf /home/artik/.wine-launcher/prefix/dosdevices/c:/windows/winsxs/manifests/x86_microsoft.vc90.mfcloc_1fc8b3b9a1e18e3b_9.0.30729.6161_none_deadbeef.manifest
Executing rm -rf /home/artik/.wine-launcher/prefix/dosdevices/c:/windows/winsxs/manifests/x86_microsoft.vc90.openmp_1fc8b3b9a1e18e3b_9.0.30729.6161_none_deadbeef.manifest
Executing rm -rf /home/artik/.wine-launcher/prefix/dosdevices/c:/windows/winsxs/manifests/amd64_microsoft.vc90.atl_1fc8b3b9a1e18e3b_9.0.30729.6161_none_deadbeef.manifest
Executing rm -rf /home/artik/.wine-launcher/prefix/dosdevices/c:/windows/winsxs/manifests/amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_deadbeef.manifest
Executing rm -rf /home/artik/.wine-launcher/prefix/dosdevices/c:/windows/winsxs/manifests/x86_microsoft.vc90.atl_1fc8b3b9a1e18e3b_9.0.30729.6161_none_deadbeef.manifest
Executing rm -rf /home/artik/.wine-launcher/prefix/dosdevices/c:/windows/winsxs/manifests/x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_deadbeef.manifest
Executing rm -rf /home/artik/.wine-launcher/prefix/dosdevices/c:/windows/winsxs/manifests/x86_microsoft.vc90.mfc_1fc8b3b9a1e18e3b_9.0.30729.6161_none_deadbeef.manifest
Executing rm -rf /home/artik/.wine-launcher/prefix/dosdevices/c:/windows/winsxs/manifests/x86_microsoft.vc90.mfcloc_1fc8b3b9a1e18e3b_9.0.30729.6161_none_deadbeef.manifest
Executing rm -rf /home/artik/.wine-launcher/prefix/dosdevices/c:/windows/winsxs/manifests/x86_microsoft.vc90.openmp_1fc8b3b9a1e18e3b_9.0.30729.6161_none_deadbeef.manifest
Executing rm -rf /home/artik/.wine-launcher/prefix/dosdevices/c:/windows/winsxs/manifests/amd64_microsoft.vc90.atl_1fc8b3b9a1e18e3b_9.0.30729.6161_none_deadbeef.manifest
Executing rm -rf /home/artik/.wine-launcher/prefix/dosdevices/c:/windows/winsxs/manifests/amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_deadbeef.manifest
Executing rm -rf /home/artik/.wine-launcher/prefix/dosdevices/c:/windows/winsxs/manifests/x86_microsoft.vc90.atl_1fc8b3b9a1e18e3b_9.0.30729.6161_none_deadbeef.manifest
Executing rm -rf /home/artik/.wine-launcher/prefix/dosdevices/c:/windows/winsxs/manifests/x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_deadbeef.manifest
Executing rm -rf /home/artik/.wine-launcher/prefix/dosdevices/c:/windows/winsxs/manifests/x86_microsoft.vc90.mfc_1fc8b3b9a1e18e3b_9.0.30729.6161_none_deadbeef.manifest
Executing rm -rf /home/artik/.wine-launcher/prefix/dosdevices/c:/windows/winsxs/manifests/x86_microsoft.vc90.mfcloc_1fc8b3b9a1e18e3b_9.0.30729.6161_none_deadbeef.manifest
Executing rm -rf /home/artik/.wine-launcher/prefix/dosdevices/c:/windows/winsxs/manifests/x86_microsoft.vc90.openmp_1fc8b3b9a1e18e3b_9.0.30729.6161_none_deadbeef.manifest
Executing rm -rf /home/artik/.wine-launcher/prefix/dosdevices/c:/windows/winsxs/manifests/amd64_microsoft.vc90.atl_1fc8b3b9a1e18e3b_9.0.30729.6161_none_deadbeef.manifest
Executing rm -rf /home/artik/.wine-launcher/prefix/dosdevices/c:/windows/winsxs/manifests/amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_deadbeef.manifest
Executing rm -rf /home/artik/.wine-launcher/prefix/dosdevices/c:/windows/winsxs/manifests/x86_microsoft.vc90.atl_1fc8b3b9a1e18e3b_9.0.30729.6161_none_deadbeef.manifest
Executing rm -rf /home/artik/.wine-launcher/prefix/dosdevices/c:/windows/winsxs/manifests/x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_deadbeef.manifest
Executing rm -rf /home/artik/.wine-launcher/prefix/dosdevices/c:/windows/winsxs/manifests/x86_microsoft.vc90.mfc_1fc8b3b9a1e18e3b_9.0.30729.6161_none_deadbeef.manifest
Executing rm -rf /home/artik/.wine-launcher/prefix/dosdevices/c:/windows/winsxs/manifests/x86_microsoft.vc90.mfcloc_1fc8b3b9a1e18e3b_9.0.30729.6161_none_deadbeef.manifest
Executing rm -rf /home/artik/.wine-launcher/prefix/dosdevices/c:/windows/winsxs/manifests/x86_microsoft.vc90.openmp_1fc8b3b9a1e18e3b_9.0.30729.6161_none_deadbeef.manifest
Executing /home/artik/.wine-launcher/wine/bin/wine regedit C:\windows\Temp\override-dll.reg
wine: failed to open L"C:\\windows\\system32\\wineboot.exe": c0000135
02e4:err:environ:run_wineboot failed to start wineboot c0000135
02e4:fixme:winediag:LdrInitializeThunk Wine TkG (staging) 6.21 is a testing version containing experimental patches.
02e4:fixme:winediag:LdrInitializeThunk Please don't report bugs about it on winehq.org and use https://github.com/Frogging-Family/wine-tkg-git/issues instead.
02e4:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
02e4:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
wine: failed to open L"C:\\windows\\system32\\explorer.exe": c0000135
wine: failed to open L"C:\\windows\\syswow64\\regedit.exe": c0000135
Le programme n'a pas pu �tre lanc�, ou aucun programme n'est associ� au fichier sp�cifi�.
ShellExecuteEx a �chou�: Module introuvable.

------------------------------------------------------
warning: Note: command /home/artik/.wine-launcher/wine/bin/wine regedit C:\windows\Temp\override-dll.reg returned status 1. Aborting.
------------------------------------------------------