swftools / swftools

Utilities for editing and generating Adobe Flash (SWF) files.
GNU General Public License v2.0
267 stars 96 forks source link

gfx2gfx: errors in converting swf to pdf #38

Open SergeGardien opened 7 years ago

SergeGardien commented 7 years ago

I've succesfully compiled SWFTools for Mac OS X 10.11.6 by fixing the jpeg.c file (as per thread https://github.com/matthiaskramm/swftools/issues/37) given that I had some errors.

In particular I've compiled gfx2gfx without errors but if I use it with the command: gfx2gfx test.swf -o test.pdf I get the following errors:

Error: ID 142 unknown
Error: ID 145 unknown
Error: ID 148 unknown
Error: ID 151 unknown
Error: ID 154 unknown
Error: ID 157 unknown
Error: ID 160 unknown
Error: ID 163 unknown
Error: ID 166 unknown
Error: ID 169 unknown
Error: ID 172 unknown
Error: ID 175 unknown
Error: ID 178 unknown
Error: ID 181 unknown
Error: ID 184 unknown
Error: ID 187 unknown
Error: ID 190 unknown
Error: ID 193 unknown
Error: ID 196 unknown
Error: ID 199 unknown
Error: ID 202 unknown
Error: ID 205 unknown
Error: ID 208 unknown
Error: ID 211 unknown
Error: ID 214 unknown
Error: ID 217 unknown
Error: ID 220 unknown
Error: ID 223 unknown
Error: ID 226 unknown
Error: ID 229 unknown
Error: ID 232 unknown
Error: ID 235 unknown
Error: ID 238 unknown
Error: ID 241 unknown
Error: ID 244 unknown
Error: ID 247 unknown
Error: ID 250 unknown
Error: ID 253 unknown
Error: ID 256 unknown
Error: ID 259 unknown
Error: ID 262 unknown
Error: ID 265 unknown
Error: ID 268 unknown
Error: ID 271 unknown
Error: ID 274 unknown
Error: ID 277 unknown
Error: ID 280 unknown
Error: ID 283 unknown
Error: ID 286 unknown
Error: ID 289 unknown
Error: ID 292 unknown
Error: ID 295 unknown
Error: ID 298 unknown

Do you have any idea what this is? How can I fix it?

ROBERT-MCDOWELL commented 7 years ago

did you try with a very simple swf to convert? is the swf in AS2 or AS3?

SergeGardien commented 7 years ago

I've tried with other SWFs and I obtain similar errors. How can I check if the SWF is in AS2 or AS3? I didn't create it, I've downloaded ti from the web.