Papyrus Assembler

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

The Papyrus Assembler is a command utility used to assemble or disassemble Script Files. The program will take assembly *.pas files and convert them into executable *.pex files, a format that Fallout 4 can understand. The program also has the ability to convert an executable *.pex file into an assembly *.pas file. This utility is included with the Creation Kit and can be found in ...\Steam\SteamApps\common\Fallout 4\Papyrus Compiler\PapyrusAssembler.exe.

Usage[edit | edit source]

The help command argument will print usage information.

PapyrusAssembler.exe -?.

Papyrus Assembler Version 2.7.0.2 for Fallout 4
Copyright (C) ZeniMax Media. All rights reserved.
Usage:
PapyrusAssembler object [-D] [-V] [-Q] [-A] [-S] [-?]

  object  Specifies the object to be assembled or disassembled. Assembly looks
          for a ".pas" extension. Disassembly looks for a ".pex" extension.
  -D      Disassembles the object, instead of assembling it.
  -V      Turns on verbose mode.
  -Q      Turns on quiet mode. (No status messages, only errors)
  -A      Do not assemble/disassemble the file, just load and analyze.
  -S      Strips debugging info from a compiled file. Cannot be used with -A or -D
  -?      Prints this usage information

Notes[edit | edit source]

None

See Also[edit | edit source]