Requirements:
[You must be registered and logged in to see this link.]GETTING THE NEEDED FILES
The first program we have to use is CharlesProxy.
Steps:
Run Charles.
Open Ninja Saga on any browser.
Charles will now start capturing data transmitted, and show you its resources.
Go back to the browser and play Ninja Saga for awhile so we will get many information we need.
(ex. browse all pages of shop, do many missions or open all buildings)
Go back to Charles , look for “http://cdn.static.ninjasaga.com” there all the information you just opened from Ninja Saga will be stored.
Expand (+) “http://cdn.static.ninjasaga.com” you will find the ff. subfolders “css/” and “swf/”
Expand (+) “swf/” you will find the subfolder of the current version of the game (ex. 2.2.8703/). Under that you will find another “swf/” folder, and after that you will find the ff “library, actions, skills, items, pets & more” folders.
To download all this information right click on “http://cdn.static.ninjasaga.com” > save all > save to your desired folder.
Now you have the files you need to start hacking.
DECOMPILING SWF FILES
Now that we have the files we need. lets start decompiling.
Install SoThink SWF Decompiler.
Now that your done installing it go to the .swf files you have just saved.
Choose any .swf files then right click > SoThink SWF Decompiler. (for the sake of an example lets open /swf/actions/action_base.swf)
Now SoThink will open your file.
On the right side[resource panel] you will see action_base.swf.
Expand (+) action_base.swf.
Find the Action folder then expand (+) it. This contains the ActionScript3.0.
Action Script 3.0
What are action scripts? read this.
Every .swf file contains an Action folder.
Everything under the Action folder, are action scripts the codes that run this game.
Choose any script under the action folder.
When you choose a script the main panel will show you alot of texts, this are the codes. But you cant edit this yet.
Browse through it, see and understand the code.
EDITING SWF FILES
Now lets go on to editing.
Convert SWF to FLA.
SWF files are not editable, so first we need to convert it to FLA.
Go to your SWF files and Right click > Convert to FLA.
Save it somewhere convenient.
Editing Proper
Now that we have the FLA file, lets start editing.
Open Adobe Flash Professional.
Go to where you saved your FLA file and look for the action folder and choose the .as file you want to edit & dbl click it.
Now the .as file is opened on Adobe Flash, you can start editing it.
Saving | Exporting back to SWF
Now if your done editing, go to your main fla file.
Go to File menu > Export > export as SWF
SAVE!!!
Enjoy editing swf ^^