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

#1376 Cannot access resources in some SWF
Author: user Zamasu
Date created:
Type: bug
Visibility: Everybody
Assigned to:
State: new Help

> What steps will reproduce the problem? I'm a sprite ripper, I recently started to rip sprites from flash games, but when I open some SWF's the folders such as "images" "sprites" "shapes" "sound" are completely empty. Even when I click "export all images" etc they still don't show up. What is going on here? Is it some sort of compression in the SWF? And if so, what do I have to modify in order to decompress all the files?
developer
Please attach your swf file.
user
This is only one of the many games I have tried to rip sprites from. I haven't found anything relating to this problem when I googled it.
developer
This SWF has 2 sprites, a lock and a small line. It has a bigger embedded binary data (mochicrypt.Payload), probably it contains the remaining stuff. You need to extract it, and decrypt it somehow. The algorithm is in scripts/mochicrypt/Preloader
developer
Or you can try this: (copied from issue #1162) Ok, here is the thing, you can do to see more of the SWF file: 1) Download nightly builf 1276 or later 2) In settings tab, check "Open loaded SWFs while playing" 3) On file tab, click Run 4) It will ask for flash player projector, just setup its path and download it from adobe site on displayed settings panel. 5) If you setup 4) correctly, then click Run on file tab 6) The SWF file will run in new Flash window 7) During play, new SWF files (hidden in original SWF) should be opened automatically in FFDec This way you can inspect inner SWF files.
user
That sounds great but there's a slight problem that I cannot check "Open loaded SWFs while playing". I downloaded the latest "nightly build" version.
developer
Why? It is just a checkbox, what is the problem?
developer
Bth, it should work with the latest stable, too. (Nightly 1276 is older than the latest stable)
user
It literally will not let me click on it.
DownloadSCRN01.PNG (8 KiB)
developer
Are you on Windows, whoch vesion? (why did you delete this part of the bugreport when you filled it?) Is flash working in your internet explorer browser?
user
First off about the bug report thing I didn't think it was a necessary template, guess I'll know next time. Anyway I'm on Windows XP (blame me for not having money to upgrade to 7) and flash works on Google Chrome fine, as well as it does Internet Explorer.
developer
Please try the latest nightly. I've added a logging. So please start it, and check the log window by clicking to the icon in the bottom right corner.
user
I looked at the log. It says "WARNING: Cannot initialize flash panel"
user
Now that I downloaded all the things that the paths told me to, I can now check the "open SWF while running" option. And still nothing happens.
user
None of these inner "SWFs" are appearing in the file viewer.
developer
Then please try to decrypt the binary data manually.
user
Alright but how do I do that?
developer
We cant't help you in this. The decription logic is in mochicrypt.Payload actionscript class, you need some programming knowledge to wrtie the same dectypt algoritm in any programming language.
user
And that's where I stop. Might I suggest you work on a feature that shows the hidden SWF files easier in the future?
user
Alright, last update. I found this tool called "SWF Memory Dumper", it allowed me to access the hidden SWF's. Problem solved for now.