A little late, but to install blu3mania's updated version, it's native to the plugins admin of Notepad++ version 8+. You don't even need to go to github for it.
Just open Notepad++, go to Plugins - Plugins Admin..., then search for "Papyrus Script Lexer", tick it, then click Install. Notepad++ will automatically download and install it, restart itself, and when it reopens it will have been installed. Once it's installed, it's just a matter of going to the Languages menu and selecting Papyrus Script from the dropdown.
Does it find my skyrim game file automatically, or do I have to manually enter that in? [edit, it did, I had to go to notepad++ > plugins > papyrus > settings > skyrim se/ae and there it was]
I am getting the Notepad++ crash when I try to compile a script with errors. I am running the latest Notepad++ x64 and latest version of PapyrusPlusPlus, running N++ as Administrator. I can open the script in the CK and compile it (fail) and see the errors, but as I say if I try to compile in N++ the application crashes with no specific message and in the background I can still see "Compiling..." in the bottom left.
i'm getting the notepad crashing too whenever i try to compile any psc. using latest notepad++ (8. somethin) and vers 1.0 of the newest version of this, that's supposed to work w/ new notepad... newer vers that supposed to work w/ newest notepad++https://github.com/b...ases/tag/v1.0.0links are in these very threads. anyone know why ctd? permissions?
Install Guide December 2021: *UPDATED NOV 2023*. Posting this as helper and reminder for myself.
1- Download 'PapyrusPlusPlus Installer(x64)' for the files section here.
2- Get v7.4.2 of Notepad++ (needs to be 4.6.2 for this Skyrim 'PapyrusPlusPlus' to work. (Later versions of Notepad++ will require updated, see comment by 'Scruff777' below.) You Can use Notepad++ Portable or Installer. ...thanks to limorkil1 for the file repository.
Install Notepad++.
3 - Run 'PapyrusPlusPlus Installer(x64)'. (Can be run from anywhere..) It'll ask you to Navigate and install where Notepad++ is.
4 - Go to your 'C:\Program Files\Notepad++' ... see the Papyrus.dll file there? Well it needs to be in a FOLDER called 'Papyrus++'. So create new folder and put a copy of Papyrus.dll in there...(thanks to martlart for that)
5-Run Notepad++. It should now immediately ask for paths setup.
- For Fallout, use these paths ...thanks to werr92 for this time saver. nb: * dont COPY/PASTE HIS EXACT ones in his comment, theyre not 100% correct! The Correct paths are:
(Top box) C:\Program Files (x86)\Steam\steamapps\common\Fallout 4\Papyrus Compiler\PapyrusCompiler.exe (When you ran the 'PapyrusPlusPlus Installer(x64)' installer, it put a 'Papyrus Compiler' folder in 'steam\common\Fallout 4'. This is where the compiler is.)
6- Find and Change the Notepad++.exe properties, click compatibility at the top, then run in compatibility for windows 7. (...thanks to Ryyz for this) 7- Start Notepad and test by typing any text into a new blank doument, and hit compile - It may start download some Windows missing .NET files. 8- (optional) Install Autocomplete by going to here: https://gist.githubusercontent.com/st4rdog/3470de541941d3e9b5b1/raw/02be3fa5e622535243b02e34cacdd7e79f2421e5/papyrus.xml and copy/paste into new notepad file. Save as 'Papyrus.xml' into 'C:\Program Files\Notepad++\plugins\APIs' folder. (nb: You will need to create this 'APIs' folder AND make sure you run Notepad++ as Admin, to be able to save this.)
So now you can compile any scripts you make. But how do you DECOMPILE another mods script that only comes as a .pex ?
9- ..by installling Champollion from here: https://www.nexusmods.com/fallout4/mods/3742?tab=posts Download and extract and you will only see a .exe. To actually use it/decompile a .pex file, you DRAG THE PEX file you want to decompile ONTO THE .exe itself. It'll spit out a .psc version to open in Notepad++. ( Massive thanks to Orvid for his hard work making this, thank you! )
Massive thanks to all who posted with install help, its a total head melter, and ofc thanks to Tschilkroete for his hard work.
I realize you asked this several months ago, but on the off chance you're still wondering I've been using it for fallout 4 with no problems for a few weeks now.
7.4.2 works, but you HAVE to ensure all the base scripts and SDK files are in your scripts to folder. Unzip the Scripts.zip folder, ensure the SkyUI SDK is installed in the scripts folder, ensure FISS or FISSES (for SE) is in your scripts folder. Otherwise, the compile will just hang in Notepad++.
123 comments
Just open Notepad++, go to Plugins - Plugins Admin..., then search for "Papyrus Script Lexer", tick it, then click Install. Notepad++ will automatically download and install it, restart itself, and when it reopens it will have been installed. Once it's installed, it's just a matter of going to the Languages menu and selecting Papyrus Script from the dropdown.
Does it find my skyrim game file automatically, or do I have to manually enter that in?
[edit, it did, I had to go to notepad++ > plugins > papyrus > settings > skyrim se/ae and there it was]
*UPDATED NOV 2023*. Posting this as helper and reminder for myself.
1- Download 'PapyrusPlusPlus Installer(x64)' for the files section here.
2- Get v7.4.2 of Notepad++ (needs to be 4.6.2 for this Skyrim 'PapyrusPlusPlus' to work.
(Later versions of Notepad++ will require updated, see comment by 'Scruff777' below.)
You Can use Notepad++ Portable or Installer. ...thanks to limorkil1 for the file repository.
Install Notepad++.
3 - Run 'PapyrusPlusPlus Installer(x64)'. (Can be run from anywhere..)
It'll ask you to Navigate and install where Notepad++ is.
4 - Go to your 'C:\Program Files\Notepad++' ... see the Papyrus.dll file there?
Well it needs to be in a FOLDER called 'Papyrus++'. So create new folder and put a copy of Papyrus.dll in there...(thanks to martlart for that)
5-Run Notepad++. It should now immediately ask for paths setup.
- For Fallout, use these paths ...thanks to werr92 for this time saver. nb: * dont COPY/PASTE HIS EXACT ones in his comment, theyre not 100% correct! The Correct paths are:
(Top box)
C:\Program Files (x86)\Steam\steamapps\common\Fallout 4\Papyrus Compiler\PapyrusCompiler.exe
(When you ran the 'PapyrusPlusPlus Installer(x64)' installer, it put a 'Papyrus Compiler' folder in 'steam\common\Fallout 4'. This is where the compiler is.)
>Import directories (One per line):
C:\Program Files (x86)\Steam\steamapps\common\Fallout 4\Data\Scripts\Source\User
C:\Program Files (x86)\Steam\steamapps\common\Fallout 4\Data\Scripts\Source\Base
>Output directory:
C:\Program Files (x86)\Steam\steamapps\common\Fallout 4\Data\Scripts
>Flag file:
Institute_Papyrus_Flags.flg
6- Find and Change the Notepad++.exe properties, click compatibility at the top, then run in compatibility for windows 7. (...thanks to Ryyz for this)
7- Start Notepad and test by typing any text into a new blank doument, and hit compile - It may start download some Windows missing .NET files.
8- (optional) Install Autocomplete by going to here:
https://gist.githubusercontent.com/st4rdog/3470de541941d3e9b5b1/raw/02be3fa5e622535243b02e34cacdd7e79f2421e5/papyrus.xml
and copy/paste into new notepad file. Save as 'Papyrus.xml' into 'C:\Program Files\Notepad++\plugins\APIs' folder.
(nb: You will need to create this 'APIs' folder AND make sure you run Notepad++ as Admin, to be able to save this.)
So now you can compile any scripts you make.
But how do you DECOMPILE another mods script that only comes as a .pex ?
9- ..by installling Champollion from here: https://www.nexusmods.com/fallout4/mods/3742?tab=posts
Download and extract and you will only see a .exe. To actually use it/decompile a .pex file, you DRAG THE PEX file you want to decompile ONTO THE .exe itself. It'll spit out a .psc version to open in Notepad++. ( Massive thanks to Orvid for his hard work making this, thank you! )
Massive thanks to all who posted with install help, its a total head melter, and ofc thanks to Tschilkroete for his hard work.
installed to \Program Files\Notepad++\ autoCompletion\Papyrus Script.xml but the suggestions don't come up when I start typing.
npp v8.4.2, npp-papyrus v0.4.0
Can anyone help?
for downgrading if you do update :)
EDIT: Papyrus++.dll needs to be in a papyrus++ folder on at least the newest version of notepad. This was my issue.