Jump to content

Papyrus/Notepad++ Setup issues.


Aarondhp24

Recommended Posts

I've been trying to setup Notepad++ using the wiki tutorial but I keep getting a weird error message when I run the compiler manually.

 

<unknown>(0,0): unable to locate script -f=TESV_Papyrus_Flags.flg

No output generated for -f=TESV_Papyrus_Flags.flg, compilation failed.

 

batch compile of 1 files finished. 0succeeded, 1 failed.

Failed on -f=TESV_Papyrus_Flags.flg

 

C:/Program Files (x86)\Steam\SteamApps\common\skyrim\Papyrus Compiler>Pause

Press any key to continue.

 

The "TESV_Papyrus_Flags.flg" is located in my data\scripts\source folder along with all the other .psc files that should be compiling.

 

What am I doing wrong?

 

I'll include screenshots of all my shortcuts just in case I'm missing a small step.

Link to comment
Share on other sites

Or tell it where else to look. Here's my batch file

 

"G:\Steam\SteamApps\Common\Skyrim\Papyrus Compiler\PapyrusCompiler.exe" %1 -f="TESV_Papyrus_Flags.flg" -i="G:\Steam\SteamApps\Common\Skyrim\Data\Scripts\Source;G:\Steam\SteamApps\Common\Skyrim\Data\Scripts\MyScripts" -o="G:\Steam\SteamApps\Common\Skyrim\Data\Scripts"

Pause

 

As you can see I created a directory just for my scripts, seperate from the Bethesda ones. Makes them easy to find :)

Link to comment
Share on other sites

Or tell it where else to look. Here's my batch file

 

"G:\Steam\SteamApps\Common\Skyrim\Papyrus Compiler\PapyrusCompiler.exe" %1 -f="TESV_Papyrus_Flags.flg" -i="G:\Steam\SteamApps\Common\Skyrim\Data\Scripts\Source;G:\Steam\SteamApps\Common\Skyrim\Data\Scripts\MyScripts" -o="G:\Steam\SteamApps\Common\Skyrim\Data\Scripts"

Pause

 

As you can see I created a directory just for my scripts, seperate from the Bethesda ones. Makes them easy to find :)

 

I like this idea and I'm going to employ it. I found out by contacting Mark Hannah the author of the tutorial I was following, that I had linked my shortcut to the compiler directly instead of the .bat file. Once I corrected this it all compiled nicely. Thank you for the tips. They all helped me look where I wasn't thinking to.

Link to comment
Share on other sites

  • 1 month later...

Might as well resurrect this thread as start my own.

 

I'm having the same error as the OP and I figured the problem was that the script had to be saved as a .psc file. Except I can't do that using Notepad++. How do I save as a .psc file?

Link to comment
Share on other sites

  • 11 months later...

I've set up compiling for Notepad ++ as well and it compiles my script fine / works in game. However, there seems to be no error reporting, the script compiles no matter what, even when I've intentianally written in errors. Is there anything I can do to add error reporting? I don't feel safe without that safety net.
Thanks!
Ice

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...