decompile6
Engine script decompiler
Usage
decompile -h
decompile -l
decompile -h
-e
<engine>
decompile [-e
<engine>]
[-d
<file>]
[-g
<file>]
[-D]
[-G]
[-u]
[-v
<variant>]
[-s]
<file>
Overview
decompile decompiles scripts for a number of game engines.
decompile -h or decompile --help displays a short help summary.
decompile -l or decompile --list lists the supported game engines.
decompile -h -e or decompile --help --engine <engine> lists the variants available for the given engine.
Other forms of the command decompile the given file, using the game engine specified using the -e or --engine option:
|
Groovie, as used by The 7th Guest and The 11th Hour; |
|---|---|
|
Legend of Kyrandia: Hand of Fate; |
|
SCUMM v6. |
Variants are specified using the -v or --variant option:
|
The 7th Guest (for the |
|---|---|
|
version 2, from The 11th Hour onwards (for the |
|
Legend of Kyrandia: Hand of Fate, floppy-disk version; |
|
Legend of Kyrandia: Hand of Fate, CD-ROM (talkie) version. |
Options
-
-d, --dump-disassembly <file> -
dumps the disassembly to the given file (standard out if file is omitted).
-
-g, --dump-graph <file> -
dumps the control flow graph, in
dot(1) format, to the given file (standard out if file is omitted).
-
-D, --only-disassembly -
stops after disassembly; implies
-d.
-
-G, --only-graph -
stops after generating the control flow graph; implies
-g.
-
-u, --show-unreachable -
show the address and contents of unreachable groups in the script.
-
-s, --no-stack-effect -
leaves out the stack effect when printing raw instructions.
Note that -d or -g without arguments must not be specified immediately before the input file.
Releases
Unchanged in 4 releases since Debian 10 (Buster).