Jump to content

Recommended Posts

Posted

I cant seem to compile any scripts either in CK or by using a batch file in the Papyrus Compiler folder. The TESV_Papyrus_Flags.flg file should be about 400kb with all the flags in it such as Globals etc but its only 1kb. I downloaded and installed CK on another computer and its still only 1kb its like its just a stub. According to chatgpt there should possibly be another folder called "include" with .inc files to work alongside the compiler with the flags in it but theres nothing.  Any ideas whats going on ? Or where i can get a complete TESV_Papyrus_Flags.flg file or this "include" folder that chatgpt mentions. Because i cant see how i can .pex my scripts otherwise ? Tia.

Posted

The "The TESV_Papyrus_Flags.flg" error means you either have not unpacked the Scripts archive or have an incorrect directory structure so the sources files are not were the compiler expects them to be. 

  1. The Scripts archive comes with creation kit, that contain the Compiler Source Codes in found in the Data Folder
  2. Take note of Directory Structure for the psc extension, if is different for LE & SE
  3. Unpack it like Manual Mod in the real Data Folder, overwriting all if applicable!!
  4. If SKSE was installed to REAL DATA FOLDER  it needs to be reinstalled, overwriting all
    1. If nothing gets overwritten, something wrong..
  5. Make sure any added mod source files from this point on matches that directory structure for psc

If you do not get it right and return with I unpacked it and it still does not compile..  check the dependencies file structure, they may have the incorrect structure  for your version of the game, like in step 2 and 5

 

Creation Kit Wiki

Quote

This seems to be due to the new update it has removed the loose papyrus source files and placed them in a .rar file ("scripts.rar") in the base Data folder of the Skyrim installation. You'll have to extract the rar back into their original folder again for CK to work correctly.

Note SE has a Script.zip instead, that for LE

Posted
6 hours ago, PeterMartyr said:

The "The TESV_Papyrus_Flags.flg" error means you either have not unpacked the Scripts archive or have an incorrect directory structure so the sources files are not were the compiler expects them to be. 

  1. The Scripts archive comes with creation kit, that contain the Compiler Source Codes in found in the Data Folder
  2. Take note of Directory Structure for the psc extension, if is different for LE & SE
  3. Unpack it like Manual Mod in the real Data Folder, overwriting all if applicable!!
  4. If SKSE was installed to REAL DATA FOLDER  it needs to be reinstalled, overwriting all
    1. If nothing gets overwritten, something wrong..
  5. Make sure any added mod source files from this point on matches that directory structure for psc

If you do not get it right and return with I unpacked it and it still does not compile..  check the dependencies file structure, they may have the incorrect structure  for your version of the game, like in step 2 and 5

 

Creation Kit Wiki

Note SE has a Script.zip instead, that for LE

I found the  Script.zip. "Unpack it like Manual Mod in the real Data Folder, overwriting all if applicable!!"    Is that in the Data\Scripts\source folder ? Tia

Posted

The Script.zip file should be by default found in the data folder.  Simply extract in place.  The necessary folder structure is already built into the zip file.   Once extracted you should have:

  • For SE / AE: Data > Source > Scripts > PSC files
  • For LE: Data > Scripts > Source > PSC files & sub-folders for DLC PSC files
  • Recently Browsing   0 members

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