Jump to content

Photo

How can I get uncompiled (psc) scripts back?


  • Please log in to reply
4 replies to this topic

#1
Omeletter

Omeletter

    Self Deprecating Title

  • Members
  • PipPipPip
  • 826 posts
I accidentally deleted some of my .psc script files, and tried to get them back by unpacking the .bsa archive, but it only has the .pex, aka already compiled scripts. Any help on this? Is there anyway I can un-compile them from the .pex scripts?

#2
Ghaunadaur

Ghaunadaur

    That which lurks

  • Members
  • PipPipPip
  • 738 posts
Hi,

I think there is no way to decompile a .pex file, unless Bethesda provides us with a decompiler tool.
You probably will have to re-install your CK to get the .psc restored.

#3
Omeletter

Omeletter

    Self Deprecating Title

  • Members
  • PipPipPip
  • 826 posts
Yes, I got them back. In steam, you go to tools, creation kit, validate tool files.

#4
d_rail1602

d_rail1602

    Enthusiast

  • Members
  • PipPip
  • 212 posts
PEX Decompiler: http://skyrim.nexusm...ile.php?id=2909

It is better to use the steam files, but for custom scripts this will work.

#5
tunaisafish

tunaisafish

    Old hand

  • Supporter
  • PipPipPip
  • 641 posts

PEX Decompiler: http://skyrim.nexusm...ile.php?id=2909

It is better to use the steam files, but for custom scripts this will work.


A very useful tool, but that was released way way before the Official Creation Kit.
Now it is pretty much redundant, since the CK comes with an Assembler/Disassembler.

Neither will produce Papyrus source though, so they're not much use unless you have a good understanding of CS.
If you want to see the source PSC files for a mod, then you'd be better off first asking the author.

Spoiler





Page loaded in: 1.013 seconds