HelpSWF Decompiling Tutorial

Posts 115 of 18 · Page 1 of 2
SWF Decompiling Tutorial
Dunno how to do this, and I want to learn.
If there is a tut, please link me to it.

~Trollaux
There are plenty of tutorials if you look for them, and this is also the reason why you probably have no replies yet. People get tired of the same questions being asked and people not having a good go at trying to search themselves, and trying to come back with "I've looked an can't find any". And as far as RABCDasm goes, I'm pretty confident that even good ol' Google can help.

But anyway.....

RABCDAsm

: Download SWF :

Among learning RABCDasm, you will also need to know how to get an up to date .swf from the game.
Learn how from [[HERE]]

: Download RABCDasm :

Download RABCDAsm [[HERE]]
Extract the contents of the RABCDAsm to an easy to find folder, such as c:\rabcdasm\

: Decompile client :

Copy the .swf file into the rabcdasm folder, and name it 'client.swf' (without the '')
Open a Command Prompt - from Start menu - Run
Type:
cmd
Press Enter
Point at your RABDCAsm folder by typing:
cd c:\rabcdasm
Press Enter
Type these commands one at a time into the command prompt, followed by pressing Enter after each:

swfdecompress client.swf
abcexport client.swf
rabcdasm client-1.abc


You should now have a decompiled .swf, with client-0.abc, client-1.abc, and a client-1 folder. The client-1 folder is where you will find all sub directories containing the files you will edit/modify.
Sometimes there will be posts with updated codes, these codes 'should' also have the file name to edit and also the files address/location.

From what I've seen in other posts, Notepad++ or (Astrogrep - uses command-line), are programs that can help locate strings of text within files within directories.

Once you have added your codes, you are ready to compile your file back into a 'hopefully' working client.

: Compile client :

Back in command prompt, type these commands one at a time, followed by pressing Enter after each:

rabcasm client-1/client-1.main.asasm
abcreplace client.swf 1 client-1/client-1.main.abc


And that should be about it i think.. I apologise if I have left anything out. Right now I dont think anyone has yet posted any of the updated codes for version 13.2, but that doesnt mean you can't practice, getting an up to date .swf and learn to decompile and compile it. I think one of the links above also has how to change your client from TESTING to Production, using Yogda (with link).

Other than that, take your time. And if you see others asking this same question in future, you can do us all a favour and pass this on.... until you get tired of it lol
Quote Originally Posted by Cyeclops View Post
There are plenty of tutorials if you look for them, and this is also the reason why you probably have no replies yet. People get tired of the same questions being asked and people not having a good go at trying to search themselves, and trying to come back with "I've looked an can't find any". And as far as RABCDasm goes, I'm pretty confident that even good ol' Google can help.

But anyway.....

RABCDAsm

: Download SWF :

Among learning RABCDasm, you will also need to know how to get an up to date .swf from the game.
Learn how from [[HERE]]

: Download RABCDasm :

Download RABCDAsm [[HERE]]
Extract the contents of the RABCDAsm to an easy to find folder, such as c:\rabcdasm\

: Decompile client :

Copy the .swf file into the rabcdasm folder, and name it 'client.swf' (without the '')
Open a Command Prompt - from Start menu - Run
Type:
cmd
Press Enter
Point at your RABDCAsm folder by typing:
cd c:\rabcdasm
Press Enter
Type these commands one at a time into the command prompt, followed by pressing Enter after each:

swfdecompress client.swf
abcexport client.swf
rabcdasm client-1.abc


You should now have a decompiled .swf, with client-0.abc, client-1.abc, and a client-1 folder. The client-1 folder is where you will find all sub directories containing the files you will edit/modify.
Sometimes there will be posts with updated codes, these codes 'should' also have the file name to edit and also the files address/location.

From what I've seen in other posts, Notepad++ or (Astrogrep - uses command-line), are programs that can help locate strings of text within files within directories.

Once you have added your codes, you are ready to compile your file back into a 'hopefully' working client.

: Compile client :

Back in command prompt, type these commands one at a time, followed by pressing Enter after each:

rabcasm client-1/client-1.main.asasm
abcreplace client.swf 1 client-1/client-1.main.abc


And that should be about it i think.. I apologise if I have left anything out. Right now I dont think anyone has yet posted any of the updated codes for version 13.2, but that doesnt mean you can't practice, getting an up to date .swf and learn to decompile and compile it. I think one of the links above also has how to change your client from TESTING to Production, using Yogda (with link).

