xgtbkw Posted December 15, 2020 Posted December 15, 2020 I'm trying to recompile a script from https://www.loverslab.com/files/file/12324-some-consensual-sex/ and receiving an error: Starting 1 compile threads for 1 files... Compiling "mySCSFSex01"... C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\temp\myscsfsex01.psc(9,7): sexlabframework is not a known user-defined type C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\temp\myscsfsex01.psc(16,25): unknown type sexlabframework No output generated for mySCSFSex01, compilation failed. Batch compile of 1 files finished. 0 succeeded, 1 failed. Failed on mySCSFSex01 ;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment ;NEXT FRAGMENT INDEX 1 Scriptname mySCSFSex01 Extends TopicInfo Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE Sexlab.Quickstart(PlayerRef, AkSpeaker) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment SexLabFramework Property SexLab Auto Actor Property PlayerRef Auto It's a new install + SKSE, including the "Data" and (root) "src" folder. Also I have installed SkyUI 5.1 and SkyUI SDK 5.1. I'm a little lost where to look next. Would someone be able to assist perhaps?
Scrab Posted December 15, 2020 Posted December 15, 2020 Looks like the compiler cant find the sourcefile Make sure "SexLabFramework.psc" is in the correct folder (Data/Scripts/Source for LE)
xgtbkw Posted December 15, 2020 Author Posted December 15, 2020 9 minutes ago, Scrab said: Looks like the compiler cant find the sourcefile Make sure "SexLabFramework.psc" is in the correct folder (Data/Scripts/Source for LE) Thanks! I'm recompiling on SE. I'm certain SexLab itself is installed correctly. I'm assuming if the LE script works in SE, recompiling would also work. "C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\SexLabFramework.psc" My best guess for now would be a missing required mod besides the ones listed.
gregathit Posted December 15, 2020 Posted December 15, 2020 Also, you could be fighting UAC. Steam should never be in your C:\Program Files (x86)\ directory, as that is a protected folder. It is fine if you just want to game, but when you start modding stuff UAC can cause quite a few problems. The good news is you can move your entire steam library very easily and it doesn't require reinstalling all your games.
Scrab Posted December 15, 2020 Posted December 15, 2020 If youre playing on SE and you havent changed its default directory then you need to move this script (and every other script source (.psc) too) to C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\SexLabFramework.psc
xgtbkw Posted December 15, 2020 Author Posted December 15, 2020 19 minutes ago, gregathit said: Also, you could be fighting UAC. Steam should never be in your C:\Program Files (x86)\ directory, as that is a protected folder. It is fine if you just want to game, but when you start modding stuff UAC can cause quite a few problems. The good news is you can move your entire steam library very easily and it doesn't require reinstalling all your games. Thanks! UAC is the first thing I disable after every new installation. 17 minutes ago, Scrab said: If youre playing on SE and you havent changed its default directory then you need to move this script (and every other script source (.psc) too) to Haven't tried it yet, but I'm seeing the difference here between my LE and SE. Thanks!
gregathit Posted December 16, 2020 Posted December 16, 2020 I don't recommend disabling UAC, but that is your call. I'm also not sure disabling it will resolve all your issues. I'm horribly weak at coding but here is a thread I found that may help: https://forums.nexusmods.com/index.php?/topic/7023466-papyrus-wont-compile-anything-heres-the-probable-fix/
xgtbkw Posted December 16, 2020 Author Posted December 16, 2020 I've got things working in LE! Eventually I also needed to install FNIS+Creature, SkyUI and an unpacked version of RaceMenu. Again, thanks both Scrab and gregathit! And Psalam ofcourse! SE is where I'm having a massive brainfart right now. I see the structure of scripts.zip and scripts.rar is different. And I know the mod should have scripts\*.pex and source\scripts\*.psc (for SE). Should I change the default scripts.zip structure? And should I change the default SexLab structure? Edit: Got it. The structure of EVERY source folder has to match. Skyrim, Scripts.zip, loose files (SexLab), bsa files (FNIS+RaceMenu). EVERYTHING. It's somewhat possible to define things in the CreationKit.ini: [Papyrus] sScriptSourceFolder=Data\Scripts\Source sScriptCompiledFolder=Data\Scripts
Recommended Posts
Archived
This topic is now archived and is closed to further replies.