KauljrinNb Posted September 1, 2019 Share Posted September 1, 2019 (edited) The story thus far...I'm on Windows 10.I'm making a mod in Skyrim LE.I use MO2 and run Creation Kit through there (with the manual ID change to 202480)I've used "Papyrus Compiler Patch for x64 Systems" to update my compiler for 64bitI've changed the file paths in ScriptCompile.bat to match my actual paths (I also have the original version- more on that in a moment)I've updated the ini to handle multiple master files.I have gotten the compiler to compile this and another script today and yesterday, but only intermittently.One of the scripts functioned in-game after being compiled, but it no longer functions.UPDATE: I've also cleaned my skyrim installation of all extraneous files and reinstalled CK (to no avail)Now on to my situation: I open CK and load my esp. I ignore the usual load errors (as one does). I go the spell effect with the script, then Edit Source on the script. I hit compile... at the bottom it says "Compile Success" but gives no debug info in the bottom pane. I hit save, and a dialogue pops saying "Compilation Failed - Are you sure you want to save?" From here, the results diverge a bit...Sometimes if I hit compile enough, it will display a readout of a failure OR sometimes it will display a readout of a success.Either way, that message does not always correlate to whether the pex file actually updates on the disk or whether it actually works in-game.Further attempts can result in the compiler saying it doesn't recognize SKSE functions like GetName.Another common result is that the compiler "cannot access that file because it is in use by another process."I recently returned to LE creation kit from an old installation. I downloaded and installed the newest version via Steam. I have also repaired that installation (verify integrity, etc.) and have then reapplied the file and compiler updates. I'm a bit at a loss, as cannot access file because it is in use by another process and compiler claims success with no readout + actual failure to compile don't seem to turn up results on the sites I've checked. Hopefully it's an easy fix that I've just failed to use the right terms to find. What would cause this issue? UPDATE: Good news- I can compile by launching the CK outside of MO2. It works for now, but I'd like to find out why it acts that way when run through MO2. Edited September 3, 2019 by KauljrinNb Link to comment Share on other sites More sharing options...
Hoamaii Posted September 2, 2019 Share Posted September 2, 2019 Not sure this can help but I've had that issue a few times too both in Skyrim and in F04 (Windows 7) - most of the time, closing the CK and relaunching it will fix it for me. No idea what causes this, but when I get stuck - and that happens more frequently with unusually long scripts, like over 800 or 1000 lines - I use external compilers then manually place my scripts in the Data folder. That usually works. Link to comment Share on other sites More sharing options...
KauljrinNb Posted September 3, 2019 Author Share Posted September 3, 2019 Not sure this can help but I've had that issue a few times too both in Skyrim and in F04 (Windows 7) - most of the time, closing the CK and relaunching it will fix it for me. No idea what causes this, but when I get stuck - and that happens more frequently with unusually long scripts, like over 800 or 1000 lines - I use external compilers then manually place my scripts in the Data folder. That usually works. Unfortunately, that does not help with my particular issue. My scripts are only about 50-100 lines at the moment, and I've closed it and even looked for rogue processes. The good news is that I can (and have been) working by launching the CK outside of MO2. The bad side is that it is really tedious moving mod files in and out for testing and referring to other mods, though I generally launch through the CK to look at others since I don't have to compile. It works for now, but I'd like to find out why it acts that way when run through MO2, especially because sometimes it will compile once or twice in a session (not necessarily the first times I try it, either.) Link to comment Share on other sites More sharing options...
Recommended Posts