1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Modding Unity & Its Dll's: Starter Pack + Tutorial

Discussion in 'Tutorials' started by Tallon007, Mar 10, 2015.

  1. Tallon007

    Tallon007 Member

    Joined:
    Mar 10, 2015
    Messages:
    51
    Likes Received:
    33
    [​IMG]

    Modding Unity & Its Dll's: Starter Pack + Tutorial (Tallon007)


    Just thought id put this together as not everyone who wants it may not have it :) Net Reflector Has been put into a Custom installer (I like to Piss about) lol, Anyway, Whats included is:

    Net Reflector v8.5 VSPro + Activator (For those Wishing The Latest Version)
    Net Reflector v8.2 (PreCracked But Older)
    Advanced ApkTool v4.1.
    Java SE v8 Build 31 DevKit

    Net Reflector relies on M$ .Net so ive included 4.5 in the install.. ApkTool is used to decompile/recompile apks, It does a lot more but thats the basic, Java is required for most things Apk so thats included also.. Download links are all ZippyShare & ive kept a backup in case there ever deleted..

    Setting up each program 1: (Net Reflector v8.5 VSPro)

    Run the installer, Program installs to C:\Program Files\ Once done start the program up & click Tools, Then Add-Ins, + Sign, Then navigate to the Addins folder & add Reflexil.. Once done Reflexil will be added.. Reflexil is used to make better sense of the Code that we wish to modify later..

    Setting up each program 2: (Advanced ApkTool v4.1.0)

    Extract the Advanced ApkTool folder from the Rar & put the folder into the Root of your main hard drive ( C:\Advanced ApkTool\ ) So its like this..

    Setting up each program 3: (Java SE v8 Build 31 DevKit)

    Extract the Exe to your dektop & install, Once done goto your Advanced ApkTool folder & double click the Advanced ApkTool.exe, This will check your installation is correct.. You should now have a basic setup for modifying Unity Based Android Games..

    Moddifying an Apk game's files using Reflector:

    Game we will be moddifying is (Bruce Lee Enter The Game v1.1.1.6359)
    Lucky Patcher was used to back the game up after installing it from the Playstore..

    Download Link (To the original Files)

    Download the files & extract them to your desktop, You will have the games Apk & its required Obb folder with its Obb file inside.. Open up the APK using Winrar so you have the same as the pic below..

    [​IMG]

    Now double click the assets folder, Then the Bin folder, Then the Data folder & finally the Managed folder, Then drag the Assembly-CSharp.dll to your desktop.. This is the file we will be Modding.. (You can copy the whole Managed Folder if you wish) ..


    Now double click Net Reflector & start the program up, Click tools & make sure youve added the Reflexil.dll correctly by making sure you see the same as the pic below..

    [​IMG]

    If youve the same carry on reading (If not go back to the top & re-read)

    Make sure you select Reflexil so it loads up inside Reflector, Youll notice a new box appear bottom center right.. Now take the Assembly-CSharp.dll that you put on your desktop & drag it into the left pane of the Net Reflector program, The pic above, You can see the dll's already loaded.. Now click Tools, Then Search & make sure you click the extra button top right so that its the same as the pic below..

    [​IMG]

    Now in the search bar I want you to type in get_softCurrency & then double click on the 1st result that pops up which should be (Get_softcurrency)-(CurrencyManager) Give it a few moments to load.. Youll notice the string we searched for has popped up at the bottom of the page allowing us to see the code that we are going to edit, Editting this correctly will load the amount we specify into the game.. See pic below..

    [​IMG]

    Under Opcode I want you to Right Click ( ldfld ) & delete it as we dont want this code loaded, Now right click ( ldarg.0 ) & click Edit, Under Opcode I want you to select ( idc.i4 ) & then for the Operand Type select Int32, Then under Operand I want you to put 99999999 & then click update

    (idc.i4 Pushes a supplied value of type int32 onto the evaluation stack as an int32 & the Operand is the amount your pushing..)

    If youve followed everything correctly what you should have will be the correct code for loading 999,999,999 Coins into the game.. See pic below to check..

    [​IMG]

    Now in the search bar I want you to type in get_hardCurrency & then double click on the 1st result that pops up which should be (Get_hardcurrency)-(CurrencyManager) Give it a few moments to load.. Youll notice the string we searched for has popped up at the bottom of the page allowing us to see the code that we are going to edit, Editting this correctly will load the amount we specify into the game.. See pic below..

    [​IMG]

    If youve followed everything correctly what you should have will be the correct code for loading 999,999,999 Jade Nuggets into the game.. See pic below to check..

    [​IMG]

    Now in the search bar I want you to type in get_energy & scroll down till you see (Get_Energy)-(EnergyManager) & double click it, Give it a few moments to load.. Youll notice the string we searched for has popped up at the bottom of the page allowing us to see the code that we are going to edit, Editting this correctly will load the amount we specify into the game.. See pic below..

    [​IMG]

    If youve followed everything correctly what you should have will be the correct code for loading 999,999,999 Hearts into the game.. See pic below to check..

    [​IMG]

    You start with 5 hearts & loose them as you fight, This will allow you to fight for as long as you wish without having to wait for them to regenorate..

    Once you have eddited those 3 things carefully use the slider to go back to where the Assembly-CSharp is in the left pane & right click it, Then goto Reflexil & click Save As making sure you (Save the file as Assembly-CSharp) Make sure you save the file to a different location to the original...

    Now you should have your moddified Dll ready for putting back into the APK
    For those of you who know how to sign an APK just go ahead & skip this part for those who dont, Read on...


    Open your Apk & naviate back to the Managed Folder, Drag & drop your modified file, Now we need to use the Advanced APKTools that we put in C:\ earlier, Take the Apk we have modded & put it in the 4-Done folder, Start the program & select number 4 to Sign the file, Once done place the newly modded Apk on your device remembering to also put any other files there like Obb or Data...

    The following are phrases that can be searched for, Im obviously missing lots as im also very new to this, If you find a new phrase you can always PM me & ill add it to the list..

    Coins
    Gold
    Gems
    Diamonds
    Cash
    Money
    Bucks
    get_XXX
    getXXX
    softCurrency
    hardCurrency
    get_softCurrency
    get_hardCurrency
    Soft Currency is the main currency
    Hard Currency is the premium currency


    Extra Credit Goes to DivineGamr for helping me with my first Mod
     
    #1 Tallon007, Mar 10, 2015
    Last edited: Mar 10, 2015
    kvnn, ImperiusVI, Terheji and 16 others like this.
  2. Tallon007

    Tallon007 Member

    Joined:
    Mar 10, 2015
    Messages:
    51
    Likes Received:
    33
    Only been modding Unity for a couple of weeks so this is as indepth as I can manage at the mo but it will allow someone to get to grips with very basic modding :)

    If someone knows how to Mod the unlimited Fury posting that would be great as I wouldnt mind knowing myself, I understand some of the code but not enough just yet..
     
    Keijie likes this.
  3. Tallon007

    Tallon007 Member

    Joined:
    Mar 10, 2015
    Messages:
    51
    Likes Received:
    33
    HaHa yeah I busted his balls real good on the very 1st game I attempted to mod :) Im still only learning, as in Basic, I have the mind for it but as ive found out proper modding info is like Rocking horse shit.....
     
  4. Tallon007

    Tallon007 Member

    Joined:
    Mar 10, 2015
    Messages:
    51
    Likes Received:
    33
    Yeah I seen all them lines as I searched for 2 hours & was pretty sure I was in the right place haha, But I was like a retard with a hardon, NOT sure what to do with it :( lol
     
    Terheji likes this.
  5. Tallon007

    Tallon007 Member

    Joined:
    Mar 10, 2015
    Messages:
    51
    Likes Received:
    33
    Aah very cool, Devine sort of tried explaining that but I hadnt got into it just yet... But very cool that youve said it, Nice to see helping people as im that way inclined myself :)
     
  6. Tallon007

    Tallon007 Member

    Joined:
    Mar 10, 2015
    Messages:
    51
    Likes Received:
    33
    Genius :) 0's & 1's lol
     
  7. Beast

    Beast i r noob

    Joined:
    Feb 28, 2015
    Messages:
    18
    Likes Received:
    0
    do u know what string should i search for Modding invalid moves in candy crush
     
  8. Tallon007

    Tallon007 Member

    Joined:
    Mar 10, 2015
    Messages:
    51
    Likes Received:
    33
    If you mean Me, Ive NO idea sorry, Not sure its something I would of thought to Mod either lol....
     
  9. Beast

    Beast i r noob

    Joined:
    Feb 28, 2015
    Messages:
    18
    Likes Received:
    0
    i saw it in candy crush saga hacked by riu..
     
  10. aidenpearce

    aidenpearce Guest

    Will do some advanced tuts when I get free, like recoding parts of code. Mainly using better tools like ilasm. ;)

    BTW hiyall instead of saying single you must say float but well its OK :)
     
  11. Beast

    Beast i r noob

    Joined:
    Feb 28, 2015
    Messages:
    18
    Likes Received:
    0
    how to Mod temple run 2 using this method?? plz post a tutorial..
     
  12. Tallon007

    Tallon007 Member

    Joined:
    Mar 10, 2015
    Messages:
    51
    Likes Received:
    33
    That tutorial took me nearly 3 hours to write out lol :) If temple run is a Unity game then youve more than enough info to get up of your arse & have a go :) That was the whole point of me doing it, To help people who help themselves....
     
    Terheji likes this.
  13. Tallon007

    Tallon007 Member

    Joined:
    Mar 10, 2015
    Messages:
    51
    Likes Received:
    33
    Ok does anyone know how to edit Drop amount within a game, Ive been given a few hints but nothing thats really helped, Ive searched the code for everything pertaining to Gold & cant find it, Also searched Dropitems & tried editing that but nothing in game was changed the drops were still 3 or 2 or 5 gold each time :(
     
  14. Tallon007

    Tallon007 Member

    Joined:
    Mar 10, 2015
    Messages:
    51
    Likes Received:
    33
    Am I even close....?
    [​IMG]
     
  15. Tallon007

    Tallon007 Member

    Joined:
    Mar 10, 2015
    Messages:
    51
    Likes Received:
    33
  16. Tallon007

    Tallon007 Member

    Joined:
    Mar 10, 2015
    Messages:
    51
    Likes Received:
    33
    Ok ive been looking at it for a while longer than i thought as there is a mod with free shoping now online haha.... :(
     
  17. Tallon007

    Tallon007 Member

    Joined:
    Mar 10, 2015
    Messages:
    51
    Likes Received:
    33
    Well im impressed, downloaded the free shopping mod & everything you click on it just buys regardless of what money I have, (feels shamed) lol

    Would sell my Granny to know how they did that....
     
  18. Tallon007

    Tallon007 Member

    Joined:
    Mar 10, 2015
    Messages:
    51
    Likes Received:
    33
    In game the items still have a cost beside them, as in the first weapon is 100 coins, next is 500 & so on but clicking them just buys & no money is taken lol.... im new so easily impressed but from my point of view its an awesome cheat...

    Non of them are in the code....

    Its ok anyway im sure ive bugged you enough lol :) It would be nice to understand but short of it being explained I dont think im gonna find the differences as ive been looking for quite a while now....
     
    #18 Tallon007, Mar 11, 2015
    Last edited: Mar 11, 2015
  19. Tallon007

    Tallon007 Member

    Joined:
    Mar 10, 2015
    Messages:
    51
    Likes Received:
    33
    :boolean Searched that & NO hits at all...... Also searched : Boolean No hits at all..... ggrrrr
     
  20. Tallon007

    Tallon007 Member

    Joined:
    Mar 10, 2015
    Messages:
    51
    Likes Received:
    33
Loading...
  • About Us

    Android Republic - Android Game Mods - Offering only the most advanced and exclusive android mods, protections like Xigncode are easily bypassed by our team.

    Exclusive Android Mods, android protections are no problem for us, only the best available games, here you will find only the best games such as Kritika, Summoners War, Raven, Dragon Striker, Avabel, Evil Bane, 7knights and seven knights, Darkness Reborn, Soul Seeker all fully modded and waiting for you! easy xigncode and dxshield bypass too!
  • Like us on Facebook