Guide:Mobile inventory editing

From Terraria Wiki
Jump to: navigation, search
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, Curse, Re-Logic, or their respective employees. Use them 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 worldname-xxxxxxxxxx.world.

Dangers and disclaimers[edit | edit source]

⚠ DANGERS ⚠

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:

  • 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).
http://www.terrariaonline.com/threads/official-policy-regarding-mobile-hacking.134960/
"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."
⚠ DISCLAIMERS ⚠

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]

Adding mobile items[edit | edit source]

It is possible to use Hex Editor or Game Killer to add mobile-exclusive items as well, but the item IDs for these are not as straightforward as for items in the PC version such as the Palladium Sword. For some reason it seems mobile items have two item IDs, and sometimes only the latter will work (the former may create an item that simply disappears when you try using it). As such it is recommended to only use the second ID. A table providing these are shown below.

  • Some items, such as pets, may still disappear when trying to use them. In such cases, try edit the item to be a stack (i.e. of 2 or more) instead of single (image 18). The stack can be used and un-stacked without disappearing.
Mobile version items IDs
Item First ID
 
Second ID
(Game Killer "Modify all values")
Hexadecimal ID
(from second ID)
Reversed hexadecimal
(Hex Editor entry)
Dragon MaskDragon MaskConsole VersionOld-gen console versionMobile Version3DS version 1867 5001 1389 89 13
Titan HelmetTitan HelmetConsole VersionOld-gen console versionMobile Version3DS version 1868 5002 138a 8a 13
Spectral HeadgearSpectral HeadgearConsole VersionOld-gen console versionMobile Version3DS version 1869 5003 138b 8b 13
Dragon BreastplateDragon BreastplateConsole VersionOld-gen console versionMobile Version3DS version 1870 5004 138c 8c 13
Titan MailTitan MailConsole VersionOld-gen console versionMobile Version3DS version 1871 5005 138d 8d 13
Spectral ArmorSpectral ArmorConsole VersionOld-gen console versionMobile Version3DS version 1872 5006 138e 8e 13
Dragon GreavesDragon GreavesConsole VersionOld-gen console versionMobile Version3DS version 1873 5007 138f 8f 13
Titan LeggingsTitan LeggingsConsole VersionOld-gen console versionMobile Version3DS version 1874 5008 1390 90 13
Spectral SubligarSpectral SubligarConsole VersionOld-gen console versionMobile Version3DS version 1875 5009 1391 91 13
TizonaTizonaOld-gen console versionMobile Version3DS version 1876 5010 1392 92 13
TonbogiriTonbogiriOld-gen console versionMobile Version3DS version 1877 5011 1393 93 13
SharangaSharangaOld-gen console versionMobile Version3DS version 1878 5012 1394 94 13
Spectral ArrowSpectral ArrowOld-gen console versionMobile Version3DS version 1879 5013 1395 95 13
Vulcan RepeaterVulcan RepeaterOld-gen console versionMobile Version3DS version 1880 5014 1396 96 13
Vulcan BoltVulcan BoltOld-gen console versionMobile Version3DS version 1881 5015 1397 97 13
Suspicious Looking SkullSuspicious Looking SkullOld-gen console versionMobile Version3DS version 1882 5016 1398 98 13
Soul of BlightSoul of BlightOld-gen console versionMobile Version3DS version 1883 5017 1399 99 13
Petri DishPetri DishOld-gen console versionMobile Version3DS version 1884 5018 139a 9a 13
BeeswaxBeeswaxOld-gen console versionMobile Version3DS version 1885 5019 139b 9b 13
Vial of BloodVial of BloodOld-gen console versionMobile Version3DS version 1886 5020 139c 9c 13
Wolf FangWolf FangOld-gen console versionMobile Version3DS version 1887 5021 139d 9d 13
BrainBrainOld-gen console versionMobile Version3DS version 1888 5022 139e 9e 13
Music Box (Desert)Music Box (Desert) 1889 5023 139f 9f 13
Music Box (Space)Music Box (Space) 1890 5024 13a0 a1 13
Music Box (Tutorial)Music Box (Tutorial)Old-gen console version 1891 5025 13a1 a1 13
Music Box (Boss 4)Music Box (Boss 4) 1892 5026 13a2 a2 13
Music Box (Ocean)Music Box (Ocean) 1893 5027 13a3 a3 13
Music Box (Snow)Music Box (Snow) 1894 5028 13a4 a4 13
Fabulous RibbonFabulous RibbonConsole VersionMobile Version3DS version 1895 5029 13a5 a5 13
George's HatGeorge's HatConsole VersionMobile Version3DS version 1896 5030 13a6 a6 13
Fabulous DressFabulous DressConsole VersionMobile Version3DS version 1897 5031 13a7 a7 13
George's SuitGeorge's SuitConsole VersionMobile Version3DS version 1898 5032 13a8 a8 13
Fabulous SlippersFabulous SlippersConsole VersionMobile Version3DS version 1899 5033 13a9 a9 13
George's PantsGeorge's PantsConsole VersionMobile Version3DS version 1900 5034 13aa aa 13
Sparkly WingsSparkly WingsOld-gen console versionMobile Version3DS version 1901 5035 13ab ab 13
Ocram TrophyOcram TrophyConsole VersionOld-gen console versionMobile Version3DS version 1902 5036 13ac ac 13
Albino Antlion BannerAlbino Antlion BannerOld-gen console version 1903 5037 13ad ad 13
Orca BannerOrca BannerOld-gen console version 1904 5038 13ae ae 13
Vampire Miner BannerVampire Miner BannerOld-gen console version 1905 5039 13af af 13
Shadow Hammer BannerShadow Hammer BannerOld-gen console version 1906 5040 13b0 b0 13
Shadow Mummy BannerShadow Mummy BannerOld-gen console version 1907 5041 13b1 b1 13
Spectral Gastropod BannerSpectral Gastropod BannerOld-gen console version 1908 5042 13b2 b2 13
Spectral Elemental BannerSpectral Elemental BannerOld-gen console version 1909 5043 13b3 b3 13
Dragon Snatcher BannerDragon Snatcher BannerOld-gen console version 1910 5044 13b4 b4 13
Arch Wyvern BannerArch Wyvern BannerOld-gen console version 1911 5045 13b5 b5 13
Arch Demon BannerArch Demon BannerOld-gen console version 1912 5046 13b6 b6 13
Holiday BaubleHoliday BaubleMobile Version3DS version 1913 5047 13b7 b7 13
Shiny Black SlabShiny Black SlabMobile Version 1914 5048 13b8 b8 13
Heart ArrowHeart ArrowMobile Version3DS version 1915 5049 13b9 b9 13
Broken HeartBroken HeartMobile Version3DS version 1916 5050 13ba ba 13
Valentine RingValentine RingMobile Version3DS version 1917 5051 13bb bb 13
Rainbow PieceRainbow PieceMobile Version 1918 5052 13bc bc 13
Pot o' GoldPot o' GoldMobile Version 1919 5053 13bd bd 13
Mysterious PackageMysterious PackageMobile Version (Removed) 1920 5054 13be be 13
Golden SeaweedGolden SeaweedMobile Version 1921 5055 13bf bf 13
Suspicious Looking EggSuspicious Looking EggMobile Version3DS version 1922 5056 13c0 c0 13
Boots of OstaraBoots of OstaraMobile Version3DS version 1923 5057 13c1 c1 13
Egg CannonEgg CannonMobile Version3DS version 1924 5058 13c2 c2 13
Suspicious Looking AppleSuspicious Looking AppleMobile Version3DS version 1925 5059 13c3 c3 13
Old Walking StickOld Walking StickMobile Version3DS version 1926 5060 13c4 c4 13
Holy Hand GrenadeHoly Hand GrenadeMobile Version3DS version 1927 5061 13c5 c5 13
Strange Looking TombstoneStrange Looking TombstoneMobile Version3DS version 1928 5062 13c6 c6 13
Turkey FeatherTurkey FeatherMobile Version3DS version 1929 5063 13c7 c7 13
Cursed StuffingCursed StuffingMobile Version3DS version 1930 5064 13c8 c8 13
Horn o' plentyHorn o' plentyMobile Version3DS version 1931 5065 13c9 c9 13
Roman CandleRoman Candle 1932 5066 13ca ca 13
Festive top hatFestive top hatMobile Version3DS version 1933 5067 13cb cb 13
Alpine HatAlpine HatMobile Version3DS version 1934 5068 13cc cc 13
LederwesteLederwesteMobile Version3DS version 1935 5069 13cd cd 13
LederhosenLederhosenMobile Version3DS version 1936 5070 13ce ce 13
Oktober LocksOktober LocksMobile Version3DS version 1937 5071 13cf cf 13
Dirndl BlouseDirndl BlouseMobile Version3DS version 1938 5072 13d0 d0 13
Dirndl SkirtDirndl SkirtMobile Version3DS version 1939 5073 13d1 d1 13
WiesnbräuWiesnbräuMobile Version3DS version 1940 5074 13d2 d2 13