Jump to content

Recommended Posts

Posted

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?

Posted (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 by justinglen75
Posted

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?

Posted

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.

Posted

The pex that match some psc that you see in the Dawnguard.bsa are in the Skyrim - Misc.bsa

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...