Tutorial [RELEASE] MODDING GUIDE ASSEMBLY-CSHARP.DLL

KingT

Retired
Hi guys with this Guide i will show you in Pictures how to learn Basic Modding, hopefully you will understand this better than the other Guides which are hard to Understand.

We start with the needed Tools:

APK-Manager apmanagerdd.rar
HxD ( google it ) this is a Hex Editor (Freeware)
IDA or IDA PRO Cracked
Download IDA PRO exe
install pass: itJpyHidszaR

Winrar/7zip :: most have this but for those who dont, just google it

Now we can start...

First you need an APK to Mod, in this Guide we take Baymax Bot Fight
_____________________________________________________
- Download the APK com.disney.bighero6botfight_goo-267.apk

- Move it to this Folder
j5htsh.jpg


- Now Open the Command-Console
10cokf6.jpg


- Now we enter " 22 " to pick the Project we want to work on and then enter " 1 "
2qd8ye0.jpg


- Now we Configure the Heap-Size to 1024 ( this is needed to Sign correctly later on )
Enter " 20 " and then " 1024 " and press Enter to Configure it.
2q152le.jpg


- Now we Extract the APK to the Projectfolder while we Enter " 1 "
n39647.jpg


- Now goto Project Folder and Find the Assembly.CSharp.dll
24lsmkh.jpg


- Now Open the Assembly File with HxD Editor and with IDA
bhxhg2.jpg


Wait till IDA loaded the Assembly Completely
2nlg3l4.jpg


- Now we look for Codes that could increase our Damage in IDA, in this Game we got Combo Bonus which increases the Damage, lets look for "Combo" or "Multiplier"
- We Found GetComboMultiplier Function, thats the one we will Mod now, in the following Picture you will see which Adress/Value is for Combo Bonus ( it is the ldc.r41.0) ( in hex it is 22 00 00 80 3F )

- Now we will change this 1.0 to a higher Value, in this case we need a Hex Value which is higher than 1.0, lets look for a higher Value in the IDA, Search for the Value 1000.0 and check its Hex Value ( it should be 22 00 00 7A 44 )
fyq3j9.jpg


- Goto Hex Editor and Search for the Adress of the 1.0 Value with the Help of IDA where we could see the Adress of this Value and once you find it, change it from 22 00 00 80 3F to22 00 00 7A 44
If you did everything correct till now, you changed the 1.0 to 1000.0 and now the Damage we do is 999 times Higher than before.
2ljkd9z.jpg


- We are done Modding, now we need to move the Edited Assembly File to the APK Folder and Save it.
Make a Copy of the Assembly-CSharp.dll which you edited onto your Desktop and move it to the APK
Folder by Opening it via Winrar/7zip
141nk88.jpg


- Almost done....now open the Command-Console ( hopefully you didnt close it right from the start )
(If you had Closed the Console by mistake than just open it and Enter 22 and than 1 to select Project
Enter 20 to set Heap-Size again to 1024 and follow now the guide further...)
Enter 7 and then 2 and press Enter, the Console will now re-sign and repack the APK together.
If done correctly, a new APK file be in the Folder " place-apk-here-for-modding " just ranamed with " signed "
2im28mv.jpg


We are done Modding, i hope this will help some people to learn Modding.
You can use this Method to find Values and Change them.
Functions you can search are example: Damage, Stats, Hero , HP, ATK, Health, Drop, Critical, _get or get_

If you have problems with APK-Manager not working proper check this Video out on Youtube.



NOTE:
Keep in Mind, not every Game has Assembly-CSharp.dll
Also some Games have Assembly-CSharp.dll but they Contain only Serverbased Functions, which means you cant Mod every Game.


Credit : goddixa
 
Why not use dnSpy or Reflector* and APK easy tool? it's much faster and time saver

I've been using dnspy to dissect the game "Real Steel WRB" on an older version. The APK works fine, and it comes pre modded, but I'm trying to undo the changes made previously. I have made the changes successfully, but im having issues with importing the modified assembly c# dll back into managed. Reason being is somewhere in saving the module with dnspy after changes have been made, when trying to load my new apk back into BlueStacks its giving me and installation error. Im thinking this might be due to how dnspy is saving the file because the post modified version of the DLL is smaller, but i digress. Have you encountered this issue before?
 
I've been using dnspy to dissect the game "Real Steel WRB" on an older version. The APK works fine, and it comes pre modded, but I'm trying to undo the changes made previously. I have made the changes successfully, but im having issues with importing the modified assembly c# dll back into managed. Reason being is somewhere in saving the module with dnspy after changes have been made, when trying to load my new apk back into BlueStacks its giving me and installation error. Im thinking this might be due to how dnspy is saving the file because the post modified version of the DLL is smaller, but i digress. Have you encountered this issue before?
Nevermind... APK Easy seemed to fix the issue using its compile/decompiling features.
 
Back
Top Bottom