Other than that, take your time. And if you see others asking this same question in future, you can do us all a favour and pass this on.... until you get tired of it lol
OMFG TY! I have been trying to figure out rabdcasm forever!
Not to necro bump this thread, but when I follow your link to the RABCDAsm Github, it says "There aren’t any uploads for this repository." Is there anyway I can get these files?
When I look around that github, I find the master file, and I downloaded that but none of the .exe's I need are in there...so I am sort of stuck...
:/
Quote Originally Posted by aliampolizzi View Post
Not to necro bump this thread, but when I follow your link to the RABCDAsm Github, it says "There aren’t any uploads for this repository." Is there anyway I can get these files?
When I look around that github, I find the master file, and I downloaded that but none of the .exe's I need are in there...so I am sort of stuck...
:/
If you went back a page and looked on the right hand side, you would have seen the option to download in .zip format.

https://github.com/CyberShadow/RABCD...ive/master.zip
Quote Originally Posted by aliampolizzi View Post
Not to necro bump this thread, but when I follow your link to the RABCDAsm Github, it says "There aren’t any uploads for this repository." Is there anyway I can get these files?
When I look around that github, I find the master file, and I downloaded that but none of the .exe's I need are in there...so I am sort of stuck...
:/
What .exe's? There arent suppost to be any .exe files...
Quote Originally Posted by SwedenDaze View Post
If you went back a page and looked on the right hand side, you would have seen the option to download in .zip format.

https://github.com/CyberShadow/RABCD...ive/master.zip
@SwedenDaze stop posting link to direct downloads. It's against the rules (like the swf you linked in a couple other threads). If you want to post a download on this site, attach it here with some virus scans and wait for approval like everyone else. Outside links like that are not allowed. I'll let the link you posted above slide since I know it's safe.
Quote Originally Posted by nilly View Post
@SwedenDaze stop posting link to direct downloads. It's against the rules (like the swf you linked in a couple other threads). If you want to post a download on this site, attach it here with some virus scans and wait for approval like everyone else. Outside links like that are not allowed. I'll let the link you posted above slide since I know it's safe.
All links I post safe. You think I care at all to infect someone's PC? Give me a break. It wasn't even a direct download link either. It'd be the same as giving out the http://www.realmofthemadgod.com/AGCLoader1378538045.swf link.

Well whatever. Not my fucking loss.
Quote Originally Posted by SwedenDaze View Post
All links I post safe. You think I care at all to infect someone's PC? Give me a break. It wasn't even a direct download link either. It'd be the same as giving out the http://www.realmofthemadgod.com/AGCLoader1378538045.swf link.

Well whatever. Not my fucking loss.
Under that reasoning, if someone says that their files are safe, we all should believe they are safe right? I'm not saying the files you posted aren't safe. I'm just saying there are rules to follow when posting such files so we at mpgh can ensure, to the best of our ability, that files on this site are safe to use.
Quote Originally Posted by nilly View Post
Under that reasoning, if someone says that their files are safe, we all should believe they are safe right? I'm not saying the files you posted aren't safe. I'm just saying there are rules to follow when posting such files so we at mpgh can ensure, to the best of our ability, that files on this site are safe to use.
Nilly this is a necrobump from when I was a nubby client leacher. Just close or delete it, maat pm'ed me because he was too stupid to look at the post date.
i unplug my swf file from my game website and i edited it with RABCDasm but when i go back to my browser the game is still normal and not edited please help?
Quote Originally Posted by machir23 View Post
i unplug my swf file from my game website and i edited it with RABCDasm but when i go back to my browser the game is still normal and not edited please help?
Hmm..did you recompile/reassemble the client when you finished editing it?
Well, I found the .exe's I needed in an old client hexer I downloaded a while back, and It works now, so Trollaux ... Um, the .exe's that share a name with the .D files, just instead it is an .exe I cant see how it is not supposed to come with those, due to it not working without them.
Also, Sweedendaze, I did download that ( originally ) I know how to download a file...Just not how to use it when the files I needs aren't there.
Quote Originally Posted by aliampolizzi View Post
Well, I found the .exe's I needed in an old client hexer I downloaded a while back, and It works now, so Trollaux ... Um, the .exe's that share a name with the .D files, just instead it is an .exe I cant see how it is not supposed to come with those, due to it not working without them.
Also, Sweedendaze, I did download that ( originally ) I know how to download a file...Just not how to use it when the files I needs aren't there.
RABCDAsm doesn't have any exes, you run the files as they are via command prompt with run parameters..
Posts 115 of 18 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?