pro100kostya5 Posted December 19, 2018 Share Posted December 19, 2018 I have read that the game uses .pex script files and doesn't use .psc script files. But there are a lot of psc files in source subfolders (like Dawnguard folder) that has no .pex "copy" in scripts folder. Does it mean these scripts are not used by the game at all? Link to comment Share on other sites More sharing options...
JWGamimg75 Posted December 19, 2018 Share Posted December 19, 2018 (edited) PSC files are the raw papyrus scripts -- they are the source of a PEX file.PEX files are the results of a "compiled" PSC file. So, basically when you create a script it starts out/saved as a PSC file. When you "compile" the script, a PEX file is then created. Someone can correct me if I'm wrong, but a PSC script cannot function in the game without it's PEX file since it tells the game what to do. You can open a PSC file using a text editor like Notepad++ to view the contents of the script, but if you open a PEX file in Notepad++ it looks crazy and formatted. Fortunately you can decompile PEX files by drag-and-dropping them in a free program like Champollion. Champollion will create a PSC file so you can see how the PEX was scripted. I hope that all makes sense :smile: Edited December 19, 2018 by justinglen75 Link to comment Share on other sites More sharing options...
pro100kostya5 Posted December 19, 2018 Author Share Posted December 19, 2018 That makes sense, but the main question is why there are a lot of dlc1 psc scripts in data - scripts - source - dawnguard folder, and there are only few dlc1 pex scripts in data - scripts folder. If to follow what you said all these dlc1 psc scripts are uncompiled and are not used in game. Is that so? Link to comment Share on other sites More sharing options...
IsharaMeradin Posted December 19, 2018 Share Posted December 19, 2018 The PEX files for the base game and DLC are packed inside their respective BSA files.The PSC files are provided with the Creation Kit in a scripts.rar file that must first be unpacked in order to use them with the Creation Kit. Where the PEX and PSC files are located for a mod differs based on the author. Some provide both as loose files, some pack them both in a BSA, some only provide the PEX as that is what the game needs. Link to comment Share on other sites More sharing options...
agerweb Posted December 19, 2018 Share Posted December 19, 2018 The pex that match some psc that you see in the Dawnguard.bsa are in the Skyrim - Misc.bsa Link to comment Share on other sites More sharing options...
pro100kostya5 Posted December 19, 2018 Author Share Posted December 19, 2018 Oh, I see now! They are in .bsa files. Thank you very much for explanation, guys. Link to comment Share on other sites More sharing options...
Recommended Posts