: 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

#123 Context menu integration
Author: user focus
Date created:
Type: feature
Visibility: Everybody
Assigned to:
Labels: GUIInstallation
State: closed Help

Could be nice to have an option for adding "Open with FFDec" into the Windows context menu.
admin
State: new→opened
admin
version 1.6.4 was released this was added, try it
State: opened→upgraded
user
Doesn't work on win8 x64. I see add ffdec to menu option selected in FFdec, but see no such menu in Explorer. Maybe I need to run FFDec as admin?..
admin
Program should rerun itself with Admin rights (Admin rights dialog should pop out) Have you seen the dialog after you clicked menu option? Can you try it again and attach log.txt file? (c:\Users\<user>\AppData\Roaming\JPEXS\FFDec\log.txt) Do you have 32bit or 64bit JVM?
admin
State: upgraded→returned
user
I have uac disabled - I see no such messages... I tried to disable\enable that menu item but there is nothing in log.txt at all (0 bytes). I have both JVMs, FFdec runs using 64 bit one.
developer
The following registry entries should be added when association is enabled: Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Classes\Applications\ffdec.exe\shell\open\command] @="\"C:\\Projectek\\ffdec\\FFDec\\ffdec.exe\" \"%1\"" [-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.swf\UserC hoice] [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.swf\UserCh oice] "Progid"="Applications\\ffdec.exe" and the following (to remmove), when disabled: Windows Registry Editor Version 5.00 [-HKEY_CURRENT_USER\Software\Classes\Applications\ffdec.exe] [-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.swf\UserC hoice] "Progid"="Applications\\ffdec.exe" It doesn't requires any elevated permission.
admin
honfika: Does this work in older Windows too? focus: Please open registry editor (regedit.exe), export following keys: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.swf HKEY_CLASSES_ROOT\.swf HKEY_CLASSES_ROOT\ShockwaveFlash.ShockwaveFlash and attach it here (.reg file), thank you
user
Sure. Attached sontext.png with current .swf files context menu items I have.
developer
Sorry, i dont know. I tried it on Win7 x64. Attached the requested registry entries. Currently swfs are associated with your program (not with flex)
Downloadreg1.reg (1 KiB)Downloadreg2.reg (506 B)Downloadreg3.reg (1 KiB)
developer
These files are workin on winxp and win7. In add.reg in the following line "a"="ffdec.exe" "a" should replaced with the next unused letter. This letter should be appended to MRUList value Remove clears every swf associations and ffdec entries form registry, so it is just for testing. add and remove works on Win8.1, too, but setasdefault.reg not. I can test yout final release or an onofficial build on this 3 systems if you send me the jar file.
Downloadadd.reg (1 KiB)Downloadremove.reg (1 KiB)Downloadsetdefault.reg (1 KiB)
admin
State: returned→opened
admin
focus: version 1.6.5 was released. This should be better, try it.
State: opened→upgraded
user
Still not working for me =( Tried to run ffdec.exe with admin rights - no success too (
admin
Do you have 64bit JVM or 32bit?
State: upgraded→returned
user
I have both installed. FFDec runs with 64bit one.
admin
focus: Can you export and attach "HKEY_CLASSES_ROOT\.swf" registry branch, please? Your attached ".swf.reg" seems to lead to "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.swf" or is this correct?
admin
focus: Please ignore previous post, I see now, there is second file with that branch in your post. Now: 1) Please close any regedit.exe you are running, then open 32bit regedit.exe, which is placed in C:\Windows\SysWOW64\regedit.exe 2) from 32bit regedit.exe, export again these branches: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.swf HKEY_LOCAL_MACHINE\Software\Classes\.swf HKEY_LOCAL_MACHINE\Software\Classes\ShockwaveFlash.ShockwaveFlash 3) Attach it here, Thanks
admin
focus: 4) Download and run 64bit version of Shell Menu View - http://www.nirsoft.net/utils/shell_menu_view.html And tell me whether there is "Open with FFDec" menu name. 5) Do the same with 32bit version of Shell Menu View. 6) ??? 7) Solution
user
Hey, I attached it before as .swf_classes_root.reg
user
Sorry, ignore my previous post too) Here are those files from 32 bit regedit. I see "Open with FFDec" in 64 bit Shell Menu View version. And I see it in 32 bit version as well.
admin
hmm, I am out of ideas. I don't know what to do with it. Context menu seems to be registered all right (registry, Shell Menu View) but you still do not see it in Explorer. I have Win8 64bit too and everything works ok. I see Sothink registry key in your REG files, but in the screenshot, there is no sothink in context menu too, so at least my decompiler does the same think as Sothink :-). Can anyone help? honfika: Files you posted earlier lead to file association(double click file), we want only context menu here.
user
Oh, I guess you're right - something wrong on my machine, it really should work. I see some other extension-specific Shell Extensions are not working too, I'll investigate it further.
user
Btw it seems that context menu integration doesn't work on my win7x64 either...
user
I tried this on Windows 8 64bit (My laptop), didn't work at all. But it works good with Windows 7 64bit (My desktop).
admin
This is How I do it in FFDec, If someone knows what is wrong, tell me: 1) if not exists key HKEY_LOCAL_MACHINE\Software\Classes\.swf then create it with value "ShockwaveFlash.ShockwaveFlash" 2) className = get value of key HKEY_LOCAL_MACHINE\Software\Classes\.swf (usually "ShockwaveFlash.ShockwaveFlash") 3) if not exists key HKEY_LOCAL_MACHINE\Software\Classes\<className> then create it with value "Flash Movie" 4) if not exists key HKEY_LOCAL_MACHINE\Software\Classes\<className>\shell then create it 5) if not exists key HKEY_LOCAL_MACHINE\Software\Classes\<className>\shell\ffdec then - create it with value "Open with FFDec" - create subkey command with value '"<path>\ffdec.exe" "%1"' Additionally Add to OpenWith list in Windows 8: A) Create key HKEY_LOCAL_MACHINE\Software\Classes\Applications\ffdec.exe\shell\open with value "Open with FFDec" B) Create subkey "command" with value '"<path>\ffdec.exe" "%1"' C) Add new letter to MRUList value of HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.swf\OpenWit hList D) Create key HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.swf\OpenWit hList\<letter> E) Set its value to "ffdec.exe"
user
Seems that I've searched it wrong way. FFDec creates the shortcut in submenu "Open with" but I thought it should be on top. So, to make it on top (like Wirar) I've made and imported this reg file: Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\SystemFileAssociations\.swf\Shell\JPEXS Free Flash Decompiler] "Icon"="\"O:\\Downloads\\ffdec\\ffdec.exe\"" [HKEY_CLASSES_ROOT\SystemFileAssociations\.swf\Shell\JPEXS Free Flash Decompiler\Command] @="\"O:\\Downloads\\ffdec\\ffdec.exe\" \"%1\""
user
I believe you doing it right - I see some other .swf-related ShellExtension are not working on my Win8 x64, but all .dll, exe, rar, etc. shell extensions work just fine. Something wrong with .swf Shell extensions on my machine.
user
"FFDec creates the shortcut in submenu "Open with"" - I even have no FFDec in Open with menu =( I need to punch some faces at M$.
user
Huh, thanks for hint about SystemFileAssociations! (WTF BTW?!) I finally got it in context menu with this: [HKEY_CLASSES_ROOT\SystemFileAssociations\.swf\Shell\JPEXS Free Flash Decompiler\Command] @="\"D:\\Soft\\Reversing etc\\Flash\\ffdec\\ffdec.exe\" \"%1\""
admin
focus: Could you please export whole key "HKEY_CLASSES_ROOT\SystemFileAssociations\.swf" and attach here? It already existed before you modified it, or not?
user
Sure! It was not existed before.
Download.swf.reg (1 KiB)
admin
State: returned→opened
admin
version 1.7.0 was released this was improved, try it
State: opened→upgraded
user
Still not working for me =( I removed all manual integration I did previously and tried to enable it in FFDec, but it doesn't work (I tried to start FFDec as admin too).
user
(I checked HKEY_CLASSES_ROOT\SystemFileAssociations\.swf - nothing there)
admin
State: upgraded→opened
admin
version 1.7.0u1 was released. this should be fixed
State: opened→upgraded
user
YEY!!! I see it in context menu: http://i.imgur.com/zcsLfeF.png Not sure if it should have icon or not though.
admin
Great! I didn't add any icon.
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