JPEXS Free Flash Decompiler Issue Tracker

If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler

NEW : We have got a new blog where we post some interesting SWF internals info.

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.
developer
Pcode replacing already should work, check issue: /www.free-decompiler.com/flash/issues/658-actionscript-4-file-replacement-via-command-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
user
In that case would be good to export P-Code with a different extension.
developer
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)
developer
export P-Code with a different extension: implemented in the latest nightly build
developer
It was implemented more than 1 month ago, I close this issue due to inactivity.
State: upgraded→closed