+ update 2020: WARNING - support of the decompiler is now VERY LIMITED. There are no active developers. This means we will NOT develop new features and/or fix most of bugs. We left the tracker running in case somebody from community would like to work on it. Sorry for the inconvenience.
State: closed new: Initial state. As long as issue is in this state, the work on the issue has not yet begun. opened: Opened state means developer started working on the issue. Feature/Fix will probably be in the next release. postponed: This means developer is not working on it now, for some reason it cannot be implemented now. Issue may be opened again in the future. upgraded: Issue is in upgraded state when developer made changes to the program and new version was released. closed: This means the user is satisfied with issue results and no more changes are needed. invalid: These issues cannot be solved. ignored: Developer decided to take no action on this issue. returned: Program changes were made but user is not satisfied and returned the issue.
This is awesome, but I would like to do some automation, in the gui I can go to the
desired script line and the on the right I can change it at pushstring, after saving the
swf works fine. Now I have to make about 400 changes in 149 files, how do I do that?
I tried to swap to whole as file(Error: Bad Commandline Arguments!), which is a good
option extract first and make changes via script before handing the file to your program.
Or is there a more direct way, like what i'm doing on the gui?
Speed in not an issue so extract, edit, replace would be fine. All changes are different
but use the same function() and I would only swap the parameters, they show up as
pushstrings an the right, btw.
Sorry for the noob question, I don't know flash at all, but I see all the hard work in
this project and Thanks for that. And the answer.
Oh above I posted the wrong error.
This is what I'm trying to run:
java -jar "c:\Program Files (x86)\FFDec\ffdec.jar" -replace some.as "somepath\some.swf"
This is what I get: I/O error during reading.
Well I realize I'm using as3 to replace and its experimental, anyway here. Do you think I
should use pcode?
Complex regexes needed for that, I get by with easy ones now, and they will work after a
game update I guess. Just now I see that I can position some lines back in pcode each time
there is a match and I wont need more complex regexes, I'm almost sure they wont change
the function just the parameters they pass.
Still my solution now is cleaner (and already done) if you say its safe, I handle hundreds
of these files so cant test all of them thoroughly.
Anyhow I hope you still find the file useful.
Earlier you wrote "pushstring" so i thought that you replaced the pcode.
Ok If you replaced the script, it could happen, because the compiler was changed by JPEXS
since the last stable build. (Pcode editing is much stable, it was not changed)
I suggest you to use pcode editing, we can't guarantee that direct editation works always.
(Of course we can't guarantee anything, also pcode editing, but it is much more stable,
and we will fix the bug much faster if you report any problem)