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

Installer script breaks #133

Closed Lalarian closed 4 months ago

Lalarian commented 4 months ago

PLEASE READ THE REQUIREMENT BEFORE FILLING A BUG. ALSO PLEASE CHECK IF A SIMILLAR ISSUE ISN'T OPEN

Photoshop version eg : CC2021 CC2021

Describe the bug A clear and concise description of what the bug is. Script does not run through.

To Reproduce Steps to reproduce the behavior: run the script using: ./photoshop2021install.sh /home/ladmin/photoshop2121

Expected behavior A clear and concise description of what you expected to happen. Script should finish normaly after instaling Photoshop2021.

Screenshots If applicable, add screenshots to help explain your problem.

System informations

Additional context Add any other context about the problem here.

Is some information are missing it might take longer to find the issue so please complete carefully

This is the output:

Executing w_do_call vkd3d
------------------------------------------------------
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_vkd3d 
grep: Warnung: überzähliges \ vor /
Executing mkdir -p /home/ladmin/.cache/winetricks/vkd3d
Executing cd /home/ladmin/.cache/winetricks/vkd3d
Downloading https://github.com/HansKristian-Work/vkd3d-proton/releases/download/v2.3.1/vkd3d-proton-2.3.1.tar.zst to /home/ladmin/.cache/winetricks/vkd3d
--2024-05-07 11:25:24--  https://github.com/HansKristian-Work/vkd3d-proton/releases/download/v2.3.1/vkd3d-proton-2.3.1.tar.zst
CA-Zertifikat »/etc/ssl/certs/ca-certificates.crt« wurde geladen
Auflösen des Hostnamens github.com (github.com)… 140.82.121.4
Verbindungsaufbau zu github.com (github.com)|140.82.121.4|:443 … verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 302 Found
Platz: https://objects.githubusercontent.com/github-production-release-asset-2e65be/209527239/78cbed80-a768-11eb-85ef-bdd0155d512e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240507%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240507T092524Z&X-Amz-Expires=300&X-Amz-Signature=c30e0ddf56cdf6f808308f918ce6dd39eb058ce3f34971211d444ffb5d162c03&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=209527239&response-content-disposition=attachment%3B%20filename%3Dvkd3d-proton-2.3.1.tar.zst&response-content-type=application%2Foctet-stream [folgend]
--2024-05-07 11:25:24--  https://objects.githubusercontent.com/github-production-release-asset-2e65be/209527239/78cbed80-a768-11eb-85ef-bdd0155d512e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240507%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240507T092524Z&X-Amz-Expires=300&X-Amz-Signature=c30e0ddf56cdf6f808308f918ce6dd39eb058ce3f34971211d444ffb5d162c03&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=209527239&response-content-disposition=attachment%3B%20filename%3Dvkd3d-proton-2.3.1.tar.zst&response-content-type=application%2Foctet-stream
Auflösen des Hostnamens objects.githubusercontent.com (objects.githubusercontent.com)… 185.199.111.133, 185.199.110.133, 185.199.109.133, ...
Verbindungsaufbau zu objects.githubusercontent.com (objects.githubusercontent.com)|185.199.111.133|:443 … verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 200 OK
Länge: 1949704 (1,9M) [application/octet-stream]
Wird in »vkd3d-proton-2.3.1.tar.zst« gespeichert.

vkd3d-proton-2.3.1.tar.zst                                          100%[==================================================================================================================================================================>]   1,86M  --.-KB/s    in 0,07s   

2024-05-07 11:25:25 (25,4 MB/s) - »vkd3d-proton-2.3.1.tar.zst« gespeichert [1949704/1949704]

Executing cd /home/ladmin/Dokumente/Eigene/Werkstatt/Photoshop-CC2022-Linux
------------------------------------------------------
warning: Please refer to vkd3d-proton version 2.3.1 release notes... See: https://github.com/HansKristian-Work/vkd3d-proton/releases/tag/2.3.1
------------------------------------------------------
------------------------------------------------------
warning: Please refer to current vkd3d-proton base graphics driver requirements... See: https://github.com/HansKristian-Work/vkd3d-proton#drivers
------------------------------------------------------
Executing cd /home/ladmin/photoshop2121/Adobe-Photoshop/dosdevices/c:/windows/temp
Executing tar --use-compress-program=unzstd -xvf /home/ladmin/.cache/winetricks/vkd3d/vkd3d-proton-2.3.1.tar.zst
vkd3d-proton-2.3.1/
vkd3d-proton-2.3.1/x64/
vkd3d-proton-2.3.1/x64/d3d12.dll
vkd3d-proton-2.3.1/x86/
vkd3d-proton-2.3.1/x86/d3d12.dll
vkd3d-proton-2.3.1/setup_vkd3d_proton.sh
Executing mv /home/ladmin/photoshop2121/Adobe-Photoshop/dosdevices/c:/windows/temp/vkd3d-proton-2.3.1/x86/d3d12.dll /home/ladmin/photoshop2121/Adobe-Photoshop/dosdevices/c:/windows/syswow64/
Executing mv /home/ladmin/photoshop2121/Adobe-Photoshop/dosdevices/c:/windows/temp/vkd3d-proton-2.3.1/x86/d3d12core.dll /home/ladmin/photoshop2121/Adobe-Photoshop/dosdevices/c:/windows/syswow64/
mv: der Aufruf von stat für '/home/ladmin/photoshop2121/Adobe-Photoshop/dosdevices/c:/windows/temp/vkd3d-proton-2.3.1/x86/d3d12core.dll' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
------------------------------------------------------
warning: Note: command mv /home/ladmin/photoshop2121/Adobe-Photoshop/dosdevices/c:/windows/temp/vkd3d-proton-2.3.1/x86/d3d12core.dll /home/ladmin/photoshop2121/Adobe-Photoshop/dosdevices/c:/windows/syswow64/ returned status 1. Aborting.
------------------------------------------------------
wine: failed to open "allredist/redist/2010/vcredist_x64.exe": c0000135
wine: failed to open "allredist/redist/2010/vcredist_x86.exe": c0000135
wine: failed to open "allredist/redist/2012/vcredist_x86.exe": c0000135
wine: failed to open "allredist/redist/2012/vcredist_x64.exe": c0000135
wine: failed to open "allredist/redist/2013/vcredist_x86.exe": c0000135
wine: failed to open "allredist/redist/2013/vcredist_x64.exe": c0000135
wine: failed to open "allredist/redist/2019/VC_redist.x64.exe": c0000135
wine: failed to open "allredist/redist/2019/VC_redist.x86.exe": c0000135
mv: der Aufruf von stat für 'Adobe Photoshop 2021' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
mv: der Aufruf von stat für 'allredist/photoshop.png' ist nicht möglich: Datei oder Verzeichnis nicht gefunden

I copied the additional xz file into same path as the script, but it getsdeleted by the script running. Tried it multiple times, even deleted my .wine folder with no success.

Lalarian commented 4 months ago

allredist could not be downloaded. I found the archive on the wayback machine. Maybe using this link in the script would be more persistent: https://web.archive.org/web/20230627155424/https://lulucloud.mywire.org/FileHosting/GithubProjects/allredist.tar.xz

I think removing all the downloaded and temporary files automatically is not a good practise, as I had to modify all these commands out to try the script again and again without having the issue of the not working downloads breaking it already at start.

Installation worked after putting both files in the script's path.