/trunk/wpj/README.TXT |
---|
0,0 → 1,67 |
Prerequisites |
=================== |
1) flex and bison |
The easiest way to get these (and many other useful GNU tools) is described here: |
http://getgnuwin32.sourceforge.net/ |
Set path variable to the binaries |
2) Photoshop 6.0 SDK |
Available from Photoshop 6.0 CD |
Watcom 1.6beta RC1 or later |
Available here: |
http://www.openwatcom.org/ftp/devel/ |
3) SVN client |
Available here: |
3)SVN client |
After installing Watcom get the command line svn client: |
http://subversion.tigris.org/files/documents/15/34093/svn-1.4.0-setup.exe |
After installing all these reboot, or set the environment manually |
How to get filterfoundry: |
=========================== |
Make a directory anywhere for telegraphics plugins, remember, no spaces in pathname |
cd into the directory. |
type |
svn checkout http://www.telegraphics.com.au/svn/common/trunk common |
svn checkout http://www.telegraphics.com.au/svn/filterfoundry/trunk filterfoundry |
How to build: |
=============== |
Hint: |
If you never used Watcom to build Photoshop plugins best start with the |
countcolours plugin and ensure it compiles. Read the HowTo. |
Look for it at http://www.telegraphics.com.au/sw/ or get it with |
svn checkout http://www.telegraphics.com.au/svn/countcolours/trunk countcolours |
Open filterfoundry.wpj in Watcom's IDE. |
In menu File->Before set the path to your Photoshop SDK. |
Thats all, you can build the project then. |
Remarks |
========= |
flex and bison are currently invoked as batch process. |
This is defined in the menu File->Before. |
The ide fails to build the project when filenames contain more than one dot. |
Therefore the output files of bison and lex are copied. |
There is no error checking done. |
Probably it would be better to write a small wmake file for this purpose. |
If there are problems building or using the watcom generated plugin please |
inform me. |
I dont regulary use filterfoundry but I checked all examples if they work. |
I used Photoline 32, available at www.pl32.com to check it, because it has very |
flexible configuration (multiple paths) for plugins, very good plugin compatibility, |
(16 and 8 bit) and fast startup time. |
I am reached at: |
peter dot heckert at arcor dot de |
Enjoy! |
/trunk/wpj/filterfoundry.tgt |
---|
0,0 → 1,767 |
40 |
targetIdent |
MProject |
1 |
MComponent |
2 |
WString |
4 |
NDLL |
3 |
WString |
5 |
n_2dn |
1 |
1 |
4 |
MCommand |
17 |
cd .. |
cd wpj |
5 |
MCommand |
42 |
copy filterfoundry.dll filterfoundry.8bf |
6 |
MItem |
17 |
filterfoundry.dll |
7 |
WString |
4 |
NDLL |
8 |
WVList |
2 |
9 |
MCState |
10 |
WString |
5 |
WLINK |
11 |
WString |
24 |
?????Produce symbol file |
1 |
12 |
MRState |
13 |
WString |
5 |
WLINK |
14 |
WString |
23 |
n??d?Use linker default |
1 |
15 |
WVList |
-1 |
1 |
1 |
16 |
WPickList |
31 |
17 |
MItem |
3 |
*.c |
18 |
WString |
4 |
COBJ |
19 |
WVList |
6 |
20 |
MVState |
21 |
WString |
3 |
WCC |
22 |
WString |
25 |
n????Include directories: |
1 |
23 |
WString |
129 |
$(%watcom)\h;$(%watcom)\h\nt;..\..\common\adobeplugin;..\..\common\tt;$(%PSAPI)\Pica_sp;$(%PSAPI)\Photoshop;$(%PSAPI)\General;..\ |
24 |
MVState |
25 |
WString |
3 |
WCC |
26 |
WString |
23 |
?????Macro definitions: |
1 |
27 |
WString |
57 |
_WINDOWS MSWindows=1 WIN32=1 WIN_ENV=1 INSIDE_PHOTOSHOP=1 |
28 |
MCState |
29 |
WString |
3 |
WCC |
30 |
WString |
34 |
?????Change char default to signed |
1 |
1 |
31 |
MVState |
32 |
WString |
3 |
WCC |
33 |
WString |
19 |
?????Other options: |
1 |
34 |
WString |
3 |
-aq |
35 |
MRState |
36 |
WString |
3 |
WCC |
37 |
WString |
39 |
??2??Pentium Pro Register based calling |
1 |
38 |
MRState |
39 |
WString |
3 |
WCC |
40 |
WString |
36 |
??2??Pentium Pro Stack based calling |
1 |
1 |
41 |
WVList |
1 |
42 |
ActionStates |
43 |
WString |
5 |
&Make |
44 |
WVList |
-1 |
1 |
1 |
45 |
MItem |
34 |
..\..\COMMON\ADOBEPLUGIN\dllmain.c |
46 |
WString |
4 |
COBJ |
47 |
WVList |
48 |
WVList |
1 |
49 |
ActionStates |
50 |
WString |
5 |
&Make |
51 |
WVList |
17 |
1 |
1 |
52 |
MItem |
32 |
..\..\common\tt\choosefile_win.c |
53 |
WString |
4 |
COBJ |
54 |
WVList |
55 |
WVList |
17 |
1 |
1 |
56 |
MItem |
31 |
..\..\COMMON\TT\compat_string.c |
57 |
WString |
4 |
COBJ |
58 |
WVList |
59 |
WVList |
17 |
1 |
1 |
60 |
MItem |
28 |
..\..\common\tt\compat_win.c |
61 |
WString |
4 |
COBJ |
62 |
WVList |
63 |
WVList |
17 |
1 |
1 |
64 |
MItem |
25 |
..\..\COMMON\TT\dbg_win.c |
65 |
WString |
4 |
COBJ |
66 |
WVList |
67 |
WVList |
17 |
1 |
1 |
68 |
MItem |
33 |
..\..\common\tt\file_compat_win.c |
69 |
WString |
4 |
COBJ |
70 |
WVList |
71 |
WVList |
17 |
1 |
1 |
72 |
MItem |
30 |
..\..\COMMON\TT\sprintf_tiny.c |
73 |
WString |
4 |
COBJ |
74 |
WVList |
75 |
WVList |
17 |
1 |
1 |
76 |
MItem |
21 |
..\..\COMMON\TT\str.c |
77 |
WString |
4 |
COBJ |
78 |
WVList |
79 |
WVList |
17 |
1 |
1 |
80 |
MItem |
31 |
..\..\COMMON\TT\ui_compat_win.c |
81 |
WString |
4 |
COBJ |
82 |
WVList |
83 |
WVList |
17 |
1 |
1 |
84 |
MItem |
10 |
..\funcs.c |
85 |
WString |
4 |
COBJ |
86 |
WVList |
87 |
WVList |
17 |
1 |
1 |
88 |
MItem |
11 |
..\lex_yy.c |
89 |
WString |
4 |
COBJ |
90 |
WVList |
91 |
WVList |
17 |
1 |
1 |
92 |
MItem |
13 |
..\load_win.c |
93 |
WString |
4 |
COBJ |
94 |
WVList |
95 |
WVList |
17 |
1 |
1 |
96 |
MItem |
9 |
..\main.c |
97 |
WString |
4 |
COBJ |
98 |
WVList |
99 |
WVList |
17 |
1 |
1 |
100 |
MItem |
9 |
..\make.c |
101 |
WString |
4 |
COBJ |
102 |
WVList |
103 |
WVList |
17 |
1 |
1 |
104 |
MItem |
13 |
..\make_win.c |
105 |
WString |
4 |
COBJ |
106 |
WVList |
107 |
WVList |
17 |
1 |
1 |
108 |
MItem |
9 |
..\node.c |
109 |
WString |
4 |
COBJ |
110 |
WVList |
111 |
WVList |
17 |
1 |
1 |
112 |
MItem |
12 |
..\preview.c |
113 |
WString |
4 |
COBJ |
114 |
WVList |
115 |
WVList |
17 |
1 |
1 |
116 |
MItem |
12 |
..\process.c |
117 |
WString |
4 |
COBJ |
118 |
WVList |
119 |
WVList |
17 |
1 |
1 |
120 |
MItem |
9 |
..\read.c |
121 |
WString |
4 |
COBJ |
122 |
WVList |
123 |
WVList |
17 |
1 |
1 |
124 |
MItem |
9 |
..\save.c |
125 |
WString |
4 |
COBJ |
126 |
WVList |
127 |
WVList |
17 |
1 |
1 |
128 |
MItem |
14 |
..\scripting.c |
129 |
WString |
4 |
COBJ |
130 |
WVList |
131 |
WVList |
17 |
1 |
1 |
132 |
MItem |
11 |
..\symtab.c |
133 |
WString |
4 |
COBJ |
134 |
WVList |
135 |
WVList |
17 |
1 |
1 |
136 |
MItem |
12 |
..\trigtab.c |
137 |
WString |
4 |
COBJ |
138 |
WVList |
139 |
WVList |
17 |
1 |
1 |
140 |
MItem |
7 |
..\ui.c |
141 |
WString |
4 |
COBJ |
142 |
WVList |
143 |
WVList |
17 |
1 |
1 |
144 |
MItem |
13 |
..\ui_build.c |
145 |
WString |
4 |
COBJ |
146 |
WVList |
147 |
WVList |
17 |
1 |
1 |
148 |
MItem |
17 |
..\ui_build_win.c |
149 |
WString |
4 |
COBJ |
150 |
WVList |
151 |
WVList |
17 |
1 |
1 |
152 |
MItem |
11 |
..\ui_win.c |
153 |
WString |
4 |
COBJ |
154 |
WVList |
155 |
WVList |
17 |
1 |
1 |
156 |
MItem |
10 |
..\y_tab.c |
157 |
WString |
4 |
COBJ |
158 |
WVList |
159 |
WVList |
17 |
1 |
1 |
160 |
MItem |
4 |
*.rc |
161 |
WString |
5 |
NRESC |
162 |
WVList |
2 |
163 |
MVState |
164 |
WString |
3 |
WRC |
165 |
WString |
23 |
n????Macro definitions: |
1 |
166 |
WString |
61 |
WIN32 _WIN32 __NT__ WIN_ENV=1 INSIDE_PHOTOSHOP=1 MSWindows=1 |
167 |
MVState |
168 |
WString |
3 |
WRC |
169 |
WString |
25 |
n????Include directories: |
1 |
170 |
WString |
70 |
$[:;$(%watcom)\h;$(%watcom)\h\nt;$(%PSAPI)\Photoshop;$(%PSAPI)\Pica_sp |
171 |
WVList |
-1 |
1 |
1 |
172 |
MItem |
13 |
..\win_res.rc |
173 |
WString |
5 |
NRESC |
174 |
WVList |
175 |
WVList |
160 |
1 |
1 |
/trunk/wpj/filterfoundry.wpj |
---|
0,0 → 1,55 |
40 |
projectIdent |
VpeMain |
1 |
WRect |
3429 |
21 |
7680 |
9728 |
2 |
MProject |
3 |
MCommand |
249 |
set PSSDK=E:\Adobe_Photoshop_6.0_SDK |
set PSAPI =E:\Adobe_Photoshop_6.0_SDK\PhotoshopAPI |
cd .. |
bison parser.y -d -y |
flex lexer.l y.tab.c |
rem IDE doesnt like multiple dots in filenames |
copy y.tab.c y_tab.c |
copy lex.yy.c lex_yy.c |
cd wpj |
4 |
MCommand |
1 |
5 |
WFileName |
17 |
filterfoundry.tgt |
6 |
WVList |
1 |
7 |
VComponent |
8 |
WRect |
704 |
5712 |
4352 |
9 |
WFileName |
17 |
filterfoundry.tgt |
7 |