JPEXS Free Flash Decompiler Issue Tracker

If you are looking for the decompiler itself, visit

: The issue tracker is now writable again and logged users can download files too. But note that our support is very LIMITED.

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: nd-line -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