cracksoldier Posted January 21, 2022 Share Posted January 21, 2022 (edited) Hi, i try to make a small change to the mod https://www.nexusmods.com/skyrimspecialedition/mods/691?tab=description .I managed to decompile the pex file to psc and created a zip which has the following folder structure: Within the "source" folder are the psc files: I installed this via MO2 and activated it. When i start CK i can edit theproperties of the script but as soon as i try to open the source within CK i only get "CODE NOT LOADED" for the fragments.I've already verified that the decompilation worked. Is there a way to fix this? All the solutions i've found like deleting "Scripts" and "DialogueViews" didn't work.I will only release this if the modder gives me his/her approval if somebody is concerned about the decompilation. Solution: I just needed to add the following line to the creation kit config sScriptSourceFolder = ".\Data\Scripts\Source" Edited January 21, 2022 by cracksoldier Link to comment Share on other sites More sharing options...
IsharaMeradin Posted January 21, 2022 Share Posted January 21, 2022 If you are working with Skyrim Special Edition, the default folder structure is "Data\Source\Scripts" for the PSC and "Data\Scripts" for the PEX. You can change it as you did, but you will need to ensure that all of the base game + DLC as well as any mods being worked on have their PSC files located in your chosen directory. Also the flags file needs to be in that directory as well. Link to comment Share on other sites More sharing options...
cracksoldier Posted January 21, 2022 Author Share Posted January 21, 2022 Thanks for the information. I restructured everything to fit this folder structure and now its working. Link to comment Share on other sites More sharing options...
Recommended Posts