Jump to content

Recommended Posts

Posted

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.

Posted
The compiler looks in the ...\Data\Scripts\Source folder for the script to compile. So you need to save your script as a .psc file inside the source folder before trying to compile it.
Posted

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 :)

Posted
  On 3/6/2012 at 2:16 AM, flobalob said:

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.

  • 1 month later...
Posted

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?

  • 11 months later...
Posted

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

  • Recently Browsing   0 members

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