Jump to content

Creation KIT on 1170 AE


Recommended Posts

  • 3 months later...
Posted (edited)

Hello

 

another question about psc compiling

 

I think the folder structure is good so "psc" files in data/sorce/scripts and also in data/scripts/source, "pex" file in data/scripts.

 

- I have got a random "psc" file from game (it doesen't matter which one) for example

- I'm trying (re)compile that file different way (in CK and with Notepad++)

- I have got a lot of error and compiling failed.

erros like this:

 

E:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PapyrusUtil.psc(170,25): CreateBoolArray is not a function or does not exist
E:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PapyrusUtil.psc(170,25): cannot call the member function CreateBoolArray alone or on a type, must call it on a variable
E:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\PapyrusUtil.psc(188,16): CreateBoolArray is not a function or does not exist

 

So question is.... it is a problem with some kind of INI settings? Or original file has errors...... and if its true, how could the original creator do it?

 

 

 

Edited by palracz
Posted (edited)

CreateBoolArray is defined in Utility.pex. Utility.pex is provided by SKSE. You've installed SKSE incorrectly.

 

4 hours ago, palracz said:

I think the folder structure is good so "psc" files in data/sorce/scripts and also in data/scripts/source

 

Sources can only exist in one directory. Decide which one you want to use. Set the path in CreationKit.ini. Then normalize all mods to use this directory that you've chosen.

Edited by traison
Posted (edited)
21 hours ago, traison said:

CreateBoolArray is defined in Utility.pex. Utility.pex is provided by SKSE. You've installed SKSE incorrectly.

 

 

Sources can only exist in one directory. Decide which one you want to use. Set the path in CreationKit.ini. Then normalize all mods to use this directory that you've chosen.

Thank u.... so SKSE is correct, "Current Anniversary Edition build 2.2.6 (game version 1.6.1170): Download 7z File" I'm using this one. I'll reinstal it anyway.

 

Am I decide? Some modder uses one and others uses other. At this time which is the default?

In default CK doesen't have path config in INI file. Can u describe the correct form because, I find diferent form on the Internet.

Edited by palracz
Posted
2 minutes ago, palracz said:

At this time which is the default?

 

Neither, the split is probably 50-50. I use the old path (i.e. Skyrim LE) only because the folder structure makes more sense.

 

[Papyrus]
sScriptSourceFolder = ".\Data\Scripts\Source"

 

Posted
4 minutes ago, palracz said:

Thank u.... so SKSE is correct, "Current Anniversary Edition build 2.2.6 (game version 1.6.1170): Download 7z File" I'm using this one. I'll reinstal it anyway.

 

Am I decide? Some modder uses one and others uses other. At this time which is the default?

In default CK doesen't have path config in INI file. Can u describe the correct form because, I find diferent form on the Internet.

Maybe u can put here your ini file for the reference

Posted
2 hours ago, palracz said:

can u compile this one

 

My SL is modified, and an older version.

 

Looking at the various Create*Array functions, there's nothing obviously wrong with them. You're just missing the source scripts for Utility.pex, NiOverride.pex and others.

 

The Papyrus compiler will look for these in the path defined in CreationKit.ini. If you're using MO2, the compiler has to run through MO2. The psc (source) files can't be hidden inside BSA archives or subfolders.

Posted
On 3/15/2025 at 7:48 PM, traison said:

 

My SL is modified, and an older version.

 

Looking at the various Create*Array functions, there's nothing obviously wrong with them. You're just missing the source scripts for Utility.pex, NiOverride.pex and others.

 

The Papyrus compiler will look for these in the path defined in CreationKit.ini. If you're using MO2, the compiler has to run through MO2. The psc (source) files can't be hidden inside BSA archives or subfolders.

Every files on the desired locations.... data/source/scripts so maybe the CK.ini is wrong. Could u copy yours here? I'm using MO2 but that cannot copy the files in game directly, so I did that.

Posted
41 minutes ago, palracz said:

Every files on the desired locations.... data/source/scripts

 

[Papyrus]
sScriptSourceFolder = ".\Data\Scripts\Source"

 

You're using the new standard, but specified the old standard in CreationKit.ini. Pick one, and normalize all mods to use it. Can't have both.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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