Compile Script Error

Post » Wed Jun 29, 2016 8:09 pm

I've worked all day to try to get this to work without any luck. I'm at a loss of what to do now so I'm turning the to community!



Note: I'm using Mod Organizer and run the CK through it.



Any time I try to compile or create a script in the CK I am faced with the following:



Starting 1 compile threads for 1 files...
Compiling "TestingScriptBug"...
(0,0): Unable to find flags file: TESV_Papyrus_Flags.flg
(0,0): unable to locate script TestingScriptBug
No output generated for TestingScriptBug, compilation failed.

Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on TestingScriptBug

Here's what I've done to try to fix this issue:


  • Changed the ScriptCompile.bat file to point to the correct paths on my system.

  • Verified local cache for the CK

  • Set up Notepad++ to compile the scripts out of the CK...still faced with the same issue...

  • Set up Notepad++ with the advanced compile script on the tutorial here: http://www.creationkit.com/index.php?title=Notepad%2B%2B_Setup#Advanced_Compiler...same issue...

User avatar
Daddy Cool!
 
Posts: 3381
Joined: Tue Aug 21, 2007 5:34 pm

Post » Wed Jun 29, 2016 2:02 pm

It looks like you didn't extract the source scripts from the Scripts.rar file in your Skyrim\Data folder. With one of the last (maybe the last) updates to the CK they packaged all of the source scripts into an archive instead of distributing them as individual files. Unfortunately what to do about that is not as well documented as it should be. TESV_Papyrus_Flags.flg is one of the files in that archive and should end up in the Skyrim\Data\Scripts\Source folder.

User avatar
Lawrence Armijo
 
Posts: 3446
Joined: Thu Sep 27, 2007 7:12 pm

Post » Wed Jun 29, 2016 1:16 pm


You were correct. I had not done that. Hours of searching Google and the CK Wiki and I never came across that information. That worked for the flag error. However, I'm still left with this:



Starting 1 compile threads for 1 files...
Compiling "HCJaggarsfeldQuestComplete"...
(0,0): unable to locate script HCJaggarsfeldQuestComplete
No output generated for HCJaggarsfeldQuestComplete, compilation failed.
Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on HCJaggarsfeldQuestComplete

This is given when trying to add a new script in the CK. The same message appears in Notepad++ when compiling.



It is writing the .psc file into the source folder but no .pex files.

User avatar
Rude_Bitch_420
 
Posts: 3429
Joined: Wed Aug 08, 2007 2:26 pm

Post » Wed Jun 29, 2016 11:54 am

I have no clue as to the cause, but it seems that this workaround by Darkfox127 allows me to compile the script as long as I create the source file first: https://www.youtube.com/watch?v=BBBASdwXi_o

User avatar
Tanya Parra
 
Posts: 3435
Joined: Fri Jul 28, 2006 5:15 am

Post » Thu Jun 30, 2016 4:07 am

Wow....after a day of trying to fix this issue I finally have it working... :rock:



I finally broke down, backed everything up, uninstall the CK and all its files, and re-installed it. This seems to have fixed the issue. This tool makes me want to pull my hair out! :banghead: I can't imagine having to design the entire game using it!

User avatar
rebecca moody
 
Posts: 3430
Joined: Mon Mar 05, 2007 3:01 pm


Return to V - Skyrim