iamzip Posted September 5, 2020 Posted September 5, 2020 Does anybody know how to create a dev environment that allows you to compile scripts that reference FrostUtil script? I've done a bit of digging and already got the source for SkyUI, Equipping Overhaul, Chesko's FallbackEventEmitter and CommonArrayHelper and everything else in that GitHub, Frostfall, Campfire, and PapyrusUtil, but even with all of this I get compiler errors like "LinkedArrayAddArmor is not a function or does not exist" (_frost_legacyarmordatastore.psc), and "AddInputOption is not a function or does not exist" (_camp_skyuiconfigpanelscript.psc). I'm trying to compile a 4 line script, including scriptname, that interfaces with FrostUtil to get the player exposure. Supposedly there was a dev kit for Frostfall at some point but the download link isn't working anymore.
iamzip Posted September 5, 2020 Author Posted September 5, 2020 Thanks for the quick reply. I tried that out and I'm still getting the same compiler errors, not sure what's going on.
Glanzer Posted November 20, 2020 Posted November 20, 2020 I'm having similar problems with the same errors. To get past the AddInputOption error you can download the SkyUI SDK.
hornykarl Posted April 18, 2021 Posted April 18, 2021 LinkedArrayAddArmor seems to be missing from the CommonArrayHelper in CheskoPapyrusShared. In order to get FrostUtil to compile for mods like WetFunctionRedux, without downloading every Frostfall optional dependency I had to: Download FrostDevKit & CampDevKit from https://github.com/chesko256/Campfire Download CheskoPapyrusShared from https://github.com/chesko256/CheskoPapyrusShared Download Campfire v1.12.1 (SE) from https://www.nexusmods.com/skyrimspecialedition/mods/667 Download Frostfall v3.4.1 (SE) from https://www.nexusmods.com/skyrimspecialedition/mods/671 Download Campfire and Frostfall - Unofficial SSE Update from https://www.nexusmods.com/skyrimspecialedition/mods/17925 Decompile CommonArrayHelper from Campfire Modify the decompiled CommonArrayHelper to add default values to function arguments: Change all ArraySort- functions from "Int i)" to "Int i = 0)" Change all ArrayRemove- functions from "Bool abSort)" to "Bool abSort = false)" Copy FrostUtil from Frostfall Modify the copied FrostUtil to remove function bodies Return a default value for functions with return types: bool/int/float/string/object => false/-1/-1.0/""/None FWIW, there are copies of the FrostDevKit (3.0.3) & CampDevKit (1.7.1) on the Nexus Legendary Skyrim pages, but I'm not sure how they compare to what's on Github. Neither seems to contain CommonArrayHelper. https://www.nexusmods.com/skyrim/mods/64798?tab=files https://www.nexusmods.com/skyrim/mods/11163?tab=files
hornykarl Posted April 18, 2021 Posted April 18, 2021 I haven't had good luck uploading files before (they seem to get deleted), but I've attached the two source files I modified. Hopefully they work for you! Don't compile them directly, just compile other files against them! commonarrayhelper.psc frostutil.psc
iamzip Posted April 19, 2021 Author Posted April 19, 2021 Thanks for the assistance, the steps you listed were basically the solution I came up with since nothing I was doing had any remote association with the missing functions. Probably not the ideal solution but since none of my functions were calling anything other than frostutil I figured it was safe, and I didn't catch any bugs while testing with the unmodified scripts.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.