Photoshop Plugin

NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Locked
Walter Gress

Photoshop Plugin

Post 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.
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Photoshop Plugin

Post 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).
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Walter Gress

Re: Photoshop Plugin

Post by Walter Gress »

Where is the source for the GIMP plugin?
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Photoshop Plugin

Post by Dominus »

mapedit/u7shp.c
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Walter Gress

Re: Photoshop Plugin

Post by Walter Gress »

Ok. Where are the libraries located? I downloaded gtk and ran the script.
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Photoshop Plugin

Post 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...
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Photoshop Plugin

Post 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)
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Walter Gress

Re: Photoshop Plugin

Post 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?
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Photoshop Plugin

Post by Dominus »

See if it build it anyway (u7shp) and move it to ~/Library/Application Support/GIMP/2.8/plug- ins
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Walter Gress

Re: Photoshop Plugin

Post by Walter Gress »

No it didn't. Its not in /mapedit anyway
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Photoshop Plugin

Post 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.
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Walter Gress

Re: Photoshop Plugin

Post 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.
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Photoshop Plugin

Post by Dominus »

Then make that folder.
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Walter Gress

Re: Photoshop Plugin

Post by Walter Gress »

I did. It still doesn't work.
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Photoshop Plugin

Post by Dominus »

Start gimp from terminal and see what it says about the plugin
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Locked