www.pudn.com > sswf-1.7.4-src.zip > swf_dump.1


.\"
.\" MAN PAGE COMMENTS
.\"
.\" Written by Alexis Wilke for Made to Order Software, Ltd. (c) 2002-2006
.\"
.if \n(zZ=1 .ig zZ
.if \n(zY=1 .ig zY
.TH SWF_DUMP 1 "2002 Oct 22" "SSWF-1.3"
.de }1
.  ds ]X \&\\*(]B\\
.  nr )E 0
.  if !"\\$1"" .nr )I \\$1n
.  }f
.  ll \\n(LLu
.  in \\n()Ru+\\n(INu+\\n()Iu
.  ti \\n(INu
.  ie !\\n()Iu+\\n()Ru-\w\\*(]Xu-3p \{\\*(]X
.  br\}
.  el \\*(]X\h|\\n()Iu+\\n()Ru\c
.  }f
..
.\"
.\" File Name macro.  This used to be `.PN', for Path Name,
.\" but Sun doesn't seem to like that very much.
.\"
.de FN
\fI\|\\$1\|\fP
..
.SH NAME
swf_dump \- Disassembler of SWF Flash movies
.SH SYNOPSIS
.B swf_dump
[options]
file ...
.SH DESCRIPTION
.B sswf_dump
is a disassembler used to read a
.IR "Flash movie"
and print out the information within.
.PP
It can extract images (loseless or JPEG) and sounds. It can
print out shapes in
.B SSWF
format (so you can recompile them with
.B SSWF
later). Also, it will print out the action scripts in a wait
fairly easy to read so you can see whether there is a mistake
or a way to simply your scripts even further.
.SH OPTIONS
The following options are understood by \fBswf_dump\fR.
.TP
.BR \-\^d " or " \-\-\^decompress
Decompress images, this means images are written in image files
(24 or 32 bit targas for Lossless images and JPEGs). If you
can't read 32 bit targas, you can use the \fB--no-alpha\fP to
get rid of the extra 8 bits. At this time you can't control
the name of the output files which is
.IP
\fBswf_dump-<#>.jpg\fP or \fBswf_dump-<#>.tga\fP
.IP
Where the number (<#>) is the unique identifier of the image
in the movie.
.IP
At this time, the JPEG alpha channels can't be dumped out.
Also, the JPEG saved in V1.x may be saved in two parts.
If this happens, the first part (the tables) is saved in:
.IP
\fBswf_dump-tables.jpg\fP
.IP
You will eventually need to merge the tables with the rest
of the JPEG image data with a command such as:
.IP
\fBcat sswf_dump-tables.jpg sswf_dump-17.jpg >image.jpg\fP
.PP
.TP
.BR \-\^h " or " \-\-help
Prints out a quick help screen about all the options supported
by \fBswf_dump\fP.
.TP
.BR \-\^m " or " \-\-\^movie_header
Prints out information about the movie which can easilly be
used by a shell script. The information is:
.IP
\fBversion, width, height, frame rate, frame count\fP
.IP
These are: the version of this movie, the width in TWIPs
(divide by 20 to get pixels), the height in TWIPs, the
frame rate (number of frames per seconds) and the number
of frames in the main movie (sprites can themselves be
hundreds of frames, so this last value really doesn't
represent much.)
.IP
It can be useful when you generate a website and you want to
specify the width and height of the movie in the corresponding
HTML files.
.TP
.BR \-\-\^no-alpha
Use in conjonction with the \fB--decompress\fP so you don't get
the alpha channel in the target files (you get 24 bits targas
instead). Note that this is necessary only if the movie has
32 bits lossless images.
.TP
.BR \-\^o " \fIid\fP or " \-\-object "\fIid\fP"
By default all the objects in the movie are listed in a dump
like format. You can use this option to dump out a given
definition tag. swf_dump only supports the following at
this time:
.IP
.B DefineFont
.br
.B DefineShape
.TP
.BR \-\^q " or " \-\-\^quiet
Render \fBswf_dump\fP pretty quiet. Thus, most everything is
listed, but some extraneous (and often useless) information
will not be printed at all.
.TP
.BR \-\^v " or " \-\-\^verbose
Increase the verbosity. By default, the verbosity is set to
one (1) so the system is a bit talkative. You can remove the
verbosity completely with the \fB-q\fP option. The higher the
verbosity, the more changes you will get additional information.
.TP
.BR \-\-\^version
Prints out the \fIswf_dump\fP version and exit with an error.
.SH ARGUMENTS
All the other arguments are taken as file names.
.SH "SEE ALSO"
\fIAlexis' SWF Reference\fP, Alexis Wilke (\fIhttp://sswf.sourceforge.net/SWFalexref.html\fP)
.PP
\fISSWF Reference Manual\fP, Alexis Wilke (\fIhttp://sswf.sourceforge.net/ScriptSWF.html\fP)
.PP
sswf(1), ft2sswf(1), jpg2swf(1)
.SH BUGS
.TP
You are welcome to report bugs to me at: alexis_wilke@users.sourceforge.net
.B "Thank you in advance for the info!"
.PP
All the tags need to be supported.
.PP
The sounds need to be extracted.
.PP
The JPEG alpha channel needs to be extracted.
.PP
There should be an option in order to transform the entire
movie in an SSWF script file.
.SH "VERSION"
.PP
This manual page is part of version  of SSWF.
.PP
This file was last updated on .
.SH COPYRIGHT
.if n swf_dump is a Copyright (c) 2002-2006 by Made to Order Software, Ltd.
.if t swf_dump is a Copyright \(co 2002-2006 by Made to Order Software, Ltd.
.PP
Permission is hereby granted, free of charge, to any
person obtaining a copy of this software and
associated documentation files (the "Software"), to
deal in the Software without restriction, including
without limitation the rights to use, copy, modify,
merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom
the Software is furnished to do so, subject to the
following conditions:
.PP
The above copyright notice and this permission notice
shall be included in all copies or substantial
portions of the Software.
.PP
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
.zZ
.zY