Wine photoshop CS6

From wikinotes

WARNING:

these notes are from ~2013, and are likely out of date

Install

  • Install Photoshop in Windows (at the moment has to be x32)
  • Copy relevant files from following locations to your ~/.wine/drive_c
    • C:/Program Files/Common Files
    • C:/Program Files/Adobe
# Clone Latest Wine
git clone http://source.winehq.org/git/wine.git wine-git

# Apply Brush Patch
cd wine-git
patch -p1 < photoshop.patch

sudo apt-get install libc6-dev-i386 flex bison
sudo apt-get build-dep wine

# DEBIAN ONLY:
cd /usr/lib32 ln -s libdbus-1.so.3 libdbus-1.so 
./configure
make depend
make


wine "/home/will/.wine/drive_c/Program Files/Adobe/Adobe Photoshop CS6/Photoshop.exe


NOTE:

Photoshop runs fine with the patch, but once closed, you will have to sudo pkill wine in order to be able to run it again.

Patches

A patch was released to fix the brush problems in photoshop photoshop.patch

diff --git a/dlls/user32/input.c b/dlls/user32/input.c
index 050fb2b..fca845e 100644
--- a/dlls/user32/input.c
+++ b/dlls/user32/input.c
@@ -369,10 +369,12 @@ SHORT WINAPI DECLSPEC_HOTPATCH GetAsyncKeyState( INT key )
 
     if ((ret = USER_Driver->pGetAsyncKeyState( key )) == -1)
     {
+	/*
         if (thread_info->key_state &amp;&amp;
             !(thread_info->key_state[key] &amp; 0xc0) &amp;&amp;
             GetTickCount() - thread_info->key_state_time < 50)
             return 0;
+	*/
 
         if (!thread_info->key_state) thread_info->key_state = HeapAlloc( GetProcessHeap(), 0, 256 );