Guide:Mobile inventory editing

From Terraria Wiki
Jump to: navigation, search
Click to see a list of pages with rewrite requests It has been suggested that this page/section be rewritten.
Reason: "Needs a complete rewrite or a page split (one 1.2.12785, one due to the removal of all exclusive items, and the ground-up recode of the game as of Mobile"

The Guide Rewrite ProjectStatus: Subject to revision
This Guide does not meet certain quality standards and may be heavily outdated.

Third-Party Software
This page describes software not developed by Re-Logic. Software listed on this page has not been tested, and is not endorsed by, Terraria Wiki, Gamepedia, Fandom, Re-Logic, or their respective employees. Use it at your own risk. By downloading any third party software, you acknowledge that you cannot hold anyone responsible for any adverse effects to your devices, your game, or your online accounts.
Version Discrepancies
  • Method 1 is working as of version Google Play1.2.12785. Although changes to the game code in future updates may make this method obsolete at any time without warning.
Android.svg  Concerns Android  Android.svg
This guide concerns and is based on Android systems capable of running the mobile version of Terraria. It does not support iOS, Windows Phone, or any other systems in any ways other than providing information which possibly may be used in similar fashion.

This is a guide for inventory editing on the Mobile version of Terraria.

Background[edit | edit source]

The world of Terraria features a number of interesting items which can be obtained gradually through normal gameplay, as well as some items that are present in the game code but inaccessible through normal means. However, many players (for various reasons) find this to be a slow and lacking way of acquisition. Hence there are many tools and methods to make desired items in desired quantities more accessible. Examples for the desktop version of Terraria include various inventory editors and map viewers.

The Mobile version of Terraria is by comparison more difficult to enable similar functions on. This guide attempts to list three methods which can be used to do this on devices running the Android system.

Method 1 works by modifying the world file in real time (tested on Android Lollipop version 5.0, but should work on versions 6 and 7).

