Difference between revisions of "Papyrus Compiler Reference"

103 bytes added ,  23:03, 6 February 2012
imported>Jlundin
(Created page with "== What is the compiler? == The compiler is a program that takes the script file you write (the .psc file) and converts it to a format that the game can understand (the .pex file...")
 
imported>SLiesegang
Line 10: Line 10:


=== Outside the Creation Kit ===
=== Outside the Creation Kit ===
Power-users may want to execute the compiler via the command line, or via a batch file, or even through your favorite text editor. In order to do so, you'll want to run the PapyrusCompiler.exe inside the "Papyrus Compiler" folder, which can be found in the location where you installed the editor. Of course, you'll need to specify a series of command line arguments to tell it what to do. If you run the compiler without any command line parameters, or with erroneous ones, it will spit out a set of help text to remind you what they are.
Power-users may want to execute the compiler via the command line, or via a batch file, or even through your favorite text editor (we provide setup directions for [[Sublime_Text_Setup|Sublime Text]] and [[Notepad++_Setup|Notepad++]]. In order to do so, you'll want to run the PapyrusCompiler.exe inside the "Papyrus Compiler" folder, which can be found in the location where you installed the editor. Of course, you'll need to specify a series of command line arguments to tell it what to do. If you run the compiler without any command line parameters, or with erroneous ones, it will spit out a set of help text to remind you what they are.


The very first thing you pass to the compiler is the name of the script (or folder, if you're using the -all flag) to compile.
The very first thing you pass to the compiler is the name of the script (or folder, if you're using the -all flag) to compile.
Anonymous user