Tutorial How to make a mod menu (modding tutorial)

sobogamer_2020

Approved Modder
Original poster
Approved Modder
Apr 6, 2022
383
14,744
1,193
23
Romania
Hello guys im sobo and as you've seen in the title today i will do a tutorial about modding
Tools that i've used:
1.Android studio (important)
2.Apk easy tool (important)
3.visual studio code (opțional)
4.Notepad++ (important)

All the link for these tools:
1. Download Android Studio and SDK tools | Android Developers
2. Apk Easy Tool
3. Here you don't need a link you can use notepad++ for this =)
4. Downloads | Notepad++

Note: 1.You need a PC to follow this tutorial
2. This tutorial is only for the ones who has the tools already set up
The game that we're gonna mod today is named: "Metroland"
Playstore link: MetroLand - Endless Arcade Run - Apps on Google Play


So first what's armeabi-v7a and arm64? (Basic info)
Arm64 apks are for 64 bit processors and it supports armeabi-v7a processors too
Armeabi-v7a apks are for 32 bit processors (Phones) that only supports Armeabi-v7a and thats why a lot of mods has only Armeabi-v7a for 32 bit processors
So thats why always Make mods for this type of processors for everyone to enjoy them 🙂

So first step:

Download the game from any website that has this game

But be sure to be armeabi-v7a because thats how what we will use in this tutorial :)


Screenshot_20220412-224327.png


2. Use apk easy tool to decompile it


ezgif-1-c2f5015a1a.gif


3. After this open the decompiled directory( You can find it easily by pressing "decompiled file directory" button) and you will see "lib" press on it and go to lib/armeabi-v7a and find the file named libil2cpp.so and drag and drop into the dumper

ezgif-1-4bf2e49832.gif


After that go back to the main menu and press assets-bin-Data-Managed-Metadata And drag and the file named global-metadata.dat and do the same thing.

After open android studio and the mod menu Release Mod Menu Template 2.6 · LGLTeam/Android-Mod-Menu And keep it Like it

4. Open the dump.cs file and press Ctrl+f and Search " energy" and Search it until You find this

Screenshot_20220412-232341.png

"get_eneryamount", "get_maxEnergyAmount" after this note them somewhere and download the txt file that i put down because there is a code that we will need to replace the codes
The method that im using for this tutorial is patcing, Like replacing a value with another value very easy and working for most of the games

5. Open android studio again And go to the main.cpp file and You will see this:


Screenshot_20220412-234127.png


The memory patch and replace it Like how its in the next photo



Screenshot_20220412-234352.png

Next follow this tutorial




After you did that scroll down till you see this:


Now lets customize our mod:

Now lets name our lib:


If you get this error here is the solution:



After this lets put the mod menu into the game:







The codes file : codes




Great job man You did it!
 
Last edited:

Retnuh9

Platinian
Apr 14, 2022
9
4
3
46
Philippines
I try to create kings of pool mod menu, but i did not continue.. I use MT manager, aide cmods, floating mod menu,ndk 64bit but i think MT manager must be VIP...
 

Kikuzyu

Rookie
Jun 12, 2022
3
0
1
21
Italy
Hi man I've tried following the guide but I am a little confused on where you used the "public int get_energyAmount()" in the code
Where do we have to add it. You didn't mention it in the videos
 

sobogamer_2020

Approved Modder
Original poster
Approved Modder
Apr 6, 2022
383
14,744
1,193
23
Romania
Hi man I've tried following the guide but I am a little confused on where you used the "public int get_energyAmount()" in the code
Where do we have to add it. You didn't mention it in the videos
In the hexpatch it has there
 

Kikuzyu

Rookie
Jun 12, 2022
3
0
1
21
Italy
In the hexpatch it has there
I'm trying to hack a different game, I found CrystalValue with numbers 0x10, GoldValue with numbers 0x14

I have to use 0x10 and 0x14 instead of 0x5D8CF0 and 0x5D8D20? Or do I have to find the offset differently?
The game is Sid Eternal, if you want we can speak on discord kimer#6797
 

sobogamer_2020

Approved Modder
Original poster
Approved Modder
Apr 6, 2022
383
14,744
1,193
23
Romania
I'm trying to hack a different game, I found CrystalValue with numbers 0x10, GoldValue with numbers 0x14

I have to use 0x10 and 0x14 instead of 0x5D8CF0 and 0x5D8D20? Or do I have to find the offset differently?
The game is Sid Eternal, if you want we can speak on discord kimer#6797
add me sobogamer#9741