WineHQ

Adobe Photoshop

Released April 12 2010

Two versions: Basic and Extended


Basic:

  • Complex selections made easy
  • Content-Aware Fill
  • HDR Pro and HDR Toning
  • Puppet Warp
  • Mixer Brush and Bristle Tips

Extended:

  • Easy 3D extrusions with Adobe Repouss√ɬ©
  • Quick shadow creation and image-based lights
  • Rich 3D materials library
  • Motion-based content editing
  • Image analysis and measurement

- Wikipedia



Application Details:

Version: CS5 (12.0)
License: Retail
URL: http://www.adobe.com/products/...
Votes: Marked as obsolete
Latest Rating: Silver
Latest Wine Version Tested: 6.3

Maintainers: About Maintainership

Test Results

Old test results
The test results for this version are very old, and as such they may not represent the current state of Wine. Please consider submitting a new test report.
Selected Test Results

What works

Most of CS5 functions will work to some extent, more or less the same as in the native Windows OS

What does not

without native libraries you're going to experience problems with ugly menu fonts, random crashes, main canvas tab docking is not going to work (window would disappear), slow rendering/tool application speed, PS shapes, Save As dialog will not work on netbooks with screen vertical resolution less or equal to 600px

Workarounds

Some people after seeing PS5 screen prematurely report that "everything" is working which is never true. If you're a  frequent PS5 Wine user you know that a lot of functions are not going to work properly and the more you have experience with the installed program the more functions you find not working. Each time with the new Wine you think you can do without the native libraries and each time it's only the impression. And Wine 6.3 + Photoshop CS5 is not an exclusion yes you still need native libraries.

As wine gets more and more complex I suggest not to use system-wide changes in Wine replacing builtin dlls on native for every application like you do with winetricks but rather apply a per-application method.

To make per-applications dll replacement for Photoshop CS5 only make a copy of Photoshop.exe under PhotohopCS5.exe name. It's important if you use several Photoshop versions and you want to have per version Wine dll overrides. All photoshops are called Photoshop.exe and Wine settings are not path-dependent but rather exe file name dependent - they're going to be the same for every Photoshop.exe 

Now that you have PhotoshopCS5.exe launch winecfg.exe, under Applications tab choose PhotoshopCS5.exe, now select PhotoshopCS5.exe and go to Libraries. You're now going to override libraries only for PhotoshopCS5.exe

You will need 

atmlib.dll dnsapi.dll gdiplus.dll msvcp90.dll msvcr90.dll msxml.dll opengl32.dll ddraw.dll

of the same architecture as the copy of PhotoshopCS5.exe that you have, if it's 32 bit - all the DLL should be from Windows 7 or XP 32bit, if it's 64 bit then use Windows7 or XP 64 bit dlls 

override the libraries by changing atmlib dnsapi gdiplus msvcp90 msvcr90 msxml opengl32 ddraw load order to native builtin (which is default) 

After that most of PS5 will work similar to Windows, no crashes, but you will have from time to time a crash when you close PS5 and plugins are unloaded. If it bothers you - you might find some native libraries which would prevent that from happening. 

XMP plugin in which you can fill in additional PSD data requires Adobe Flash Player to be installed. You would have to install it - if you don't  - XMP plugin will show an empty screen (File Info option in PhotoshopCS5 won't function)

I run Wine since 1.0 and have PS5 under many Wine versions, although a lot of work was put in Wine from the user standpoint with the new 6.3 nothing changed for PS5 to the better - you still need native libraries although some progress was done with builtin libraries - PS5 runs on them but it runs poorly, you can't use it daily without random problem, if you have wine 3.0 or wine 4.0 the procedure would be the same. In wine 4.0 you won't have the crash on movl at the end like in Wine 6.x

If your first impression of running PS5 on builtin libraries is OK - don't trust it as you start using PS5 you'll see more and more problems. Using native opengl32 + ddraw = a great boost in CS5 performance without any side-effects for Wine 6.0.

