If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler
: The issue tracker is now writable again and logged users can download files too. But note that our support is very LIMITED.

#821 make bookmarks for DefineTexts (and maybe for scripts too)
Author:
megalol

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

Labels: GUI
State: closed 

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.
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.
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: →
honfika

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
Lol, I can not access Advanced Settings (it doesn't opens) in latest nigthly :(.
sorry, please try the latest nigtly again
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.
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.
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...
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?
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).
State: upgraded→new
Do you still have memory or performance issues with big files?
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.
...or there could be added buttons to save/load session for this.
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.
Ok, I'll test it when this will be implemented.
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
I can't test it because of again Advanced settings bug. When I press OK (to save changes)
it doesn't have any effect.
Ok, I'll check the advanced settings, but it shoud work without opening that dialog.
advanced settings fixed again
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.
could you please try the last stable version and the last stable 4.x version. is it wrong
in them, too?
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?
Hmm, I've checked till v2.0 and in all of them it didn't worked.
+"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)
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.
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.
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....
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.
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.
Maybe there is some bug, please upload your video, then I'll check it.
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
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.
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.
Maybe you should update your VLC - on v3.0 nightly it works fine. Do you need a second
video for window size glitch?
I'll try to fix it later. It is hard to fix such Swing UI bugs.
State: upgraded→returned
please try the latest nightly build. is the glitch fixed?
State: returned→upgraded
I think yes, thanks.
So everything is done from this issue, right? May I close it?
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"?
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.
And please start the video with a settings reset.
And please make your video vlc 2.2.1 comaptible:)
OK, here is a video. Take a look at middle window size every FFDec start (after 1st launch
of lwf.swf after settings reset).

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
Great! Now it seems to be fixed so it's time to close this issue. Thanks again.
State: upgraded→closed