LICENSE.txt

BSD 3-Clause License Copyright (c) 2022, MiMillieuh All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Install_guide.md

# How to install Photoshop CC 2022 on GNU/Linux ## Requirements: "AdobePhotoshop2021.tar.xz", the updated scripts "photoshop2021install.sh" and "wine10.sh", all R/W rights on your home folder and the installer folder, Vulkan capable GPU or APU and the following packages: wine zenity appmenu-gtk-module tar wget curl ## Installation 1. Acquire a legit version of "AdobePhotoshop2021.tar.xz". 2. Put the scripts and the Photoshop tar in the same folder. 3. Launch the "photoshop2021install.sh" script with a path to the install folder and agree to everything. Example: ./photoshop2021install.sh "~/Photoshop" 4. [May work without doing this] Downgrade wine with the package "downgrade" (from the AUR or some place else) to version 7.22. The command is sudo downgrade wine . You might have to install faudio and lib32-faudio for this to work. 5. Launch "wine10.sh" with the same path as before 6. Launch Photoshop from your application launcher or using the "launcher.sh" script. 7. Create a new document in Photoshop. 8. Close Photoshop. 9. [Only do this if you did Step 4] Revert wine back to the latest version, by updating it with your package manager. (You can also remove faudio and lib32-faudio) 10. Launch Photoshop again. 11. Done. Enjoy using Photoshop.

photoshop2021install.sh

#!/bin/bash # Show help menu if no path is given if [[ -z $1 ]]; then printf "\nUsage: photoshop2021install.sh [INSTALL PATH] [OPTION]" printf "\n\nOptions:" printf "\n --camera-raw:\tInstalls Photoshop 2021 and Camera Raw\n" exit 1 fi INSTALL_PATH=$(echo "$1" | sed -e 's/\/$//') # Remove trailing slash mkdir -p "$INSTALL_PATH" export WINEPREFIX="$INSTALL_PATH/prefix" cd "$INSTALL_PATH" # Winetricks wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks chmod +x winetricks ./winetricks vcrun2010 vcrun2012 vcrun2013 vcrun2019 fontsmooth=rgb gdiplus msxml3 msxml6 atmlib corefonts dxvk win10 vkd3d winecfg -v win10 echo "Windows version set to 10 for prefix at $WINEPREFIX" rm winetricks echo "25" > progress.mimifile # Adobe Photoshop CC 2021 echo "50" > progress.mimifile tar -xf AdobePhotoshop2021.tar.xz rm AdobePhotoshop2021.tar.xz echo "70" > progress.mimifile mkdir "prefix/drive_c/Program Files/Adobe" mv "Adobe Photoshop 2021" "prefix/drive_c/Program Files/Adobe/Adobe Photoshop 2021" # Create launcher.sh touch "launcher.sh" cat < "launcher.sh" #!/usr/bin/env bash cd "$INSTALL_PATH" export SCR_PATH="pspath" export CACHE_PATH="pscache" export RESOURCES_PATH="\$SCR_PATH/resources" export WINE_PREFIX="\$SCR_PATH/prefix" export WINEDEBUG=-all export VKD3D_CONFIG=dx11 export WINEPREFIX="$WINEPREFIX" export DXVK_LOG_PATH='\$WINEPREFIX' export DXVK_STATE_CACHE_PATH='\$WINEPREFIX' FILE_PATH=\$(winepath -w "\$1") wine64 "prefix/drive_c/Program Files/Adobe/Adobe Photoshop 2021/photoshop.exe" "\$FILE_PATH" EOF chmod +x "launcher.sh" echo "90" > progress.mimifile # Icon curl -L https://raw.githubusercontent.com/LinSoftWin/Photoshop-CC2022-Linux/main/Adobe-Photoshop-Gui-Installer/src/Assets/photoshop.png > photoshop.png mv photoshop.png "$HOME/.local/share/icons/photoshop.png" # Create photoshop2021.desktop touch "$HOME/.local/share/applications/photoshop2021.desktop" cat < "$HOME/.local/share/applications/photoshop2021.desktop" [Desktop Entry] Name=Photoshop CC 2021 Exec='$INSTALL_PATH/launcher.sh' Type=Application Comment=Photoshop CC 2021 (Wine) Categories=Graphics; Icon=photoshop StartupWMClass=photoshop.exe EOF # Camera Raw if [[ -n $2 ]] && [[ $2 == "--camera-raw" ]]; then echo "95" > progress.mimifile curl -L "https://download.adobe.com/pub/adobe/photoshop/cameraraw/win/12.x/CameraRaw_12_2_1.exe" > CameraRaw_12_2_1.exe wine CameraRaw_12_2_1.exe rm CameraRaw_12_2_1.exe fi echo "100" > progress.mimifile echo "Installation complete!" rm progress.mimifile

wine10.sh

#!/bin/bash # Check if the install path is provided if [[ -z $1 ]]; then echo "Usage: set_windows10.sh [INSTALL PATH]" exit 1 fi # Set the install path and WINEPREFIX INSTALL_PATH=$(echo "$1" | sed -e 's/\/$//') # Remove trailing slash export WINEPREFIX="$INSTALL_PATH/prefix" # Check if the WINEPREFIX directory exists if [[ ! -d "$WINEPREFIX" ]]; then echo "Error: Wine prefix directory not found at $WINEPREFIX" exit 1 fi # Set Windows version to 10 using winecfg winecfg -v win10 echo "Windows version set to 10 for prefix at $WINEPREFIX"