Aarondhp24 Posted March 6, 2012 Share Posted March 6, 2012 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.flgNo 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>PausePress 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 More sharing options...
Aarondhp24 Posted March 6, 2012 Author Share Posted March 6, 2012 Here's the location of the TESV_Papyrus_Flags.flg file. Link to comment Share on other sites More sharing options...
fg109 Posted March 6, 2012 Share Posted March 6, 2012 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. Link to comment Share on other sites More sharing options...
flobalob Posted March 6, 2012 Share Posted March 6, 2012 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 More sharing options...
Aarondhp24 Posted March 6, 2012 Author Share Posted March 6, 2012 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 More sharing options...
tunaisafish Posted March 6, 2012 Share Posted March 6, 2012 @flobalob, I and others tried that too but ran into trouble later on down the line.I have separate folders now too, but had to adopt a diff method.The discussion is on the Beth forums Link to comment Share on other sites More sharing options...
wilting Posted April 30, 2012 Share Posted April 30, 2012 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 More sharing options...
fg109 Posted April 30, 2012 Share Posted April 30, 2012 When you name your file, end it with .psc Link to comment Share on other sites More sharing options...
wilting Posted April 30, 2012 Share Posted April 30, 2012 haha, thanks. Am I stupid or what. Link to comment Share on other sites More sharing options...
iceburg Posted April 4, 2013 Share Posted April 4, 2013 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 More sharing options...
Recommended Posts