decompile(6)

πŸ’– decompile β€” the manual page, but make it a group chat πŸ’–

okay so bestie, you found decompile(6) β€” that's section 6, the Games Manual, iykyk. It's the little tool that un-does game engine scripts so you can actually read them. Let's go ✨


✨ NAME ✨

decompile β€” the Engine script decompiler 🧚


🌸 SYNOPSIS 🌸

decompile -h
decompile -l
decompile -h -e <engine>
decompile [-e <engine>] [-d <file>] [-g <file>] [-D] [-G] [-u] [-v
<variant>] [-s] <file>

πŸ¦‹ DESCRIPTION πŸ¦‹

So like, decompile decompiles scripts for a whole bunch of game engines. That's the whole vibe. πŸ‘‘

decompile -h or decompile --help shows you a short help summary β€” the quick lil "hey here's what I do" moment.

decompile -l or decompile --list lists the supported game engines. Window shopping, but for engines πŸ›οΈ

decompile -h -e or decompile --help --engine <engine> lists the variants available for the given engine. Like, you picked your engine, now here's every flavour it comes in.

Every other form of the decompile command decompiles the given file, using the game engine you specify with the -e or --engine option:

  • groovie β€” Groovie, as used by The 7th Guest and The 11th Hour;
  • kyra2 β€” Legend of Kyrandia: Hand of Fate;
  • scummv6 β€” SCUMM v6.

And the variants? Those get specified with the -v or --variant option:

  • t7g β€” The 7th Guest (for the groovie engine);
  • v2 β€” version 2, from The 11th Hour onwards (for the groovie engine);
  • kyra2 β€” Legend of Kyrandia: Hand of Fate, floppy-disk version;
  • kyra2-talkie β€” Legend of Kyrandia: Hand of Fate, CD-ROM (talkie) version. she talks. iconic. πŸ’…

πŸŽ€ OPTIONS πŸŽ€

  • -d, --dump-disassembly <file> β€” dumps the disassembly to the given file (standard out if file is omitted). no file? it just yells into stdout, we love a flexible queen πŸ’–
  • -g, --dump-graph <file> β€” dumps the control flow graph, in dot(1) format, to the given file (standard out if file is omitted). pretty graph time 🌈
  • -D, --only-disassembly β€” stops after disassembly; implies -d. she's done, she's leaving πŸšͺ
  • -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. the forgotten ones πŸ‘»
  • -s, --no-stack-effect β€” leaves out the stack effect when printing raw instructions.
⚠️ okay listen up because this one matters: note that -d or -g without arguments must not be specified immediately before the input file. like. do not do that. the parser will simply not vibe with it. 😭

πŸ’œ 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 scummvm-tools version 2.0.


and that's the whole page, bestie 🫢 it came from the scummvm-tools girlies and it's dated December 9, 2017 β€” old but gold, fr fr. now go decompile something cute πŸ’…βœ¨πŸŽ€