Jump to content

Help with compiling scripts


chipstick

Recommended Posts

Posted

Hello, anyone who might care to read this.

 

I'm a user with limited modding skills - I can mostly mess around with weapon and armor properties in TESEdit, edit some dialogue, merge plugins... + some tiny success in modifying scripts despite zero scripting skills. Just putting this out there, because mayhaps what I'm asking is stupidly basic.

 

In the past I managed to edit a script from deviously cursed loot (v5.4) using script compiler pro: http://www.nexusmods.com/skyrim/mods/60575/?

 

Decided to upgrade to 5.7, tried to edit and compile the script - no dice. If anyone recognises the nature of the error from the log below, I'd love to know about it; would really appreciate a pointer to get me started on fixing this. The errors reference zbfsexlab.psc, zadboundcombatscript.psc + some other zad psc files.

 

I can't even compile the unchanged source script on its own, so nothing to do with my modest changes (they're pretty uncomplicated).

 

Thanks heaps anyone who might help.

 

Error log included below:

 

 

 

C:\Program Files (x86)\Steam\SteamApps\common\skyrim\Data\Scripts\Source\zbfSexLab.psc(3782,0): the parameter types of function log in the empty state on script zbfsexlab do not match the parent script sslanimationfactory

C:\Program Files (x86)\Steam\SteamApps\common\skyrim\Data\Scripts\Source\zadBoundCombatScript.psc(153,82): cannot convert to unknown type fnissmconfigmenu

C:\Program Files (x86)\Steam\SteamApps\common\skyrim\Data\Scripts\Source\zadBoundCombatScript.psc(153,82): cannot cast a form to a fnissmconfigmenu, types are incompatible

C:\Program Files (x86)\Steam\SteamApps\common\skyrim\Data\Scripts\Source\zadBoundCombatScript.psc(153,20): unknown type fnissmconfigmenu

C:\Program Files (x86)\Steam\SteamApps\common\skyrim\Data\Scripts\Source\zadBoundCombatScript.psc(154,19): fnissmconfigmenu is not a known user-defined type

C:\Program Files (x86)\Steam\SteamApps\common\skyrim\Data\Scripts\Source\zadBoundCombatScript.psc(154,31): none is not a known user-defined type

C:\Program Files (x86)\Steam\SteamApps\common\skyrim\Data\Scripts\Source\zadBoundCombatScript.psc(154,7): type mismatch while assigning to a int (cast missing or types unrelated)

C:\Program Files (x86)\Steam\SteamApps\common\skyrim\Data\Scripts\Source\zadBoundCombatScript.psc(158,57): fnissmconfigmenu is not a known user-defined type

C:\Program Files (x86)\Steam\SteamApps\common\skyrim\Data\Scripts\Source\zadBoundCombatScript.psc(158,69): none is not a known user-defined type

C:\Program Files (x86)\Steam\SteamApps\common\skyrim\Data\Scripts\Source\zadBoundCombatScript.psc(158,12): type mismatch on parameter 3 (did you forget a cast?)

C:\Program Files (x86)\Steam\SteamApps\common\skyrim\Data\Scripts\Source\zadBQ00.psc(134,4): variable ConsoleUtil is undefined

C:\Program Files (x86)\Steam\SteamApps\common\skyrim\Data\Scripts\Source\zadBQ00.psc(134,16): none is not a known user-defined type

C:\Program Files (x86)\Steam\SteamApps\common\skyrim\Data\Scripts\Source\zadBQ00.psc(137,2): variable ConsoleUtil is undefined

C:\Program Files (x86)\Steam\SteamApps\common\skyrim\Data\Scripts\Source\zadBQ00.psc(137,14): none is not a known user-defined type

C:\Program Files (x86)\Steam\SteamApps\common\skyrim\Data\Scripts\Source\zadBQ00.psc(141,3): variable ConsoleUtil is undefined

C:\Program Files (x86)\Steam\SteamApps\common\skyrim\Data\Scripts\Source\zadBQ00.psc(141,15): none is not a known user-defined type

C:\Program Files (x86)\Steam\SteamApps\common\skyrim\Data\Scripts\Source\zadBQ00.psc(143,2): variable ConsoleUtil is undefined

C:\Program Files (x86)\Steam\SteamApps\common\skyrim\Data\Scripts\Source\zadBQ00.psc(143,14): none is not a known user-defined type

C:\Program Files (x86)\Steam\SteamApps\common\skyrim\Data\Scripts\Source\zadConfig.psc(598,4): variable ConsoleUtil is undefined