Methods 2 & 3 work by modifying the character file (tested on Android KitKat version 4.4.4(method number 3 does not work on Android Lollipop versions 5.x+. Both methods work by modifying a character file.

NOTE: Before you continue, remember that characters can be backed up. If you need more of an item that you already have, it is advised you not edit your inventory, and instead just duplicate it by backing up characters.

This guide is:
  • An overview of tools that can be used to add items to a character's inventory, in amounts ranging from 1 to 999 (artificially up to 32767). This includes items not obtainable in-game but present in the game code, and the in-game fictional currency (coins).
This guide is not:
  • A map viewer.
  • A map editor.
  • A character visuals (hair color, skin color, etc) editing tool.
  • A multiplayer properties tool.
  • A tool that can be used to edit a character's inventory while playing. Exiting and re-opening the game is required.
    • Exceptions:
      • Method 1 can change an item in a container to another item or increase its count in game but the world must then be saved and quit(not the game)
      • Method 3 can change an item's stack value without exiting, though under arguably cumbersome conditions.
The provided methods are not required for accessing the following features (you only need a device file explorer):

(these features were found in the directory Device\Android\data\com.and.games505.TerrariaPaid)

Requirements[edit | edit source]

  • Root permission (also known as "superuser", but not to be confused with apps that can be used to utilize root permission (see below for examples)). Root permission is a feature in which a device system has been altered to grant the user additional administrative privileges such as deeper system browsing, enhanced features of certain apps, access to normally hidden and unavailable files, and the ability to edit and/or remove normally inaccessible data. Despite the multitude of benefits, most (if not all) devices that can be rooted are initially not, due to user safety and protection of "bloatware". Rooting can be a complex and hazardous process with the risk of destroying your device - likely also voiding your warranty - and every Android version has its own way of being rooted. As such, this guide does not have the capacity to describe rooting procedures for all Android devices capable of running Terraria.
    • As part of the rooting process, an app allowing the user to control what apps are granted root permission is required. The installation of this will likely be part of any guide providing root instructions for your device. Examples of such apps are SuperSU, Superuser by ChainsDD, Superuser by ClockworkMod, and Kingo SuperUser. SuperSU was used when creating this guide.
  • Apps: GameGuardian OR Hex Editor OR Game Killer + Lucky Patcher (see respective sections below).

Character backup[edit | edit source]

To prevent any loss of data it might be a good idea to backup characters before modifying them. Characters are (on the device used when creating this guide) stored in Device\data\data\com.and.games505.TerrariaPaid\files. Character names are stored as playername-xxxxxxxxxx.player (i.e. a character named "Paul" will be stored as "paul-xxxxxxxxxx.player" where xxxxxxxxxx is a number). This directory can be explored and the playerfile copied with root permission-utilizing system browsers such as the Root Browser app. It appears that the in-game character selection list and the playername.player files list is in reverse order, meaning the copy will appear above the original file in the selection screen.

Notice that the number appears to determine whether the game can recognize the .player file. If a character backup is created and later re-inserted into the folder for a newer version of the game, the game may not be able to load the character. In such cases, do the following:

  • Enter the game and create a character with the same name as your backup.
  • Exit the game and navigate to the new character's file.
  • Copy the new character's file number and replace your backup's file number with it.
  • Replace the new character file with your old character file. Your backup should now be playable.

The above information also applies to world-files, which are similarly saved as

Dangers and disclaimers[edit | edit source]


Enabling inventory editing on the mobile version of Terraria involves a number of risks in regard to both your game and your device. Below is an attempt at listing them, though it may not be complete.


  • Rooting your device poses the risk of "locking" it in a way that means it can no longer be accessed ("bricking"), technically destroying it.
  • Rooting your device involves unlocking the bootloader, which will erase all data on your device and restore it to factory settings (factory reset). This involves the deletion of all downloaded apps, game progress, SMS'es, MMS'es, contacts, phone call logs, memos, pictures, misc. files, custom device settings, custom app settings, downloaded or USB-transferred content, and so on. Anything that was not present on your device when you bought it will be deleted.
  • Rooting your device, or attempting to root it, will likely void any warranty your device came with. This means that if the rooting process fails and the device is ruined, you have lost your eligibility to have it repaired for free or receive a new one for free.
  • Root permission allows the user to access files and settings normally unavailable and inaccessible. This involves the risk of altering something that itself can ruin your device and/or game.

Third-party software:

  • The process of mobile inventory editing involves one or more third-party apps (depending on your choice). Downloading apps always poses the risk of making your phone and/or private information to be exposed and misused by third-party instances. This is especially a risk if you do not download the app(s) from a verified app service such as Google Play. Unauthorized/unverified software also possess the potential to damage the device itself (f.ex. by causing a system crash).

505Games' official mobile hacking policy:

  • Accessing and/or altering your mobile Terraria game voids your right to receive any support from 505Games (the company responsible for porting Terraria to mobile devices).
"Accessing and altering game files voids your right to technical support from us. Anyone altering their game does it at their own risk and risks having their game not be compatible with future updates and/or content.
The distribution of save/hacked files is strictly prohibited on the Terraria forums. These files are from unknown origins, are untested, and not only risk your ability to play and enjoy the game, but could potentially create a security risk to your personal data stored on your device. Anyone distributing these types of files will be warned and the files will be removed. Repeat offenders are subject to disciplinary action at the discretion of the community moderators."

Besides any potential user(s) of this guide, no party involved can in any way be held responsible for any damages, software-wise or hardware-wise, that may occur due to using this guide.

  • Google Play (Terraria mobile and other apps provided by this service): [link]
  • 505Games: [link] (mentioned above)

Method 1: GameGuardian[edit | edit source]

App info
GameGuardian is an app that allow the editing of values in realtime(while playing). the app is very similar to the popular Cheat Engine for PC. Due to the way it edits values in running processes it requires root access.
GameGuardian download location:
  • Homepage THIS IS NOT A PLAYSTORE APPLICATION!! This app must be installed manually once downloaded to your device. You may have to allow installation "from unknown sources" in your device's settings to do this (image)
The video here provides a basic visual tutorial on how to use the app to edit values in game.
Video Description

Items needed in game[edit | edit source]

  • 1 Chest or Container of any type. A barrel or trashcan are valid substitutions for a chest.
    • It is advised you place the container close to your spawn point, as you will need to save and exit the world on completion.
  • Any number of easily acquired block/item (Wood(any type), Dirt, Gel, etc.) Note: The more of the item you have, the easier it will be to find the value.

Step 1. Download and Install GameGuardian:[edit | edit source]

  • Download the apk file from the above webpage. Once downloaded, run the apk file. If this is your first time installing a non-playstore application, you will likely need to allow installation from unknown sources. See image 1
  • Once installed, open the app. You will be prompted to allow the app Super User Permission. Select Okay See image 2
  • After you provide permission, you will see a secondary installation taking place. This is a defensive installation that will prevent apps on your device from detecting GameGuardian's presence. There are a few apps that will not allow users to run them if a memory editor is present. GameGuardian gets around this by installing itself with a random process name. The name will be unique to your device See image 3. You will be prompted to allow Superuser permission to this installation as well. Note: this secondary installation is not mandatory and can be canceled. You may also refuse Superuser Permission on the second request. Refusing runs the risk of other apps on your device detecting GameGuardian.

Step 2. Preparation:[edit | edit source]

  • Once the app has Superuser Permission, open Terraria and navigate to the main menu.
  • Next, press your Home button on your device, leaving Terraria running.
  • Open GameGuardian again and you should see a list of running applications. Navigate through the list and select Terraria. If the list does not automatically appear, you can open it by touching current process name in the top left corner. See image 4
  • Once you have directed GameGuardian to Terraria, minimize GameGuardian by pressing your Back button on your device. You can maximize it at any time by clicking the floating icon. You can also close it if necessary by opening the menu and choosing Exit
  • Load your world in Terraria and acquire a container and a handfull of any item.
  • Place the container close to your spawn point and deposit your chosen item into it.
  • Maximize GameGuardian by pressing the floating icon.

Step 3. Finding your values:[edit | edit source]

  • In the top right side of GameGuardian, press the magnifying glass icon(the one WITHOUT the question mark) See image 5.
  • You should see a new widow pop up. In the empty value field, enter the quantity of your chosen item. You should also see a box with three "???". Press that box and choose "Word" Yours should look like image 6. Once done, press Search.
  • On this first search you will likely have too many results to judge which is the one you need. Go back to Terraria and move your item from its current slot to any other slot. Once the item is moved, open GameGuardian again and do another search. This time the value you search for should be "ZERO"
    • Alternatively, you can swap your first item with another that you have more or less of and search for that quantity instead See image 7.
  • Repeat the search process until you only have one value in the results list. Once you have only one value, proceed to the next step.

Step 4. Finding additional information:[edit | edit source]

In order to be able to change what the item IS, you need to find two more values. No worries though, the values for the item name and icon are stored in a static address directly next to your quantity.

  • In the results list, long press on your value until a box of options pop up. Choose "Go to Address".
  • On this screen, you will likely be overwhelmed by the amount of information on the screen. To simplify the view, Click the button with three lines directly next to the refresh circle in the top right See image 8. You will be presented with several options. Choose "Value Format"
    • Uncheck all boxes with the exception of the "Word" box See image 9.
  • Now that the values are easier to read, select the check box next to the one that matches your value, as well as the first and third values directly above yours(these two extra values should be the same) See image 10.
  • One additional value is optional. You will only need it if you want to add Modifiers
    • This guide will assume you chose to do this step
    • Long press on the topmost value that you selected(value "3" in image 10) and choose "Offset Calculator"
    • In the offset box, type -82 and press "GOTO" See image 11.
    • Select the checkbox next to the topmost value on the list See image 12.
  • Now that you have your four values marked, Click the top right button with three lines again(the one next to the refresh circle)See image 12 and choose "Save Values".
  • Once you have sent the values to the saved list, press the icon at the top shaped like a floppy disk("What's a floppy disk?", you ask. Google it...) This will take you to a page with the values you saved displayed.
    • The first value in this list is for the Prefix modifier. Rename this value "Prefix" OR "Modifier" by clicking the value and selecting the "Variable Name" box. Simply rename the variable without changing the value for now.
    • The second and third values are for the item name and item icon, select the checkbox on these See image 13. This will allow you to modify both at the same time. Rename these accordingly(Note: It won't matter which you name "Icon" or "Name", for that matter you could just name them both "Item", naming them only makes it easier for you to tell what's what.)
    • The fourth and final value is the items' quantity. Name it accordingly.
  • Once you've named the values to something intelligible(hopefully), click the three line button in the top right(next to the refresh circle) and choose save. Android 5.x + users will be able to load this list in the future after completely exiting their game and these 4 values will not have changed.

Step 5. Adding/Editing an item[edit | edit source]

  • Find the internal item ID of the item you wish to add.
  • Click the top three line button(same one) and choose "Modify Selected Values"
  • Change the values to the desired item.(Note: Some mobile exclusive items have multiple ID's. See the section at the bottom of this page for more information.)
  • Next, change the quantity value to the desires amount. Different items have different maximum stack sizes: Potions have a limit of 30, dirt and most blocks have a limit of 999, etc. You can exceed this limit up to 32767.
    • If the Item you are adding is a weapon, armor, tool, etc. that normally does not stack, It is advised to make the quantity value "One".
  • If the item you are adding is an equipable item, you may want to add a prefix modifier.
  • Once all values have been changed to suit your needs, DO NOT MOVE THE ITEM INTO THE PLAYERS INVENTORY!!! If you want to add more items in, move the item into another slot in the container and repeat Step 5.
  • Once you are completely finished adding/editing items, SAVE AND EXIT TO THE GAMES MAIN MENU!

Step 6. Relaunch your world and enjoy your new items[edit | edit source]

Legitimate Method[edit | edit source]

It is possible to duplicate items that you already own in your world using a very simple trick that involves creating backups of characters and transferring items. NOTE: THIS DOES NOT WORK ANYMORE

Step 1. Collect items to duplicate[edit | edit source]

Collect items from your world and put them into a character's inventory.

Step 2. Create a backup of a character[edit | edit source]

In the character selection screen, there will be a gear icon on the character. It will give the option to "Backup" or "Trash" the character. Tap the "Backup" button. It will then prompt if you want to backup file "to Cloud" or "to Local." Backup file "to Local."

Step 3. Load backup character into world[edit | edit source]

Click on the character that has (1) next to the name. Load that character into the desired world.

Step 4. Place desired items in storage container[edit | edit source]

Using the backup character, place any items you intended on duplicating into a storage container. Ensure that the container is NOT a Piggy Bank or Safe. This will cause the items to be linked only to the backup character.

Step 5. Delete the backup character[edit | edit source]

Once the items have been removed from the backup's inventory, you may delete the character. Tap the gear, then tap "Trash," then tap "Yes."

Step 6. Collect duplicated items with original character[edit | edit source]

You may now collect the duplicated items and repeat this process until you have the desired amount of items. This method can work with any item. Money, ammo, crafting materials, etc.

Method 3: Terrasavr (1.3 and up)[edit | edit source]

Ever since the release of 1.3, the player files have been accessible from unrooted file explorers in Android. Because of this, and because the player files are close enough to PC, you can use Terrasavr to edit your player and inventory. You might want to do this in landscape so that interface elements are not chopped up.

Step 1. Locate and back up your save file[edit | edit source]

By default, your save file should be located in the sdcard/Android/data/com.and.games505.TerrariaPaid/Players/[Player_Name] directory. Make a copy of the .plr file in that folder, and put it somewhere you can access it in an emergency.

Step 2. Open your file in Terrasavr[edit | edit source]

Go to terrasavr using the link above, click "Load Player", and open your original character file. Use the editor to make changes to your inventories, equipment, or stats. They have a manual inside terrasavr that is helpful at explaining how to use it.

Step 3. Put your edited file in the save directory[edit | edit source]

Once you are done making changes to the save file, click "Save Player" to download the edited file. Move this downloaded file from the downloads folder to the original save location, and then the changes will show up when you open the game.