Page 1 of 4 123 ... LastLast
Results 1 to 15 of 50
  1. #1
    6david7's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    68
    Reputation
    10
    Thanks
    16

    SWF Editing Tutorial

    Note: Found at Elit****.com ( NOT MINE ) i edited to specificly hack ROTMG

    I welcome all who want to learn how to edit SWF files.

    I use the same program DarkCube does to edit SWF's. It is RABCDASM. This program disassembles the ActionScript from the SWF file to enable editing. The ActionScript contains all the juicy stuff you want to edit, like costs and production times.

    Here is a link to the RABCDASM download page : https://******.com/CyberShadow/RABCDAsm/downloads
    There is a readme file in the directory called README.md which you can open in a text editor, such as Notepad++. It is very helpful. For my short tutorial here I am going through the commands shown in the README file.

    Here is a quick tutorial for after you have downloaded and extracted RABCDASM.

    1. Open up a Command Prompt window (CMD.exe)
    2. navigate to the directory where you extracted RABCDASM. (Use cd "Directory here" and cd ... to go back)
    3. Put the SWF you want to edit, in this case doggy.swf, in the RABCDASM directory

    4. You must disassemble the ActionScript from the SWF. Do this with the following command in the Command Prompt (using your own swf in the place of doggy.swf):

    abcexport doggy.swf

    5. This creates the file named 'doggy-1.abc'
    6. You then enter the following command into the Command Prompt to disassemble the abc file:

    rabcdasm doggy-1.abc

    7. This creates an export directory named 'doggy-1' which contains all of the files you will be editing and ultimately reassembling into the hacked swf file.
    7.5 Go to the doggy-1 (or whatever the name of your swf is) directory and find the files you want to change. Edit them with a text editor or a program like Notepad++.
    8. Once you have made the changes you like then you will use two files of interest, 'file-1.main.asasm' (the main program file) and `doggy-1.main.abc`
    9. You now need to assemble the edited ActionScript classes back into a usable SWF file. To do this, enter the following commands into the Command Prompt:

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

    This includes the spaces and one between the two parts of the abcreplace command

    Now you have a hacked SWF! It's name is the name of the original SWF file that you copied into the RABCDASM directory.

    Good luck hacking! Ask questions if you have them.
    Last edited by 6david7; 06-19-2013 at 12:56 PM.

  2. The Following 11 Users Say Thank You to 6david7 For This Useful Post:

    75dragon (06-25-2013),9alexua9 (07-30-2013),[MPGH]Beex (08-07-2013),Fawflance (08-29-2015),Kaene (06-18-2014),kristijonassu (07-03-2016),PAXMA (10-18-2016),Raple (10-14-2013),sacredmike (09-14-2014),samsonreal (03-27-2017),Starke (12-12-2013)

  3. #2
    ramon766's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    5
    Reputation
    10
    Thanks
    1
    My Mood
    Yeehaw
    ok i know this is a nobby question but how do i navigate to the directory where you extracted RABCDASM with the cmd?

  4. #3
    rubannathan's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Posts
    18
    Reputation
    10
    Thanks
    2
    My Mood
    Hungover

    Exclamation

    i have a problem... i disassembled the swf in client-1 file and edited it.

    but while reassembling cmd says 'cannot find the file specified' .

    i manually checked the client-1 file i didn't find client-1.main.asasm



    note: i couldn't decompress new clients doing that gave me an error saying 'already decompressed'

    i have downloaded new rabcdasm file still having problem
    Last edited by rubannathan; 06-19-2013 at 12:49 AM.

  5. #4
    jakerofl's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Posts
    286
    Reputation
    10
    Thanks
    149
    To change a directory, type in command prompt: cd directoryhere ( cd C:/users/x/downloads/rotmg/new folder/RABCDASM_v1.13 )

    ---------- Post added at 03:48 AM ---------- Previous post was at 02:32 AM ----------

    The main.asasm file isn't in the Rabcdasm folder, it's in the sub folder client-1

    So to use the file, you type client-1/client-1.main.asasm instead of just client-1.swf

    ---------- Post added at 04:42 AM ---------- Previous post was at 03:48 AM ----------

    P.S. Why is this not a sticky?!!?
    Last edited by jakerofl; 06-19-2013 at 03:49 AM.

  6. #5
    6david7's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    68
    Reputation
    10
    Thanks
    16
    Rubannathan, you probably broke the client. Check ALL the code you implemented to be sure you did everything right. Then try again.

  7. #6
    iwantyourkandy's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Location
    CaliBay
    Posts
    308
    Reputation
    10
    Thanks
    155
    My Mood
    Devilish
    @6david7 add me on skype please i have some questions. ksixdreamx4

  8. #7
    gainb's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    202
    Reputation
    10
    Thanks
    519
    Help, I try to recompile the client and I get this error
    Code:
    C:\rabcdasm>rabcdasm client-1/client-1.main.asasm
    object.Exception@abcfile.d(1000): Error at 17463 (0x4437):
    ----------------
    0x0044C5D0
    0x0044C45B
    0x00411156
    0x004020F5
    0x00432904
    0x0043293E
    0x00432552
    0x0045B9F5
    0x769B33AA in BaseThreadInitThunk
    0x77629EF2 in RtlInitializeExceptionChain
    0x77629EC5 in RtlInitializeExceptionChain
    ----------------
    object.Exception@abcfile.d(1152): Unknown Multiname kind
    ----------------
    0x0044C5D0
    0x0044C45B
    0x00411917
    0x75FFDD54 in ReadFile
    0x75FFDDA6 in ReadFile
    ----------------
    I tried purely decompiling/recompiling without edits and same error.
    Last edited by gainb; 06-19-2013 at 02:46 PM.

  9. #8
    6david7's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    68
    Reputation
    10
    Thanks
    16
    I do not have Skype

    ---------- Post added at 05:28 PM ---------- Previous post was at 05:27 PM ----------

    Also, has anyone got this to work? Seems as if too many people get errors

  10. #9
    Nisuxen's Avatar
    Join Date
    May 2012
    Gender
    male
    Posts
    164
    Reputation
    10
    Thanks
    95
    Yay another rabcdasm guide.

  11. #10
    75dragon's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Posts
    210
    Reputation
    10
    Thanks
    7
    If this works it really should be a sticky.

  12. #11
    jakerofl's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Posts
    286
    Reputation
    10
    Thanks
    149
    Of course it works... But the people that actually got it to work didn't bother leaving a thanks in the comments...except for me. THANKS.

  13. #12
    Zasx's Avatar
    Join Date
    Mar 2013
    Gender
    male
    Location
    Northern Italy
    Posts
    1,379
    Reputation
    10
    Thanks
    442
    My Mood
    Yeehaw
    Quote Originally Posted by gainb View Post
    Help, I try to recompile the client and I get this error
    Code:
    C:\rabcdasm>rabcdasm client-1/client-1.main.asasm
    object.Exception@abcfile.d(1000): Error at 17463 (0x4437):
    ----------------
    0x0044C5D0
    0x0044C45B
    0x00411156
    0x004020F5
    0x00432904
    0x0043293E
    0x00432552
    0x0045B9F5
    0x769B33AA in BaseThreadInitThunk
    0x77629EF2 in RtlInitializeExceptionChain
    0x77629EC5 in RtlInitializeExceptionChain
    ----------------
    object.Exception@abcfile.d(1152): Unknown Multiname kind
    ----------------
    0x0044C5D0
    0x0044C45B
    0x00411917
    0x75FFDD54 in ReadFile
    0x75FFDDA6 in ReadFile
    ----------------
    I tried purely decompiling/recompiling without edits and same error.
    ...did you just tried to decompile an .asasm file?

  14. #13
    JustAnoobROTMG's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    1,916
    Reputation
    185
    Thanks
    18,230
    Quote Originally Posted by gainb View Post
    Help, I try to recompile the client and I get this error
    Code:
    C:\rabcdasm>rabcdasm client-1/client-1.main.asasm
    object.Exception@abcfile.d(1000): Error at 17463 (0x4437):
    ----------------
    0x0044C5D0
    0x0044C45B
    0x00411156
    0x004020F5
    0x00432904
    0x0043293E
    0x00432552
    0x0045B9F5
    0x769B33AA in BaseThreadInitThunk
    0x77629EF2 in RtlInitializeExceptionChain
    0x77629EC5 in RtlInitializeExceptionChain
    ----------------
    object.Exception@abcfile.d(1152): Unknown Multiname kind
    ----------------
    0x0044C5D0
    0x0044C45B
    0x00411917
    0x75FFDD54 in ReadFile
    0x75FFDDA6 in ReadFile
    ----------------
    I tried purely decompiling/recompiling without edits and same error.
    rabcdasm : Decompile
    rabcasm : Compile.

    Process explained

    first you need to uncompress the SWF using swfdecompress
    then you must extract the CODE from the swf with abcexport, you will find abc files( compiled code )
    then you decompile the biggest abc file with rabcdasm.

    A <myfile-X> folder is created with the source files decompiled from <myfile>.swf.
    Due to a recent DMCA takedown attempt we had to remove Faintmako brain. Please do not paid attention to what he say or do.


  15. The Following User Says Thank You to JustAnoobROTMG For This Useful Post:

    gainb (06-24-2013)

  16. #14
    75dragon's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Posts
    210
    Reputation
    10
    Thanks
    7
    @Hux/nilly please sticky this. Found this to be the first guide that was good at explaining how to use rabcdasm well.
    A reason people might not thx you is because you took this off another website. But It worked well. Your first thx from me!

  17. #15
    MPG Vortex's Avatar
    Join Date
    May 2013
    Gender
    male
    Posts
    471
    Reputation
    49
    Thanks
    35
    My Mood
    In Love
    It wont work for me. Maybe I am stupid. Bc I cant find like line 2000 Like people post on source code.

  18. The Following User Says Thank You to MPG Vortex For This Useful Post:

    kristijonassu (07-03-2016)

Page 1 of 4 123 ... LastLast

Similar Threads

  1. Combat Arms .REZ Editing Tutorial
    By why06 in forum Combat Arms Mod Tutorials
    Replies: 472
    Last Post: 06-08-2012, 09:44 PM
  2. [Request] .rez edit tutorial
    By Lonesome Cowboy in forum CrossFire Mods & Rez Modding
    Replies: 6
    Last Post: 07-23-2010, 06:42 PM
  3. [VID]TEXTURE EDITING TUTORIAL!!!!!!!!!
    By JustTheWind in forum Battlefield Heroes Hacks
    Replies: 11
    Last Post: 07-27-2009, 06:49 AM
  4. Clarifying CA texture editing(tutorial)
    By Remorse in forum Combat Arms Hacks & Cheats
    Replies: 8
    Last Post: 05-10-2009, 11:10 AM
  5. Edited Tutorial: Bypass (Perm)
    By SpiderByte in forum WarRock - International Hacks
    Replies: 24
    Last Post: 01-28-2006, 04:36 AM