JPEXS Free Flash Decompiler Issue Tracker

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

: WARNING - support of the decompiler is now VERY LIMITED. There are no active developers. This means waiting times in the issue tracker are very long and mostly depend on community. Sorry for the inconvenience.

List of issuesList of issues

#821 make bookmarks for DefineTexts (and maybe for scripts too)
Author: user megalol
Date created:
Type: feature
Visibility: Everybody
Assigned to: developer honfika
Labels: GUI
State: closed Help

For example I'm tranlating flash game and finished it at some DefineText. After closing FFDec and opening it next time I want to quick browse to that Definetext at which I've ended last time. Maybe also will be useful some switch in options that will auto open last bookmark if enabled at FFDec next run.
user
Maybe it can be made without bookmarks but with sessions (like in some browsers). So when I close FFDec it will remember last state (if enabled in option) and offer to load saved session at next run.
developer
I'd like to imlement this feature in the near future (maybe in some weeks), so I assign it to me. JPEXS: if you want to do this sooner, then let me know:)
Assigned:developer honfika
developer
Implemented, please try the latest nightly build. It works only with real physical files, so it won't reopen files loaded from memory and from browser cache (because a browser cache entry is not whole physical file in some browsers) So it should work with simple swf files and with any swf bundle (zip, swc, binary) files.
State: new→upgraded
user
Lol, I can not access Advanced Settings (it doesn't opens) in latest nigthly :(.
developer
sorry, please try the latest nigtly again
user
Thanks, now it works (adv. settings and last session). But it works only if I opens FFDec and doesn't works when I opens (same file) in right click context menu.
developer
Yes, because if you open a file with context menu from Windows it is not the "last session". In this case you open a new file, i think it is normal.
user
Ok, I just thought that FFDec saves session for each file I opened so I can resume session to any of it by launching one of these files from context menu...
developer
No, FFDec saves the whole session, all opened files, and the path in the tree to the selected node. So when you reopen ffdec (without opening any file), FFDec will reopen all the swfs which were loaded before the last closing, and it will select the last selected node. Is this ok for you?
user
I usually open only one file because they are often have big size so FFDec uses a lot of RAM. So for me will be better "that FFDec saves session for each file I opened so I can resume session to any of it by launching one of these files from context menu". Maybe u can leave current session behaviour and implement new one that will also be selectable in options (which way user find more useful for him).
developer
State: upgraded→new
developer
Do you still have memory or performance issues with big files?
user
No I haven't. Maybe you can leave current session behavior but to make that FFDec will ask about session save before exit (so it will be new switch in option to ask or not to ask) because I often view some files but really need session save only for that I'm translating. So if I've choosen not to save it will keep previous session alive.
user
...or there could be added buttons to save/load session for this.
developer
I'll add the individual sessions for each file, but when it is implemented, please retest issue #458 ("individual behavior for each file"), because I'll refactor a little bit the handling of swf specific configurations.
user
Ok, I'll test it when this will be implemented.
developer
implemented, please try the latest nightly build. now the last selected node is saved for each swf, and when you open an swf, it will be selected automatically. when you open multiple swfs, the last selected node of the last know swf will be selected.
State: new→upgraded
user
I can't test it because of again Advanced settings bug. When I press OK (to save changes) it doesn't have any effect.
developer
Ok, I'll check the advanced settings, but it shoud work without opening that dialog.
developer
advanced settings fixed again
user
Thanks, it works now (btw without advanced settings I can't test it because session was disabled). I found a small glitch - middle window (for example Action Source) size changes (becomes smaller) after file reopen (maybe you need to do it few time with different files). Reopen = close FFDec completely and open file with right mouse click. About #458 I'm a bit confused because "individual behavior for each file": implemented" not works in this build and in some previous (535) also. Anyway in some cases it will be useful to disable individual font behaviour in advanced settings. So if you'll fix this please add new switch in options.
developer
could you please try the last stable version and the last stable 4.x version. is it wrong in them, too?
developer
For me it seems to work with the latest build. And i don't think that it makes any sense to add a configuration for this. Why do you want to switch off it?
user
Hmm, I've checked till v2.0 and in all of them it didn't worked.
developer
+"I can't test it because session was disabled": this setting is not needed for the individual behaviour for each file (in this issue). so it should work with disabled saveSessionOnExit setting, too. saveSessionOnExit means only that FFDec saves the last opened swf files, and reopend them if you start it noramlly (so not opening any file from windows context menu, and not specifying command line parameters)
user
Maybe we misunderstood each other. I mean than if you select some font (for example Arial) in some swf and change it to Tahoma then in other swf file Arial will also change to Tahoma.
developer
How do you check it? I did the following: opened as2 and as3 test swfs. Both has font tag with name "Times new roman" opened this font tag in as2, seleccted a random source font from the dropdown. Then selected the another "Times new roman" from from as3.swf, selected another random fonr from the dropdown. Then closed ffdec, and reopened it. opened as2 and as3 swf again. Then when i selected the Times new roman font from as2.swf i saw the "random font" whicg was selected earlier. Then selected it from as3, and i saw the another "random font". So it seems to work.
user
honfika 05/21/2015, 11:53:07 pm developer +"I can't test it because session was disabled": this setting is not needed for the individual behaviour for each file (in this issue). so it should work with disabled saveSessionOnExit ------------ ...I mean that I've tested sessions for individual files and there were no connection with #458. So if sessions was disabled I can not test it for individual files....
developer
Yes, thats normal, because not only the swf specific setting is stored, the general setting is saved too.. to Arial will be Tahoma everywhere. You should select Arial for the 2nd swf again.
user
Ok, I'll record a video. I've tested on 2 similar AS files some_game_file.swf and some_game_file_endings.swf. Changed in 1st file some_font_1 to some_font_2, closed (means that I closed FFDec completely) 1st file, opened 2nd file and see that in it some_font_1 changed to some_font_2 also.
user
So you think that it's normal but in #458 we were talking about to make individual FONT behaviour for each file. Or I misunderstood something? Please check #458 again.
developer
Maybe there is some bug, please upload your video, then I'll check it.
user
Ok, here is a video.
developer
Also please to change in 2nd file the some_font_1 to some_font_3, then close ffdec then open 1st or second swf again.. if you open the 1st swf, you should see some_font_2, if you open 2nd swf, you should see some_font_3
developer
I can't open this video:( Tried it with windows media player and VLC: VLC does not support the audio or video format "FICV". Unfortunately there is no way for you to fix this.
user
Ok, I get it. Thanks, for explanation. So it's not a bug. But what about "I found a small glitch - middle window (for example Action Source) size changes (becomes smaller) after file reopen (maybe you need to do it few time with different files). Reopen = close FFDec completely and open file with right mouse click." Actually you can reopen 1 time same file at some DefineText and see difference.
user
Maybe you should update your VLC - on v3.0 nightly it works fine. Do you need a second video for window size glitch?
developer
I'll try to fix it later. It is hard to fix such Swing UI bugs.
developer
State: upgraded→returned
developer
please try the latest nightly build. is the glitch fixed?
State: returned→upgraded
user
I think yes, thanks.
developer
So everything is done from this issue, right? May I close it?
user
No, please check AS source middle window size again. To reproduce: change that window size, close FFDec, open FFDec, close FFDec, open FFDec. Btw is it possible to hide "Basic tag info window"?
developer
Can't reproduce the problem, could you please create a video? Is it possible to reproduce with lwt.swf? Please use lwt.swf in your video, because i already have that file. No, it is not possible to hide basic tag info.
developer
And please start the video with a settings reset.
developer
And please make your video vlc 2.2.1 comaptible:)
user
OK, here is a video. Take a look at middle window size every FFDec start (after 1st launch of lwf.swf after settings reset).
developer
Thanks. It should be fixed in the next nightly build. Currently there is some problem with the nightly builds, please try it when it releases (version >=553)
State: upgraded→upgraded
user
Great! Now it seems to be fixed so it's time to close this issue. Thanks again.
developer
State: upgraded→closed