JPEXS Free Flash Decompiler Issue Tracker

If you are looking for the decompiler itself, visit

: The issue tracker is now writable again and logged users can download files too. But note that our support is very LIMITED.

List of issuesList of issues

#147 escape filenames during (obfuscated) as export
Author: developer honfika
Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: AS3Obfuscated
State: closed Help

> What steps will reproduce the problem? run the following command ffdec.bat -export as c:\xx SWFCrytest_Cryout.swf > What is the expected output? What do you see instead? expected: .as files are written lot of exceptions, because the filenames are invalid: c:\xx\-@@*.as (The filename, directory name, or volume label syntax is incorrect) at Method) at<init>(Unknown Source) at<init>(Unknown Source) at at$ at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$ Source) at Source) > What version of the product are you using? On what operating system? 1.6.3, win7 x64 > Please provide any additional information below. Attach the file you have problem with if neccessary. If you do not want to publish files YOU CAN CHANGE VISIBILITY TO PRIVATE please escape the filenames. Maybe you can use this function: -as-a-filename Or just a simple urlencode.
Please encode the foldernames, too (packagenames)
Sorry, urlencode it not OK for filenames, because it won't encode "*" character. Maybe you can use the attached function. And modify the last line of the getPath method in to: return FileNameEncoder.encodeFileName(packageName) + "." + FileNameEncoder.encodeFileName(scriptName); I tried the last 15 swfs from the issues (from other users), and every encoded filename was OK with this method. (It was written by me, no license is required, you can modify it freely)
If I change filename, I should change class name too, otherwise it is uncompilable. Do you know there is rename identifiers feature which will rename invalid identifiers? (Menu Tools->Deobfuscation)
Yes, i understand that the filename and the classname will be diffrent, therefore the code will be uncompilable. The escaping is just for the obfustaced classes (escaped names for valid classnames should be the same as unescaped). They are not compilabe anyway. It is just for enable saving the opfuscated codes. In my opinion it is better to save them with anoher filename than getting an exception. Yes, i tried the rename identifiers feature, it is very cool:) But i understad if you dont want to save the files with diffrent name from classname. Thanks.
State: new→opened
version 1.6.4 was released modified version of your class was used, try it
State: opened→upgraded
Tried it, it is working. Thank you.
State: upgraded→closed