File: decompile.6

package info (click to toggle)
scummvm-tools 2.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,916 kB
  • sloc: cpp: 54,616; sh: 4,145; perl: 706; ansic: 646; python: 518; makefile: 271
file content (118 lines) | stat: -rw-r--r-- 2,413 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
.TH decompile 6 "December 9, 2017" scummvm-tools
.SH NAME
decompile \- Engine script decompiler
.SH SYNOPSIS
.B decompile \-h
.br
.B decompile \-l
.br
.B decompile \-h \-e
.RI < engine >
.br
.B decompile
.RB [ \-e
.RI < engine >]
.RB [ \-d
.RI < file >]
.RB [ \-g
.RI < file >]
.RB [ \-D ]
.RB [ \-G ]
.RB [ \-u ]
.RB [ \-v
.RI < variant >]
.RB [ \-s ]
.RI < file >
.SH DESCRIPTION
.B decompile
decompiles scripts for a number of game engines.
.PP
.B decompile \-h
or
.B decompile \-\-help
displays a short help summary.
.PP
.B decompile \-l
or
.B decompile \-\-list
lists the supported game engines.
.PP
.B decompile \-h \-e
or
.B decompile \-\-help \-\-engine
.RI < engine >
lists the variants available for the given \fIengine\fP.
.PP
Other forms of the command decompile the given \fIfile\fP, using the
game engine specified using the
.B \-e
or
.B \-\-engine
option:
.TP
.B groovie
Groovie, as used by The 7th Guest and The 11th Hour;
.TP
.B kyra2
Legend of Kyrandia: Hand of Fate;
.TP
.B scummv6
SCUMM v6.
.PP
Variants are specified using the
.B \-v
or
.B \-\-variant
option:
.TP
.B t7g
The 7th Guest (for the
.B groovie
engine);
.TP
.B v2
version 2, from The 11th Hour onwards (for the
.B groovie
engine);
.TP
.B kyra2
Legend of Kyrandia: Hand of Fate, floppy-disk version;
.TP
.B kyra2-talkie
Legend of Kyrandia: Hand of Fate, CD-ROM (talkie) version.
.SH OPTIONS
.TP
.BR \-d ", " \-\-dump\-disassembly " <" \fIfile\fP >
dumps the disassembly to the given \fIfile\fP (standard out if
\fIfile\fP is omitted).
.TP
.BR \-g ", " \-\-dump\-graph " <" \fIfile\fP >
dumps the control flow graph, in
.BR dot ( 1 )
format, to the given \fIfile\fP (standard out if \fIfile\fP is
omitted).
.TP
.BR \-D ", " \-\-only\-disassembly
stops after disassembly; implies \fB\-d\fP.
.TP
.BR \-G ", " \-\-only\-graph
stops after generating the control flow graph; implies \fB\-g\fP.
.TP
.BR \-u ", " \-\-show\-unreachable
show the address and contents of unreachable groups in the script.
.TP
.BR \-s ", " \-\-no\-stack\-effect
leaves out the stack effect when printing raw instructions.
.PP
Note that
.B \-d
or
.B \-g
without arguments
.B must not
be specified immediately before the input file.
.SH AUTHORS
This manual page was adapted from the program usage information by
Stephen Kitt <skitt@debian.org>, for the Debian GNU/Linux system (but
may be used by others). It was last modified for \fBscummvm-tools\fP
version 2.0.