C:\Program Files (x86)\Steam\SteamApps\common\skyrim\Data\Scripts\Source\zadConfig.psc(598,16): none is not a known user-defined type

C:\Program Files (x86)\Steam\SteamApps\common\skyrim\Data\Scripts\Source\zadConfig.psc(600,3): variable ConsoleUtil is undefined

C:\Program Files (x86)\Steam\SteamApps\common\skyrim\Data\Scripts\Source\zadConfig.psc(600,15): none is not a known user-defined type

C:\Program Files (x86)\Steam\SteamApps\common\skyrim\Data\Scripts\Source\zadConfig.psc(603,16): variable ConsoleUtil is undefined

C:\Program Files (x86)\Steam\SteamApps\common\skyrim\Data\Scripts\Source\zadConfig.psc(603,28): none is not a known user-defined type

C:\Program Files (x86)\Steam\SteamApps\common\skyrim\Data\Scripts\Source\zadConfig.psc(603,7): type mismatch while assigning to a int (cast missing or types unrelated)

 

Starting 1 compile threads for 1 files...

Compiling "dcur_library"...

No output generated for dcur_library, compilation failed.

 

Batch compile of 1 files finished. 0 succeeded, 1 failed.

Failed on dcur_library

 

 

Posted

for compile a script you need the source code of all it's dependencies... devious cursed loot depend from Devious Devices and this depend from sexlab and SkyUi and fniss...

 

you need copy the source code of sexlab to your script directory.. open the zip file and extract all the *.psc.. same for Devious devices and integration and expansion... and fnis of course...

 

and last you need SkyUi... but the normal download not incude the necesary psc files.. you must download the SDK from https://github.com/schlangster/skyui/wiki

 

i have near 6.000 compiled scripts in SKYRIM\DATA\scripts but have near 13.000 psc files in the source folder... half of them are need for recompile some mods but not need the compiled pex because they come from the normal bsa of the mod... 

Posted

for compile a script you need the source code of all it's dependencies... devious cursed loot depend from Devious Devices and this depend from sexlab and SkyUi and fniss...

 

you need copy the source code of sexlab to your script directory.. open the zip file and extract all the *.psc.. same for Devious devices and integration and expansion... and fnis of course...

 

and last you need SkyUi... but the normal download not incude the necesary psc files.. you must download the SDK from https://github.com/schlangster/skyui/wiki

 

i have near 6.000 compiled scripts in SKYRIM\DATA\scripts but have near 13.000 psc files in the source folder... half of them are need for recompile some mods but not need the compiled pex because they come from the normal bsa of the mod... 

 

Hi GenioMaestro,

 

Thanks for your input. Unfortunately, that isn't the issue I'm facing... the scripts are there (I downloaded them all months ago when I first recompiled the scripts). Scriptcompiler is just throwing up feedback I don't understand.

Posted

"I downloaded them all months ago ..."

 

maybe this is exactly the issue... the dependent source files that you have month ago can be valid for recompile the version 5.4 but are NOT valid for the version 5.7

 

you must have the last version of DD Integration updated 09/19/2016 and must download and install ConsoleUtil that is a not specific requeriment.. but you need it for recompile zadLibs.psc

 

after sucessfull complile zadLibs.psc you can try compile dcur_library... that i say.. for compile dcur you need DD.. try compile DD before try compile dcur...

 

 

Starting 1 compile threads for 1 files...
Compiling "zadLibs"...
Starting assembly of zadLibs
0 error(s), 0 warning(s)
Assembly succeeded

Compilation succeeded.

Batch compile of 1 files finished. 1 succeeded, 0 failed.


Starting 1 compile threads for 1 files...
Compiling "dcur_library"...
Starting assembly of dcur_library
0 error(s), 0 warning(s)
Assembly succeeded

Compilation succeeded.

Batch compile of 1 files finished. 1 succeeded, 0 failed.

 

 

but i have problems with the soft dependencies related in dcur_skoomawhorelib, dcur_aradialib, dcur_cdlib and i must comment the code in theses files for compile dcur_library.. i think in an option for the compiler that i'm missing...

 

 

 

  • 2 months later...
Posted

Found it! I looked at the script in question, it was looking for stuff from "FNIS Sexy Move". If you didn't have it, no compile.
Solution: Comment out the entire contents of the function carrying the error. Problem solved.

Posted
The inclusion of other scripts is always very unpleasant, because it is not really necessary if MCM is already used.

If the script is only a request to a mod, you are lucky.

Otherwise, you can compile, but at some point your game may break.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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