Jump to content

Compiling with Notepad++ ?


Zefaxet

Recommended Posts

Yeah, no matter what I do, I can't get the .bat to work. I refuses to find paths. However the scripts do seem to compile from the CK papyrus manager. I'm really confused as to why my .bat isn't working correctly. I've never had this kind of problem before, and I've been doing this for a while.

Link to comment
Share on other sites

In my CreationKitCustom.ini I have the folder for source files like this....


[Papyrus]

sScriptSourceFolder =Data\Scripts\Source\


Which works because I use the compiler from CK.


In Arthmoor's instructions he has it like this...


[Papyrus]

sScriptSourceFolder = ".\Data\Scripts\Source"


Which for the Bat file run from NP++ from the compiler folder would make sense - the ".\" would make it look up a level then down into the data folder.


Try that....
Link to comment
Share on other sites

  • 1 year later...

This is a year old and unresolved. I think I've figured it out:

Compile.bat

cd %2
"%~dp0PapyrusCompiler" %1 -f="TESV_Papyrus_Flags.flg" -i="%~dp0..\Data\Scripts\Source" -o="%~dp0..\Data\Scripts"
pause

F5 - Run command:

"D:\Program Files (x86)\Steam\steamapps\common\skyrim special edition\Papyrus Compiler\ScriptCompile.bat" "$(FILE_NAME)" "$(CURRENT_DIRECTORY)"

TESV_Papyrus_Flags.flg file belongs in /data/scripts/source. I'm getting source code compiler errors now but the compiler itself is working.

Edited by ManOfSteelMan
Link to comment
Share on other sites

  • Recently Browsing   0 members

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