can you change pex. back to psc.

Post » Tue Jun 19, 2012 2:33 pm

my friend sent me some scripts but i can't edit them because their pex files can anyone tell me how to change them back to psc file
User avatar
Roberto Gaeta
 
Posts: 3451
Joined: Tue Nov 06, 2007 2:23 am

Post » Tue Jun 19, 2012 4:02 pm

You can't, although you can partially decompile them with the Papyrus Assembler. I don't think that's documented on the wiki, though. I'll see if I can find the information you'll need for that...

If you need to edit these scripts, you'll need to ask your friend to send you the source files instead.

Cipscis

EDIT:

Here you go:
To decompile don't include the .pex extension. To decompile scriptname.pex you invoke this:
PapyrusAssembler scriptname -D
Cipscis
User avatar
kitten maciver
 
Posts: 3472
Joined: Fri Jun 30, 2006 2:36 pm

Post » Wed Jun 20, 2012 3:51 am

dang oh well guess i will have to wait 2 days, becasue their on vaction:(

Edit: thanks
User avatar
Heather M
 
Posts: 3487
Joined: Mon Aug 27, 2007 5:40 am

Post » Wed Jun 20, 2012 12:55 am

If you decompile the *.pex file to a *.pas file, it should at least be human-readable. You might be able to re-write the script from that.

Cipscis
User avatar
Sarah MacLeod
 
Posts: 3422
Joined: Tue Nov 07, 2006 1:39 am


Return to V - Skyrim