Notepad++ Papyrus Compiler Setup Help

Post » Sun Aug 18, 2013 3:53 am

I tried to follow the directions in the wiki for setting up the papyrus compiler in notepad ++, but my filepath is different (I installed steam in C:/Game/Steam...)
Update:
So I got it to the correct directory now (using a bunch of cd commands) so now the compiler runs, but it tells me that I am missing arguments and folder names. I'm not sure how to include those in the batch file code.
Update #2...
This seems to get me something after adding a folder with my file in it to the compiler directory...
cd..
cd..
cd Game
cd Steam
cd SteamApps
cd Common
cd Skyrim
cd Papyrus Compiler
PapyrusCompiler.exe CompileFolder -all
pause
Now I get this output in the cmd.exe:
Starting 1 compile threads for 1 files...
Compiling "omz001"
<0,0>: unable to locate script omz001
No output generated for omz001.psc, compilation failed.
Failed on omz001.psc

Any tips?

User avatar
Rich O'Brien
 
Posts: 3381
Joined: Thu Jun 14, 2007 3:53 am

Post » Sun Aug 18, 2013 5:14 am

My .bat for notepad++ looks like this:

"C:\Program Files (x86)\Steam\The Elder Scrolls V- Skyrim\Papyrus compiler\PapyrusCompiler.exe" %1 -f="TESV_Papyrus_Flags.flg" -i="C:\Program Files (x86)\Steam\The Elder Scrolls V- Skyrim\Data\Scripts\Source" -o="C:\Program Files (x86)\Steam\The Elder Scrolls V- Skyrim\Data\Scripts"pause

Just 2 lines.

I put my script files directly in the folder data\scripts\source.

%1 will be replaced by notepad++ with your script

-f is for the script flags

-i is the input/include directory with the other source scripts

-o is the output directory, where the compiled scripts wil be stored

User avatar
Josh Sabatini
 
Posts: 3445
Joined: Wed Nov 14, 2007 9:47 pm


Return to V - Skyrim