Hello All,
So I've been having a little bit of difficulty working on my Skyrim mod since I swapped over the MOD files to my new development machine. For some reason I can't seem to compile any of my scripts. Upon doing some reading, I found several posts discussing this issue, namely the following two posts on the Nexus forums:
Starting 1 compile threads for 1 files...Compiling "MOD1RestorationLogScript"...(0,0): Unable to find flags file: TESV_Papyrus_Flags.flgE:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\MOD1RestorationLogScript.psc(0,0): unable to locate script ObjectReferenceE:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\MOD1RestorationLogScript.psc(3,25): unknown type objectreferenceE:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\MOD1RestorationLogScript.psc(5,25): unknown type objectreferenceE:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\MOD1RestorationLogScript.psc(10,16): variable Motion_Keyframed is undefinedE:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\MOD1RestorationLogScript.psc(10,2): SetMotionType is not a function or does not existE:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\MOD1RestorationLogScript.psc(13,33): unknown type objectreferenceE:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\MOD1RestorationLogScript.psc(14,15): variable Game is undefinedE:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\MOD1RestorationLogScript.psc(14,20): none is not a known user-defined typeE:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\MOD1RestorationLogScript.psc(14,35): IsActivationBlocked is not a function or does not existE:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\MOD1RestorationLogScript.psc(17,1): variable Utility is undefinedE:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\MOD1RestorationLogScript.psc(17,9): none is not a known user-defined typeE:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\MOD1RestorationLogScript.psc(20,41): unknown type objectreferenceE:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\MOD1RestorationLogScript.psc(20,71): unknown type objectreferenceE:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\MOD1RestorationLogScript.psc(21,22): variable Game is undefinedE:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\MOD1RestorationLogScript.psc(21,27): none is not a known user-defined typeE:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\MOD1RestorationLogScript.psc(22,1): variable Debug is undefinedE:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\MOD1RestorationLogScript.psc(22,7): none is not a known user-defined typeE:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\MOD1RestorationLogScript.psc(23,1): variable Game is undefinedE:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\MOD1RestorationLogScript.psc(23,6): none is not a known user-defined typeE:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\MOD1RestorationLogScript.psc(23,18): none is not a known user-defined typeE:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\MOD1RestorationLogScript.psc(24,1): MoveTo is not a function or does not existNo output generated for MOD1RestorationLogScript, compilation failed.Batch compile of 1 files finished. 0 succeeded, 1 failed.Failed on MOD1RestorationLogScript
From these posts and some reading, I have discovered that I did not have a TES_Papyrus_Flags file, so I downloaded one from the nexus. I put this file where it should go (in the Steam/.../Skyrim/Papyrus Compiler/) directory.
After I added this... nothing changed. I got the same input as above.
After that I read somewhere about editing the "scriptcompiler.bat" I edited the ScriptCompile.bat in the Papyrus Compiler folder to look something like this:
ScriptCompile.bat
"E:\Program Files (x86)\Steam\steamapps\common\Skyrim\Papyrus Compiler\PapyrusCompiler.exe" %1 -f="E:\Program Files (x86)\Steam\steamapps\common\Skyrim\Papyrus Compiler\TESV_Papyrus_Flags.flg" -i="E:\Program Files (x86)\Steam\steamapps\common\Skyrim\Data\Scripts\Source" -o="E:\Program Files (x86)\Steam\steamapps\common\Skyrim\Data\Scripts"pause
I was fairly sure that this would work, because I am confident that my issue rests in the fact that before I was developing my mod purely on machines with a single hard drive. I have always had Skyrim installed in the default installation directory (on the C: drive), but on my new machine, I have Skyrim installed on my secondary HDD (known to windows as drive E:\.
I was wondering if anyone knows where I may have gone wrong, or how to properly point the ScriptCompile.bat to the correct location who could possibly help me. Or tell me that I have it all wrong and that the root cause is something else.
I'd really appreciate some help on this. Thanks all