Difference between revisions of "Papyrus Compiler"

2 bytes added ,  16:30, 6 December 2018
no edit summary
imported>Qazaaq
(Changed page name, added to tooling category, added internal links, and some details.)
imported>Qazaaq
 
Line 1: Line 1:
The [[Papyrus Compiler]] is a command line utility used to compile [[Script File]]s.
The [[Papyrus Compiler]] is a command line utility used to compile [[Script File]]s.
The program will take 'source' <code>*.psc</code> files and convert them into executable <code>*.pex</code> files, a format that Fallout 4 can understand.  
The program will take ''source'' <code>*.psc</code> files and convert them into executable <code>*.pex</code> files, a format that Fallout 4 can understand.  
During the process it will check your scripts for a wide range of [[Papyrus Compiler Errors|errors]], and report them to you.  
During the process it will check your scripts for a wide range of [[Papyrus Compiler Errors|errors]], and report them to you.  
All Papyrus scripts must be compiled before they can be used in the game.
All Papyrus scripts must be compiled before they can be used in the game.
Line 8: Line 8:
== Running the compiler ==
== Running the compiler ==
=== In the Creation Kit ===
=== In the Creation Kit ===
The easiest way to run the compiler is to have the [[Creation Kit]] do the compilation for you via the [[Papyrus Script Manager]].  
The easiest way to run the compiler is to have the [[Creation Kit]] do the compilation for you via the [[Papyrus Manager Window]].  
Simply right-clicking on a script and selecting "Compile" will compile the script and show you any errors reported.
Simply right-clicking on a script and selecting "Compile" will compile the script and show you any errors reported.


Anonymous user