user2054758
user2054758

Reputation: 321

editing swf bytecode at runtime?

I'm trying to make a modification for World of tanks.
It use Scaleform and Action script 3.
Since edit Swf file each time is very long, i would like find a way to load code at runtime and then edit original scripts that are inside swf files.
How i can do this?

Upvotes: 1

Views: 1086

Answers (1)

Quicker
Quicker

Reputation: 1246

In your comments there are some approaches to edit on byte level. This requires advanced hacking and debugging tactics. Lots of this has to do with basic research which is based on adapt the source code in tiny steps, compile, compare the resulting code.

However when I read "...then edit original scripts..." in your question I wonder if you got the whole point: You edit your code in text format. You compile your text code into binary data which does not at all contain any of your original textual source code. Well more precisely, nothing eventually except data values (if this is not compressed). Decompilation could potentially transform the binary back into actionscript or other languages - BUT for the price of having sense less function and variable names and also sometimes also less meaningful algorithms (due to code optimization at compile time).

Upvotes: 1

Related Questions