Omeletter Posted April 14, 2012 Share Posted April 14, 2012 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? Link to comment Share on other sites More sharing options...
Ghaunadaur Posted April 14, 2012 Share Posted April 14, 2012 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. Link to comment Share on other sites More sharing options...
Omeletter Posted April 14, 2012 Author Share Posted April 14, 2012 Yes, I got them back. In steam, you go to tools, creation kit, validate tool files. Link to comment Share on other sites More sharing options...
drail1602 Posted April 16, 2012 Share Posted April 16, 2012 PEX Decompiler: http://skyrim.nexusmods.com/downloads/file.php?id=2909 It is better to use the steam files, but for custom scripts this will work. Link to comment Share on other sites More sharing options...
tunaisafish Posted April 16, 2012 Share Posted April 16, 2012 On 4/16/2012 at 2:20 PM, d_rail1602 said: PEX Decompiler: http://skyrim.nexusmods.com/downloads/file.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. Reveal hidden contents E:\Steam\steamapps\common\skyrim\Papyrus Compiler>PapyrusAssembler.exe -? Usage: PapyrusAssembler object [-D] [-V] [-Q] [-A] [-S] [-?] object Specifies the object to be assembled or disassembled. Assembly looks for a ".pas" extension. Disassembly looks for a ".pex" extension. -D Disassembles the object, instead of assembling it. -V Turns on verbose mode. -Q Turns on quiet mode. (No status messages, only errors) -A Do not assemble/disassemble the file, just load and analyze. -S Strips debugging info from a compiled file. Cannot be used with -A or -D -? Prints this usage information Link to comment Share on other sites More sharing options...
Recommended Posts