[Tutorial] Editing SWF

12/28/2011 12:11 jackgaray19#1
Tools Needed:

• Notepad++ [Only registered and activated users can see links. Click Here To Register...]
- It's not necessary to download this tool but It makes your work easily and you can download them less a minute.

• Rabcdasm [Only registered and activated users can see links. Click Here To Register...]
- This is a VERY IMPORTANT tool which will be used for editing. Downloading them are less 3 minutes.
~ Note: You can't edit the said SWF file without this


Steps:
1. Upon dl this programs, extract rabcdasm folder and install notepad++
2. Goto your desktop and create a folder named BYM or my name if you like LOL
3. open this folder and paste here some .exe from the folder rabcdasm
BYM folder should consist of:
abcexport.exe
abcreplace.exe
rabcasm.exe
rabcdasm.exe
fresh swf files for example: game-v120.v31.swf
extract.bat
compile.bat

how to create .bat files

create a new txt document each

in extract write this
abcexport game-v120.v31.swf
rabcdasm game-v120.v31-0.abc

in compile write this
rabcasm game-v120.v31-0\game-v120.v31-0.main.asasm

In Extract write this
abcreplace game-v120.v31.swf 0 game-v120.v31-0\game-v120.v31-0.main.abc
del /q /f game-v120.v31-0.abc
pause

EDITING

4. after completing requirements above.. double click extract.bat
5. after the CMD screen vanished, there will be a new folder popups
6 Open that folder and edit some on of the *.asasm files

Here are some to be edited
BASE.class.asasm
BFOUNDATION.class.asasm
BRESOURCE.class.asasm
BTOWER.class.asasm
BUILDING5.class.asasm
BUILDING6.class.asasm
BUILDING8.class.asasm
BUILDING9.class.asasm
BUILDING10.class.asasm
BUILDING11.class.asasm
BUILDING13.class.asasm
BUILDING15.class.asasm
BUILDING16.class.asasm
BUILDING19.class.asasm
BUILDING22.class.asasm
BUILDING23.class.asasm
BUILDING26.class.asasm
BUILDING51.class.asasm
BUILDING115.class.asasm
BUILDING118.class.asasm
CREATURELOCKER.class.asasm
GLOBAL.class.asasm
CHAMPIONCAGE.class.asasm
MONSTERLAB.class.asasm
QUESTS.class.asasm

Under this you will see the cost, time, production, capacity
pushstring "twigsnapper_desc"
pushstring "costs"
pushstring "r1"
pushbyte 0
pushstring "r2"
pushbyte 1 THIS IS COST 1 PEBBLES
pushstring "r3"
pushbyte 0
pushstring "r4"
pushbyte 0
pushstring "time" THIS IS INSTANT BUILD
pushbyte 1
pushstring "re"
pushbyte 14

pushstring "produce" THIS IS THE DOUBLE RESOURCES
pushshort 7200
pushshort 21600
pushint 56700
pushint 133650
pushint 291600
pushint 601420
pushint 1189180
pushint 2275840
pushint 4244140
pushint 7750180
pushstring "cycleTime" THIS IS INSTANT RESOURCES
pushbyte 1

pushstring "capacity" THIS IS THE DOUBLE CAPACITY
pushshort 7200
pushshort 21600
pushint 56700
pushint 133650
pushint 291600
pushint 601420
pushint 1189180
pushint 2275840
pushint 4244140
pushint 7750180

pushstring "repairTime" THIS IS INSTANT REPAIR
pushbyte 1
pushbyte 1
pushbyte 1
pushbyte 1
pushbyte 1
pushbyte 1
pushbyte 1
pushbyte 1
pushbyte 1
pushbyte 1

NOTE: do this on all resources

HACK CHECKS
this can be found in .main and .privatens
remove this completely
;#include "CHECKER.script.asasm"
; QName(PackageNamespace(""), "CHECKER")
;#privatens 270 "CHECKER"
; QName(PackageNamespace(""), "CHECKER") -> QName(PackageNamespace(""), "Check")
;#privatens 277 "CHECKER/Check"

COMPILE

click compile.bat
CMD will popup and the .abc files will be vanished

END

Now you will have a moded swf files to be used in fiddler or charles.
Although i did not show you all some in editing the swf, in process you will find out by your own.


Credits to:
jackgaray19(Me) - Releasing them
DarkCube for editing them
Inconnus - the tutorial



Note:
~ Save the tutorial in your notepad or somewhere else because this tutorial will be deleted after 24 hours.
~ KIXEYE might see this.
~ If you have some questions or trouble just go to google and search Inconnus.




You can also edit this with Adobe Flash Professional but i'm tired making a tutorial of it It's really complicated but easier in using it.

- [Only registered and activated users can see links. Click Here To Register...] ~ The BEST AQW PS Ever! (I am the owner of that server :)
12/28/2011 13:29 lordgan666#2
can i use that method in hacking Tetris Battle??
12/28/2011 15:47 Dark Cube#3
jack you are being lazy again. not funny
12/28/2011 22:58 morsol01#4
sir what if i edit the not updated swf file for Bym hack... it will be updated after the editing?
12/28/2011 23:06 Dark Cube#5
yes... it will :)

that's what you should do.. edit the fresh swf to a modified swf
12/28/2011 23:18 morsol01#6
ah sir for example if i edit this 120volts_by_darkcube example only.. this swf v20 can be use in v22???
12/29/2011 00:14 Dark Cube#7
yes it can still be used... but if the version 120 was changed to 121 you cant use it anymore.. it means they added some changes in the game.. or updated.
12/29/2011 02:25 jannqq#8
damg!! Can I ask something? why I cant Open the Rabcdasm?
12/29/2011 02:34 morsol01#9
ahhh..now i know.. and i want also to learn on how to create or update a hack in bym... sir dark what are your tools or program need to create a hack in bym??
12/29/2011 08:47 Dark Cube#10
Quote:
Originally Posted by jannqq View Post
damg!! Can I ask something? why I cant Open the Rabcdasm?
it can be opened if you make a .bat files

Quote:
Originally Posted by morsol01 View Post
ahhh..now i know.. and i want also to learn on how to create or update a hack in bym... sir dark what are your tools or program need to create a hack in bym??
hahahahaha it was there at the top of this thread, rabcdasm and notepad.... you dont give too much to jackgaray that's why you didn't see
12/29/2011 08:49 agony023#11
boss dc pde pa send ng link ng swf editting tut mo??
12/29/2011 08:54 Dark Cube#12
@agony this is my tutorial... jackgaray posted again
12/29/2011 09:15 chanpaul#13
hi sir., can you teach me how to get the raw xml file using fiddler please.
12/29/2011 10:59 owsdinga145#14
Hey Im confuse with the .bat program
why is there 2 extract?
12/29/2011 12:03 tagapaslang FD#15
Quote:
Originally Posted by owsdinga145 View Post
Hey Im confuse with the .bat program
why is there 2 extract?

you release a hack there but still you are confuse?.. interesting :rolleyes: