LinSoftWin / Photoshop-CC2022-Linux

Installer from Photoshop CC 2021 to 2022 on linux with a GUI
BSD 3-Clause "New" or "Revised" License
894 stars 51 forks source link

CRClient.dll unimplemented method #134

Open hellkaim opened 3 months ago

hellkaim commented 3 months ago

Photoshop version CC2021 22.0.4

Describe the bug I installed PS21 from your archive using the CLI method and it runs fantastically. Then I thought, ok, why can't I use the installation from my Win10 PC? So I zipped: %AppData%\Adobe folders (both from Roaming and Local) and the PS21 Program Files folder and copied that to the prefix.

The PS21 had CreativeCloud logged in on Windows and I thought hat even if that is not working under Wine it will be ok.

To Reproduce Steps to reproduce the behavior:

  1. Compress C:/Progrem Files/Adobe Photoshop 2021
  2. Un-compress to _prefix\drivec\Program Files\
  3. Using default launcher.sh start Photoshop
  4. See error

Expected behavior I expect PS to start as normal even without it being able to connect to CC.

Screenshots it is a standard error screen from a windows environment. Full text output is avaliable using the link below.

System informations

Additional context Here you can find WINEDEBUG output and the exact error "windows" is showing me.

What I tried to do is to add the CRClient.dll from Windows and set it as Native under winecfg. Honestly I have no idea what might be wrong or how to fix that as there are almost none results in the net I can find related to that issue.

PS. Feel free to close this as I know that CC do and will not work under Wine, but may be the issue is not directly related to it. The PS archive is available upon request.

MiMillieuh commented 3 months ago

This is probably because it tries to find creative cloud as CRClient.dll usually found in. you can try to install the old adobe app manager or copy your install of creative cloud in your wine prefix (you need to respect the location it should be located at the same place as in windows in your wine drive_c)

Honestly I had success with creative cloud but only after copying file from a VM and being logged in prior in the VM. but it's not 100% consistent. but once it works it should work until your token is reset or something like that.

hellkaim commented 3 months ago

@MiMillieuh Thanks. I will try that. It seems that token should be stored somewhere, so it should be possible to transfer only it.

Will dig further and let you know.

P.S. I was able to figure out that almost all AI functions are based on ONNX models and it is very highly likely that token is used as an AES key for them. That is why no NeuralFilters and some other things work if you are not logged in to the cloud.