To check what libraries are actually loaded use WINEDEBUG=+loaddll 

To run PS5 on netbooks with vertical resolution less than 600px and have Save As dialog function - you will need the overrides above. Alternatively if you use builtin libraries you may start Photoshop with wine's  /desktop=PhotoshopCS5,1024x768 flags on netbooks and have Save As dialog function.


What was not tested

Hard to tell, Photoshop is huge

Hardware tested

Graphics:

  • GPU: Intel
  • Driver: open source

Additional Comments

without native libraries PS5 is not going to work as close to Windows as with them, using native libraries gives you the best approximation 

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
CurrentGentoo Linux x86_64Mar 30 20216.3No, but has workaround Yes YesSilverIgor Franchuk 
ShowUbuntu 16.04 "Xenial" amd64 (+ variants like Kubuntu)Mar 08 20183.0Yes Yes NoPlatinumDan Dascalescu 
ShowUbuntu 16.04 "Xenial" amd64 (+ variants like Kubuntu)Jan 22 20183.0Yes Yes NoPlatinumVlad 
ShowUbuntu 13.10 "Saucy" amd64 (+ variants like Kubuntu)Apr 30 20141.7.17No Not installable Garbagean anonymous user 
ShowUbuntu 13.10 "Saucy" amd64 (+ variants like Kubuntu)Apr 29 20141.6.2No Not installable Garbagean anonymous user 

Known Bugs

Bug # Description Status Resolution Other apps affected
18517 Tablet pen pressure or eraser (wacom tablet) are not working in Photoshop CS 4/5 STAGED View
23898 Adobe Photoshop CS5 tool windows stay visible after switching to another program NEW View
41980 Photoshop CS5 loading problem UNCONFIRMED View
46390 PageFault on read access (Adobe Photoshop CS5) NEEDINFO View
46740 Photoshop CS5 crashes upon opening in Wine-4.0 NEEDINFO View

Show all bugs

HowTo / Notes

HOWTO

# Copying an install from Windows:

# Note: I used a Windows 7 32-bit install. YMMV.

# in Windows:

install CS5

run regedit

navigate to HKEY_LOCAL_MACHINE\Software

export out the 'Adobe' key, to your Desktop, as adobe_cs5.reg

# back in a real OS and in a CLEAN Wine directory

$ winetricks gdiplus ie6 msxml3 vcrun2005sp1 vcrun2008

# Now, copy files from Windows to Wine:

# If you're on a 64-bit version of Windows, use "Program Files (x86)" instead of "Program Files" (untested though)

# $USER refers to your username

"C:\Program Files\Adobe\" to "$HOME/.wine/drive_c/Program Files/Adobe"

"C:\Program Files\Common Files\Adobe" to $HOME/.wine/drive_c/Program Files/Common Files/Adobe"

"C:\Documents and Settings\$USER\Application Data\Adobe" to "$HOME/.wine/drive_c/users/$USER/Applications Data/Adobe"

"C:\windows\system32\odbc32.dll" to "$HOME/.wine/drive_c/windows/system32/odbc32.dll"

"C:\windows\system32\odbcint.dll" to "$HOME/.wine/drive_c/windows/system32/odbcint.dll"

# Finally, import the Adobe registry entries. Using the file you made earlier, adobe_cs5.reg:

$ wine regedit adobe_cs5.reg

# Lastly, override odbc32 and odbcint as native:

$ winecfg

choose the library tab, type odbc32 in the override box, and choose add. Repeat for odbcint

# Finally, run photoshop:

$ cd "$HOME/.wine/drive_c/Program Files/Adobe/Adobe Photoshop CS5"

$ wine Photoshop.exe

for me, on the first run, I got an error that the trial had expired. On the second run, it worked fine, saying I have 30 days. Each subsequent runs still has the dialog, however.

################## NOTE #################

Do not report bugs to wine with an installation done this way. Wait until the installer bugs are fixed or have patches to workaround them!

