Page 1 of 1

Photoshop Plugin

Posted: Wed Apr 13, 2016 9:14 pm
by Walter Gress
Hi,

I was wondering if the photoshop plugin works for Photoshop CS6 for Mac. The readme gives instructions for Windows but I need to run it on Mac.

Re: Photoshop Plugin

Posted: Wed Apr 13, 2016 9:34 pm
by Dominus
It is a Windows Photoshop plugin and probably not even compatible anymore.

The Gimp plugin is much more powerful and can be used on OS X (you will need to compile on your own *AND* you will need to install Gimp via MacPorts).

Re: Photoshop Plugin

Posted: Wed Apr 13, 2016 11:02 pm
by Walter Gress
Where is the source for the GIMP plugin?

Re: Photoshop Plugin

Posted: Thu Apr 14, 2016 12:38 am
by Dominus
mapedit/u7shp.c

Re: Photoshop Plugin

Posted: Thu Apr 14, 2016 2:22 am
by Walter Gress
Ok. Where are the libraries located? I downloaded gtk and ran the script.

Re: Photoshop Plugin

Posted: Thu Apr 14, 2016 3:43 am
by Dominus
You need to install Gimp via MacPorts because you need some tool (I forgot the nsme of) that you just point at the sourcefile and it will do the rest...

Re: Photoshop Plugin

Posted: Thu Apr 14, 2016 6:23 am
by Dominus
looked it up again, when you have installed Gimp via Macports (sudo port install Gimp), run it once and close it, then open Terminal, change directories to the Exult source and then into the folder mapedit. There just execute:

Code: Select all

gimptool-2.0 --install u7shp.c
That should build and install the plugin. Then open up Gimp again and open a shp file (when asked for a palette, just cancel that dialog)

Re: Photoshop Plugin

Posted: Sat Apr 16, 2016 10:19 pm
by Walter Gress
Hmmm....followed your instructions and when building I'm getting this:

Teds-MacBook-Pro:mapedit ted_gress$ gimptool-2.0 --install u7shp.c
/usr/bin/clang -D_REENTRANT -I/opt/local/include/gimp-2.0 -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/cairo -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/libpng16 -I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz -I/opt/local/include -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/freetype2 -o /Users/ted_gress/Library/Application Support/GIMP/2.8/plug-ins/u7shp u7shp.c -L/opt/local/lib -lgimpui-2.0 -lgimpwidgets-2.0 -lgimpmodule-2.0 -lgimp-2.0 -lgimpmath-2.0 -lgimpconfig-2.0 -lgimpcolor-2.0 -lgimpbase-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -lgio-2.0 -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lXfixes -lX11 -lXext -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lfontconfig -lfreetype
clang: error: no such file or directory: 'Support/GIMP/2.8/plug-ins/u7shp'
Teds-MacBook-Pro:mapedit ted_gress$




Nothing is ever easy. eh?

Re: Photoshop Plugin

Posted: Sun Apr 17, 2016 4:24 am
by Dominus
See if it build it anyway (u7shp) and move it to ~/Library/Application Support/GIMP/2.8/plug- ins

Re: Photoshop Plugin

Posted: Sun Apr 17, 2016 2:57 pm
by Walter Gress
No it didn't. Its not in /mapedit anyway

Re: Photoshop Plugin

Posted: Sun Apr 17, 2016 6:12 pm
by Dominus
ok, then this should do it:

Code: Select all

gimptool-2.0 --build u7shp.c
cp u7shp ~/Library/Application\ Support/Gimp/2.8/plug-ins/
But you have to use the Gimp you installed via MacPorts. It will not work nicely or at all with the pre-compiled versions of Gimp.

Re: Photoshop Plugin

Posted: Tue Apr 19, 2016 12:16 am
by Walter Gress
Hmmm....my macports installation of GIMP doesn't have a plug-in directory!

I made one in the application bundle (for lack of a better word) and try the plug in there and it didn't work. I built GIMP from MacPorts and deleted my native version.

Re: Photoshop Plugin

Posted: Tue Apr 19, 2016 4:26 am
by Dominus
Then make that folder.

Re: Photoshop Plugin

Posted: Tue Apr 19, 2016 4:22 pm
by Walter Gress
I did. It still doesn't work.

Re: Photoshop Plugin

Posted: Tue Apr 19, 2016 4:56 pm
by Dominus
Start gimp from terminal and see what it says about the plugin