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.

#333 Exporting is very slow, and generates a huge output file.
Author:
honfika

Date created:
Type: bug
Visibility: Everybody
Assigned to:
honfika

Labels: Performance
State: closed 

> What steps will reproduce the problem?
Export the attached file with the following command:
ffdec.bat -config autoDeobfuscate=1,parallelSpeedUp=0,cacheOnDisk=0 -export as
"swfs\game_2.swf_dir" "swfs\game_2.swf" 1>"swfs\game_2.swf_out.txt"
2>"swfs\game_2.swf_err.txt"
It takes 70 minutes, and generates 1,3GB error output file.
Most of the errors are:
SEVERE: Jump to the middle of the instruction ip <NUMBER> ins Push
[OFS<NUMBER-4>]"v"[/OFS]
It was wokring in 1.7.0
> What version of the product are you using? On what operating system?
1.7.0u1
> Please provide any additional information below. Attach the file you have problem with
if neccessary. If you do not want to publish files YOU CAN CHANGE VISIBILITY TO PRIVATE

I've found the problem.
It is in SWFInputStream/readActionListAtPos
for (int i = 0; i < actionLen; i++) {
should be:
for (int i = 0; i < info; i++) {
In the previous example the actionLen is 50, info is 5.
Do you agree to change actionLen to info? You know it better.
Please ignore my last message. I've found the real problem:
if (visc == 0) {//<curVisited){
ip = br;
prevIp = ip;
rri.setPos(br);
filePos = rri.getPos(); // <= this line was missing
continue loopip;
}
Version 1.7.1 was released,
this was probably fixed by you so I am closing this
State: opened→closed