TaxiVader Posted December 20, 2020 Share Posted December 20, 2020 Hi folks. My apologies for doubling up, I have also asked about this elsewhere. I was trying to add a script and got the "missing tesv_papyrus_flags.flg" warning. I have added the tesv_papyrus_flags.flg file so I no longer get that particular error when trying to compile, but have moved onto stage 2 of the error list: Starting 1 compile threads for 1 files...Compiling "dtm7"...D:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\Keyword.psc(4,33): unknown type locationD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\Keyword.psc(8,45): unknown type locationD:\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\Actor.psc(27,49): unknown type globalvariable and so on. Those files such as keyword.psc are present in the stated folder. I have extracted the stuff from scripts.rar to the correct location. After failing to compile, I can see a script called dtm7.psc in the data\scripts\source folder but can't see it in CK. Tried copying dtm7.psc to data\scripts folder with no effect. Not sure what I should do with SkyrimEditor.ini; it looks OK to me:[Papyrus]sScriptSourceFolder = "Data\Scripts\Source"sScriptCompiledFolder = "Data\Scripts\"sCompilerFolder = "Papyrus Compiler\"bPerforceEnabled = 0iMinMemoryPageSize = 128iMaxMemoryPageSize = 512iMaxAllocatedMemoryBytes = 76800 ;75kb Any ideas? Link to comment Share on other sites More sharing options...
IsharaMeradin Posted December 20, 2020 Share Posted December 20, 2020 1. Post the script code for your script dtm7.psc See my signature for posting tips if it is a long script.2. Where did you get this tesv_papyrus_flags.flg file? Link to comment Share on other sites More sharing options...
TaxiVader Posted December 20, 2020 Author Share Posted December 20, 2020 Hi Ishara. There is no content in the dtm7.prc script; I was trying to make a new one and I only got as far as the error list shown above. I got the tesv_papyrus_flags.flg from Nexus, here: https://www.nexusmods.com/skyrim/mods/39140/? I tried following a quest tutorial to make a radiant quest but even the papyrus fragments there would not compile. At least it's consistent. Link to comment Share on other sites More sharing options...
dylbill Posted December 20, 2020 Share Posted December 20, 2020 Try using Skyrim Script Compiler Pro: https://www.nexusmods.com/skyrimspecialedition/mods/31700/ I've had problems in the past compiling directly from the Creation Kit. Also make sure you have the vanilla loose scripts in your Skyrim folder. There should be a scripts.rar that you should extract. Link to comment Share on other sites More sharing options...
TaxiVader Posted December 20, 2020 Author Share Posted December 20, 2020 Hi Dylbill. Do I extract the scripts.rar into the Skyrim folder or the data\scripts\source ? I extracted it to the automatic location, and it looks as if the CK is looking in that area to find them. I'll have a go at that compiler, thanks for the link. Also, what about papyrus fragments like the ones in the quests? How would I compile those if I'm using the external compiler? TV Link to comment Share on other sites More sharing options...
dylbill Posted December 20, 2020 Share Posted December 20, 2020 (edited) You should extract it where it is, in the data folder. All the .pex files should be in data/Scripts. All the .psc files should be in Data/Scripts/Source. For fragments I do compile those from the Creation Kit. Edited December 20, 2020 by dylbill Link to comment Share on other sites More sharing options...
TaxiVader Posted December 20, 2020 Author Share Posted December 20, 2020 Hi again DylBill. Thanks to you I got the files in the right place (operator error), and now it's working like a charm. Both full scripts and fragments are compiling properly. You're a champion. Link to comment Share on other sites More sharing options...
dylbill Posted December 20, 2020 Share Posted December 20, 2020 Cool glad you got it working. Link to comment Share on other sites More sharing options...
Recommended Posts