Modhold
Skyrim SE
Freev1.3.2

Champollion (PEX decompiler)

A PEX to Papyrus Decompiler for Skyrim, Fallout 4 and Starfield

Orvid3 @OrvidCredited author
Sign in to download One-click install with the free Modhold app. Get the app
Share
X Facebook Reddit

Sign in to get 25 XP when someone opens your link.

1Unique downloads
42kDownloads, all sites
16Views
0Vouches
–no scores yetScore
Shared under its open licence (LGPL-3.0)
Made by Orvid. Its licence lets anyone share it, with credit. See the proof · Original page · Are you Orvid?

Champollion

Champollion is a decompiler for the Papyrus script language used in Skyrim, Fallout 4, Fallout 76, and Starfield. It aims to produce a Papyrus Script file (.psc) from a .pex binary file. The decompiled script should recompile to a functionally equivalent PEX binary.

Usage

Champollion is a CLI-only program.

Parameters

Champollion [-p ] [-a []] [-c] [-t]

Short Long Description
-p output directory --psc output directory Set the output directory, where Champollion will write the decompiled files
-a [assembly directory] --asm [assembly directory] Champollion will write an assembly version of the PEX file in the given directory, if one. The assembly file is an human readable version of the content of the PEX file
-c --comment The decompiled file will be annotated with the assembly instruction corresponding to the decompiled code lines.
-t --threaded Champollion will parallelize the decompilation. It is useful when decompiling a directory containing many PEX files.
-r --recursive Recursively scan specified directory(s) for pex files to decompile
-s --recreate-subdirs Recreates directory structure for script in root of output directory (Fallout 4 only, default false)
-e --header Write header to decompiled psc file
-g --trace Trace the decompilation and output results to rebuild log
--no-dump-tree Do not dump tree for each node during decompilation tracing (requires --trace)
--debug-funcs Decompile inoperative debug and compiler-generated functions (default false)
--no-debug-line Do not comment with debug info line numbers on script lines (default false)
-i --print-info Print header info from the specified PEX file(s) and exit
--print-compile-time Print the compile time of the script in format of {filename}: {time_integer} and exit
-v --verbose Verbose output
-V --version Output version number
-h --help Print help message

Build Dependencies

  • Boost (installable through vcpkg)
  • CMake
  • A C++17 compiler (for Windows you need at least Visual Studio 2019)

Copyright

Copyright (c) 2022 Nikita Lita

Copyright (c) 2015 Orvid King

Copyright (c) 2013 Paul-Henry Perrin

See LICENSE for the LGPL V3 license.

Install

Unzip it into its own folder anywhere (not inside the game's Data folder) and run it. If you use MO2, add it as an executable so it sees your load order.

New to Skyrim mods? Read how to install Skyrim mods, or see the best Skyrim mods players pick.

Credits

Orvid and the contributors on GitHub. Original page: https://github.com/Orvid/Champollion

Permissions

Open licence: LGPL-3.0. Source code: https://github.com/Orvid/Champollion. Original page: https://github.com/Orvid/Champollion. Shared on Modhold under that licence and credited to its authors; the files are the author's own release, unchanged.

Permission proof

Why this mod is on Modhold

The mod's original page, where it says what the mod is:

The top of the mod's original page: its name, author and details

This mod is released under an open licence, LGPL-3.0, which lets anyone share it as long as its authors are credited and the licence comes with it. Its source code: github.com/Orvid/Champollion · The licence

Captured 20 Nov 2026 from the original page. The author can claim this page, or have it taken down, at any time.