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

#2427 Export Sprites with deps via CLI
Date created:
Type: feature
Visibility: Everybody
Assigned to:
State: upgraded Help

I am trying to export sprites from one SWF where some of the sprites have dependencies in another SWF, specifically via the CLI. If I load both SWF files via the GUI I am able to export without errors, however I am unable to specify additional SWF files via the CLI. Command I am using: ./ffdec.sh -format sprite:svg -export sprite $export_dir $target_swf Is there any way to have the CLI load additional SWF's before exporting from the target SWF? IF not how difficult would this be to implement? Thanks in advance!
admin
Please try nightly 3030. New CLI options added: -importAssets <importOptions> Applies to: -export Specifies options for importAssets tag - using external SWFs. <importOptions> format: (combination of yes,ask,local) yes = use external SWFs when available ask = ask whether to use external SWFs yes,ask = use external SWFs, ask for alternatives when not available yes,local = ignores URLs - SWFs starting with http/s:// prefix -changeImport <source> <target> Applies to: -export Replaces <source> URL in importAssets tag with <target> for purposes of export. Can be used multiple times. So for this issue, you could use something like this: ./ffdec.sh -importAssets yes -format sprite:svg -export sprite $export_dir $target_swf Or maybe "-importAssets yes,ask" when you want to be interactively asked when the dependency is not found, otherwise it is ignored.
State: new→upgraded
Type: question→feature