JPEXS Free Flash Decompiler Issue Tracker

If you are looking for the decompiler itself, visit

+ update 2020: WARNING - support of the decompiler is now VERY LIMITED. There are no active developers. This means we will NOT develop new features and/or fix most of bugs. We left the tracker running in case somebody from community would like to work on it. Sorry for the inconvenience.

List of issuesList of issues

#762 Replace P-Code from command line
Author: user 163gal
Date created:
Type: feature
Visibility: Everybody
Assigned to:
Labels: ExportP-code
State: closed Help

It would be great to be allowed to replace P-Code from command line, because actually it only allow to replace ActionScript.
Pcode replacing already should work, check issue: / -replace <infile> <outfile> (<characterId1>|<scriptName1>) <importDataFile1> [methodBodyIndex1] [(<characterId2>|<scriptName2>) <importDataFile2> [methodBodyIndex2]]... ...replaces the data of the specified BinaryData, Image, DefineSound tag or Script ...methodBodyIndexN parameter should be specified if and only if the imported entity is an AS3 P-Code When the extension of the import file is not ".as" then it will be imported as PCode
State: new→upgraded
In that case would be good to export P-Code with a different extension.
For me it is ok to export PCodes with .pcode extension. JPEXS: What do you think about it? 163gal: But you should know that for AS3 the exported PCode file, and the file which is needed for import is not the same. When you export an AS3 PCode, it will export ALL the methods from a class, only the method body will be a PCode list. Import needs a SINGLE method body (which is shown in the right text area when you put the cursor into a method in the AS source)
export P-Code with a different extension: implemented in the latest nightly build
It was implemented more than 1 month ago, I close this issue due to inactivity.
State: upgraded→closed