HOW TO make the Installer to run

By default, after the installer extract nothing happens.

In order to make the Adobe installer tor run you install the following dependencies, do this:

With winetricks, on terminal type this:

 sh winetricks msxml6 gdiplus gecko vcrun2005sp1 vcrun2008 msxml3 atmlib

Make sure you have msvcr80.dll on your wine's system32 folder.

After checking some sources about gdiplus I also copied gdiplus.dll to system folder

This should make your Installer to boot however making the installer to complete the instalation 100% may need more tweaking

Follow the HOWTO
Posting a comment where you clearly haven't followed the HOWTO will be deleted without warning.  Follow the instructions before asking for help.  The instructions are there for a reason.
ALT-Click keybinding and Compiz

Thanks to earther for the following email:

I was having problems with the Photoshop 7 ALT-Click keybinding in a new Debian install running Compiz.  I did the standard window manager tweak but it still didn't work properly.  Then I discovered an ALT-Click keybinding in the Compiz Window Management > Move Window > Initiate Window Move settings. I changed it to 'super' like in Gnome window management and voila, it seemed to get it working again in Photoshop. You might want to add that bit of info to the clone tool info on the Photoshop 7 page.

earther

Fix font display problem

If you happen to have display problems,

Open a terminal and type this:

wget http://files.polosatus.ru/winefontssmoothing_en.sh

Run this script using the following command

sh winefontssmoothing_en.sh

Select option 3 from the following screen

Done

 

Comments

The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.

Crashes accessing the font tool
by Simba on Wednesday January 24th 2018, 11:37
I'm using a portable version of Photoshop CS5, and while it seems to work at first, I created a simple image and experimented with the shape and move tools, the font tool crashes the app every time. I am guessing this has something to do with loading of system fonts.. Can anyone recommend a solution?
RE: Crashes accessing the font tool
by Simba on Wednesday January 24th 2018, 11:42
This winetricks list seems to have solved the issue:

winetricks atmlib gdiplus msxml3 msxml6 vcrun2005 vcrun2005sp1 vcrun2008 ie6 fontsmooth-rgb gecko
A workaround for installation
by Storm Engineer on Tuesday October 28th 2014, 9:10
A very easy workaround for installation is using the "Portable Edition".

Advantages:
- No installation, works out of box
- No need to add registry entry
- No need to copy DLLs from Windows
- Completely self contained, doesn't place any configs files into the prefix, everything is neatly within the folder of the app.

Steps to set up:
1; Make a new 32 bit prefix (64 bit won't work!):
WINEPREFIX=[path to your custom prefix] WINEARCH=win32 winecfg
2; Install gdiplus, atmlib and corefonts - the rest mentioned above are not needed. Winetricks will automatically set the needed overrides as well:
WINEPREFIX=[path to your custom prefix] WINEARCH=win32 winetricks atmlib gdiplus corefonts
3; Copy the portable folder anywhere in the prefix (I used C:/photoshop_portable ) and run it. Voila!


Now, an additional step may be required, if your brush doesn't draw, but makes only a dot. To fix that you need to patch wine and compile it yourself. Don't worry, it's easy! There are only a few lines you need to comment out in the source code before compiling.

Here is the patch:
pastebin.com/6JKGu4fP

(Note: Pastebin cut off the last, empty line, which will probably be needed so makepkg doesn't cry "malformed patch")


Finally, if you are annoyed by tooltips in Photoshop sometimes persisting and not disappearing, there is another patch for that, that you need to apply:
pastebin.com/dR26g3L8


Enjoy!


P.s.: Patches created from the solutions found in attachments and comments on bug tickets 29871 and 18517
RE: A workaround for installation
by Storm Engineer on Tuesday October 28th 2014, 9:14
Forgot to add:

If your legally purchased and activated Photoshop still keeps reverting to Trial mode, regardless of using an authentic product code, the Portable Edition will solve this as well.
Back