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.List of issues
#623 ffdec.sh should be executable and have UNIX line endings
> What steps will reproduce the problem? Try to run ffdec.sh as-is (e.g. ./ffdec.sh) > What is the expected output? What do you see instead? Expect: decompiler window to open Happens: Permission denied (because it's not executable) <After setting executable bit...> Happens: /bin/sh^M: bad interpreter <After running dos2unix...> Works as expected. > What version of the product are you using? On what operating system? 2.1.2 on Linux (Ubuntu 14.04)
ffdec.sh (2 KiB)
ffdec.sh line endings should be fixed in the latest nighty build. Please try it. Is it possible to mark a file as executeable in a zip file?
The line endings are fine now. And yes, it is possible to mark a file as executable in a zip, but I don't know if Windows software knows how to do that. Also, if it's not too much trouble, it would be great if the contents of the ZIP were wrapped in their own directory so they don't get lost and mixed in with nearby files.
Please try the latest nightly again. Now the filemode of ffdec.sh should e 755. I can't see any diffrences on windows, but maybe you can. About putting everything to a folder in the zip: I do not prefer this structure, but if JPEXS likes it, then we will do it.
755 sounds right, but I don't have access to a normal computer now. However, Android (it's Linux-based) does not recognize it as executable. Take it with a grain of salt, though.
Did you try it on your desktop machine? Is it ok?
Working perfectly now, thanks!