thousande Posted December 25, 2017 Posted December 25, 2017 Hi I am trying to use the Papyrus compiler from the command line. After some fiddling (new to Windows) I have found using my variant of ScriptCompile.bat (copy from the Papyrus Compiler directory) to almost work. The issue is that the compiler tells me that the script/filename 'does not match script name' I understand that the script file and name must match.The output is: > filename does not match script name: "zz_testscript" expected: "User:ZZ_TestScript" So I see the compiler expects a User namespace(?) thing (and of-course the case insensitivity adds confusion) My custom script compile bat file "C:\Program Files (x86)\Steam\steamapps\common\Fallout 4\Papyrus Compiler\PapyrusCompiler.exe" %1 -f="C:\Program Files (x86)\Steam\steamapps\common\Fallout 4\Data\Scripts\Source\Base\Institute_Papyrus_Flags.flg" -i="C:\Program Files (x86)\Steam\steamapps\common\Fallout 4\Data\Scripts\Source" -o="C:\Program Files (x86)\Steam\steamapps\common\Fallout 4\Data\Scripts"pause The script compiles without errors from inside the CK I guess the problem here is the User namespace(?) thing. Is there something else I need to add to the setup? Thank you in advance! Best regardsT
thousande Posted December 25, 2017 Author Posted December 25, 2017 (edited) Solved! I had to set each -import directory instead of just generously setting the parent. Eg.: -i="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" Edited December 25, 2017 by thousande
Recommended Posts