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: 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
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
Google Translate: Translate to Czech Translate to Slovak Translate to Russian Translate to Hungarian Translate to Swedish Translate to French Translate to German Translate to Spanish Translate to Italian
Change style: oceanic classic