This is the AMP version of this page.
If you want to load the real page instead, click this text.

Tutorial [Release](Newbee-Friendly)Modding Guide Assembly-CSharp.dll

IZeuz

Platinian On Fire
Original poster
Aug 18, 2017
227
176
43
28
Germany
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 http://www48.zippyshare.com/v/85PmgYRH/file.html
HxD ( google it ) this is a Hex Editor (Freeware)
IDA or IDA PRO Modded
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 http://www66.zippyshare.com/v/tdktNIxq/file.html

- Move it to this Folder




- Now Open the Command-Console




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




- 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.




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




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




- Now Open the Assembly File with HxD Editor and with IDA




Wait till IDA loaded the Assembly Completely




- 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 )




- 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.




- 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




- 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 "




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_

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.