21 February 2016

[Tutorial] How to modify .csv files from an Android game

Hello dear community,

I will show you how to edit .csv files using Notepad++. It is very easy to mod.

Please note that not all games are made in CSV.

First of all, you need:

Notepad++ installed on your computer. Download it from: HERE

WinRAR installed on your computer. Download it from: HERE

App Backup & Restore app installed on your Android device. Download it from: HERE

Understand how CSV file works. You can read it HERE

Part 1: Extract CSV files from the APK file

In this tutorial, the app "Piano Tiles 2" will be used as example.

Backup the APK file using App Backup & Restore, connect your device to your computer, and transfer the APK file to your computer

Right click on the APK file, select Open with -> Choose another app (see screenshot below):

Image 

Now click on More apps and Look for another app on PC (see screenshots below):

Image

Image

Find the path where WinRAR is installed (usually C:/Program Files/WinRAR) and click "Open". This way, WinRar will show you the content of the .apk file (see screenshot below):

Image

Part 2: Extract .csv files

Find the .csv files inside the APK file. If you find it, select all .csv files and copy them into a path (or folder) that you can easily access (see screenshot below):

Image 

Part 3: Open .csv files with Notepad++

IMPORTANT: Do not open .csv files with Excel because it will ruin the whole .csv files

Right click on a .csv file and select Edit with Notepad++ (see screenshot below)

 Image

the .csv file will open with Notepad++.

exp.csv

Remember how CSV file works. I have drawed the red line so you can easly see it. If you still don't understand, please read the article

Image

change them all to 9999 except Lv (see screenshot below):

Image

This way you'll get 9999 exp after every song (see screenshot below):

Image 

Life.csv
In LifeRecovery data, change all to 3 which means the game gives you 1 life every 3 seconds, or you can change Life data to 999999 (see screenshots below):

 Image

Image

gold.csv
Change all to 999999 to get unlimited coins (see screenshots below):

Image

Image

task.csv
This csv file is about daily rewards. Change life, gold and exp data to 999999 and claim the daily rewards to get unlimited everything (see screenshots below):

 Image

Image

level.csv
Now this is a bit harder. You have to manually count the columns one by one to find the correct data (see screenshot below):

Image 

Example: i count up to NeedDiamond and the NeedDiamond is #8 (see screenshot below):

Image

And in data values section, i count up to 8 and i see there is 10 value in NeedDiamond which means a song costs 10 diamond. Remove the 10 or replace it as 0 so it costs nothing (see screenshot below):

Image

Take a look at those data. This is stars. When you get higher score, you got more stars.

 Image

Image

So if you change all values to 1, the game will instantly give you 6 stars even your score isn't high enough

Image

Save all changes you made in .csv files

Part 4: Replace .csv files and create modded APK

Open the APK file with WinRAR again and Replace all modded .csv into the APK file

Place the APK file into APK tool re-sign it, or you can keep it unsigned for rooted devices which allow FB and Google+ sign in

Credits:

iAndroHacker

0 comments:

Post a Comment