|該頁面介紹的軟體並非 Re-Logic 所開發。該頁所列軟體未經 Terraria Wiki、Curse、Re-Logic，或它們各自的員工所測試或認可。使用風險自負。下載任何第三方軟體即視為您承認您不能讓任何人對任何對您的設備、遊戲、或在線帳戶造成的不良影響負責。|
This is a guide for inventory editing on the mobile version of Terraria.
- 1 Background
- 2 Dangers and disclaimers
- 3 Method 1: GameGuardian
- 4 Method 2: 35px Hex Editor
- 5 Method 3: 35px Game Killer
- 6 Adding mobile items
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 realtime(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.
|This guide is:|
|This guide is not:|
|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
- 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).
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 "
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
|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:|
|The video here provides a basic visual tutorial on how to use the app to edit values in game.|
- 1 Chest or Container of any type. On mobile, 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.
- 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.
- MobInvGuide-Allow Unknown Sources.png
- MobInvGuide-Grant SU Perm.png
- MobInvGuide-Random packet name example.png
3. This image will not be the same as yours
- 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.
- MobInvGuide-Select Process.png
- 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.
- MobInvGuide-Correct Search button .png
- MobInvGuide-Search settings.png
- MobInvGuide-Example Inventory.png
7. Swap the dirt with the wood. Searching for the value of whichever is in the first chest slot.
In order to be able to change what the item IS, you need to find two more values. No worries tho, 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.
- MobInvGuide-Correct settings button.png
- MobInvGuide-Value Format-Clean GUI.png
- MobInvGuide-Value selection.png
- MobInvGuide-Offset settings.png
- MobInvGuide-Variable 1 and button location.png
- MobInvGuide-Variables named and selected.png
- 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!
|Hex Editor is a Russian app developed by GoAndroid and made available on 'Google Play. It can read and edit data in the form of hexadecimal digits. This process can presumably also be done with similar apps. More specifically, Hex Editor can edit a character file out-of-game (as opposed to in-game), allowing new items and/or different stack values to be present when the character is loaded into a world.
This method does not appear to be usable with version 1.2.11212 (Dec 9, 2015) as the hex values have become much harder (or impossible) to interpret.
|Hex Editor download locations:|
- Load your character into your world and acquire a (only one).
- Then, place that Dirt Block in the second inventory slot (image 1).
- Afterwards, quit to the main menu or to the device's home screen (the character must exit the world).
- Open the Hex Editor app, then click the gear-symbol in the upper right corner (image 2).
- Check the box for Root permissions (image 3).
- MobInvGuide - HexEd 1.png
- MobInvGuide - HexEd 2.png
- MobInvGuide - HexEd 3.png
- If it is your first time checking the box, your root-permissions app (in this case SuperSU) will prompt you for actually granting Hex Editor root permissions (image 4). Grant it this.
- You should receive a notification that Hex Editor has been granted root (aka superuser) permission (image 5). It is possible that each time you open Hex Editor to edit a character you have to uncheck and re-check this box for the app to properly recognize root permission.
- Go back and click "Open file" (image 6).
- MobInvGuide - HexEd 4.png
- MobInvGuide - HexEd 5.png
- MobInvGuide - HexEd 6.png
- Select "
/data" (image 7). If you do not see a list like this, uncheck and re-check the root permissions box in step 3. In some cases, multiple uncheck+recheck's might be needed. If root permission is not granted, wait a second or so between each step of granting it.
- Select "
/data" once more (image 8).
- Select "
/com.and.games505.TerrariaPaid" (image 9). If there is not enough room to see the full name it might be shown as "
/com.and....errariaPaid" or similar, as seen here (tilting the screen likely makes enough room).
- MobInvGuide - HexEd 7.png
- MobInvGuide - HexEd 8.png
- MobInvGuide - HexEd 9.png
- Select "
/files" (image 10). This folder contains your character's file. The folder holds many files however, so it might be a good idea to search for the file you want instead of browsing manually. Click the magnifying glass symbol (search) on top and enter the name of your character. Characters are stored as
charachtername-number.playerfiles. For example, a character named "Paul" is stored as "
Paul-xxxxxxxxxx.player" where xxxxxxxxxx are numbers. In this guide a character named "Ratherquite" is used, and entering "
rath" in the search field shows the file we need. Select your character's file (image 11).
- You are now seeing the character's data in the form of hexadecimals (image 12). The regular inventory (omitting slots for ammunition, coins, armor, vanity clothing, and accessories) begins in the middle of the line ("address")
00000060and extends to the left column of line
00000128, but for simplicity we'll use the left column of line
00000068below. This holds info of the item(s) in the character's second inventory slot.
- MobInvGuide - HexEd 10.png
- MobInvGuide - HexEd 11.png
- MobInvGuide - HexEd 12.png
- As you can see, this column holds eight numbers:
02 00 01 00. The first four decides what the item is; i.e. this is the item ID. The last four decides how many of it there is, i.e. if it's a single item or a stack. As seen in-game, "
02 00" means and "
01 00" means there is only one of it (image 13).
- MobInvGuide - HexEd 13.png
- We'll now change this Dirt Block into a
. In order to do this we need two things:
- The Palladium Sword's item ID
- The Palladium Sword's item ID in hexadecimal numbers
- The first can be found on the Palladium Sword's page here on the Official Terraria Wiki (image 14). If it hadn't been provided there we could have found it in the Item IDs list. As the list is divided into sublists it is convenient to use Google (or another search engine) to search them all at once. A query like http://terraria.gamepedia.com/ Item_IDs "palladium sword" in Google can tell us that the ID can be found in Part 4. Your browser or search engine may further help you quickly find the item by highlighting "Palladium Sword" in the current page (example: in Firefox, Ctrl+F allows you to search the page (image 15)). In either case, as we see, the Palladium Sword's ID is 1185. By using Hex Editor's internal conversion tool (image 16) we find that
04a1(some online converters such as this say
4a1, omitting the 0 in front, but we need that too).
- MobInvGuide - Other2.png
- MobInvGuide - Other3.png
- MobInvGuide - HexEd 14.png
- For this number to work in our process, swap the first and second part so it becomes
- Click on the first pair of numbers,
02. Change them into
a1. Then click on the second pair behind it,
00, and change this into
04. The result should be "
a1 04". Then click on the save symbol. You should receive a notification stating "
The file is saved" (image 17).
- Load your character into a world. The second inventory slot should now hold a Palladium Sword (image 18).
- MobInvGuide - HexEd 15.png
- MobInvGuide - HexEd 16.png
- Adding an item does not require another item (a Dirt Block in the case above) to be 'sacrificed'. An empty inventory slot reads
00 00 00 00, and this can be edited to provide an item just as easily.
- Image nr. 19 below illustrates the connection between the data addresses and inventory slots. Notice the Torch-like item at the bottom; this is an invalid item created by providing an item ID of 5075 (the highest secondary ID (see adding mobile items) goes to 5074).
- MobInvGuide - HexEd 17.png
- Editing stack value: Editing the amount - or stack value - of an item is done the exact same way with the four latter numbers. If we had edited the slot value to read
a1 04 02 00then we'd have a stack of two Palladium Swords in-game (despite how it's impossible to stack Palladium Swords in-game) (image 20).
- MobInvGuide - HexEd 18.png
- A stack of 999 items has the Hex Editor entry
03e7). It appears that the highest stack that artificially can be created is 32767 (Hex Editor entry
|Game Killer is a Chinese app created by Maocai Luo which can identify and edit game values. According to the official website (translated, see below) it holds support for Android 5 (Lollipop), but due to the Lucky Patcher part this method may only work for for Android 4 (Kitkat). In this guide, the Game Killer method is unclear, less understood, and seemingly more risky than the Hex Editor method. Unlike Hex Editor, Game Killer works largely in-game to modify values while the game is running.
This method does not appear to be usable with version 1.2.11212 (Dec 9, 2015) as Terraria will crash upon trying to modify values.
|Game Killer download locations:|
- Download the Game Killer .apk file to your device and manually install it (image 1).
- You may have to allow installation "from unknown sources" in your device's settings to do this (image 3).
- MobInvGuide - GaKi 1.png
- MobInvGuide - Other1.png
- Once installed, open Game Killer. It will ask your device for root permission and your root permissions app (in this example SuperSU) will prompt you for actually granting it this. Do so (image 3).
- Game Killer is by default a trial app (image 4) To unlock its registered version it's possible to use the app "Lucky Patcher". The registered version must be unlocked in order to edit stack values and change items into other items.
- MobInvGuide - GaKi 2.png
- MobInvGuide - GaKi 3.png
Another app called GameSpector (official site) can be used for Game Killer version 1.90, but as this guide concerns Game Killer v3.11 that app will not be further detailed.
For Game Killer, item number (i.e. stack) modifying and item ID modifying (for adding items) works a bit differently.
- Start Game Killer and Terraria. The order doesn't matter as long as you end up with both of them running simulatenously. This is shown by the Game Killer draw-over symbol seen while Terraria is in foreground (image 1).
- MobInvGuide - GK A 1.png
- It appears that two items with different item IDs can be used for a reliable way of making this work. Here is a small list of easily obtainable items and their IDs:
Item ID 2 3 (regular) Wood 9 23 71
- For example we'll use one , one , and one . Place the Wood in the first inventory slot. Make sure it remains your "active item" (yellow slot instead of blue) (image 2).
- Click on the Game Killer icon. Enter
9(this is the item ID for Wood) in the search field and click the magnifying glass symbol (search).
- When prompted for search type, select
DWORD(0 - 4294967295)(image 4). Warning! This may cause your device to crash. If so, you may try again, assuming your device does not become damaged and has problems restarting.
- MobInvGuide - GK A 2.png
- MobInvGuide - GK A 3.png
- MobInvGuide - GK A 4.png
- It should come up with some result, probably some huge number which doesn't make much sense (image 5).
- Swap the Wood and Gel (image 6).
- Click the Game Killer icon again and enter 23 (this is the item ID for Gel) in the search field, then click the magnifying glass symbol. You should not receive a search type prompt this time. As with the Wood, you may get a seemingly nonsensical result, or a list (image 7).
- MobInvGuide - GK A 5.png
- MobInvGuide - GK A 6.png
- MobInvGuide - GK A 7.png
- Now swap the Gel and the item you're willing to change (in this guide, a Copper Coin) into another item (image 8). When the Copper Coin is placed in the slot we've used and Game Killer is opened, it should automatically display a list which includes the number "71" (this is the item ID for Copper Coin) (image 9). To make sure Game Killer has identified the correct data, it might still be a good idea to search for "71".
- MobInvGuide - GK A 8.png
- MobInvGuide - GK A 9.png
- We'll now change this Copper Coin into a Item IDs list. As the list is divided into sublists it is convenient to use Google (or another search engine) to search them all at once. A query like http://terraria.gamepedia.com/ Item_IDs "palladium sword" in Google can tell us that the ID can be found in Part 4. Your browser or search engine may further help you quickly find the item by highlighting "Palladium Sword" in the current page (example: in Firefox, Ctrl+F allows you to search the page (image 11)). In either case, as we see, the Palladium Sword's ID is 1185. . In order to do this we need the Palladium Sword's item ID. This can be found on the Palladium Sword's page here on the Official Terraria Wiki (image 10). If it hadn't been provided there we could have found it in the
- MobInvGuide - Other2.png
- MobInvGuide - Other3.png
- Without closing Game Killer, click the "three lines" symbol, then "
Data control" (image 12), then "
Modify all values" (image 13). This step requires the registered version of Game Killer and thus Lucky Patcher.
- This is where you enter the item ID (image 14).
- MobInvGuide - GK A 10.png
- MobInvGuide - GK A 11.png
- MobInvGuide - GK A 12.png
- Enter "1185" (image 15) and click "
OK" (image 16). All the lines should now change into "1185" (image 17).
- MobInvGuide - GK A 13.png
- MobInvGuide - GK A 14.png
- MobInvGuide - GK A 15.png
- Exit to Terraria's main menu and load your character back into your world (image 18).
- The Copper Coin should now have changed into a Palladium Sword (image 19).
- MobInvGuide - GK A 16.png
- MobInvGuide - GK A 17.png
- Further item change (without quitting the game) can be done by selecting an item and activating Game Killer, which automatically should display a list of the item's ID which can be modified with "Modify all values". Restarting the game may require the initial process over again.
- See below for details on adding mobile items.
- Start Game Killer and Terraria. The order seemingly doesn't matter as long as you end up with both of them running simulatenously. This is shown by the Game Killer draw-over symbol seen while Terraria is in foreground (image 1).
- It appears that two stacks of items, in addition to the item(s) you want to increase the number of, is a reliable way of making this work. For example, if you have 1 and want more, you can use 2 and 3 s.
- Place the Stone Blocks in the first inventory slot. Make sure they remain your "active item" (yellow slot instead of blue) (image 2).
- Click on the Game Killer icon. Enter 3 in the search field and click the magnifying glass symbol (search) (image 3).
- MobInvGuide - GK A 1.png
- MobInvGuide - GK S 2.png
- MobInvGuide - GK S 3.png
- When prompted for search type, you can select either
WORD(0 - 65535)(image 4). Warning! This may cause your device to crash. If so, you may try again, assuming your device does not become damaged and has problems restarting.
- It should come up with some result, probably some huge number which doesn't make much sense (image 5).
- Swap the Stone Blocks and Wood (image 6).
- MobInvGuide - GK S 4.png
- MobInvGuide - GK S 5.png
- MobInvGuide - GK S 6.png
- Click the Game Killer icon again and enter 2 in the search field, then click the magnifying glass symbol (search). You should not receive a search type prompt this time (image 7). As with the Stone Blocks, you may get a seemingly nonsensical result, or a list.
- Now swap the Wood and the item(s) you want to increase (or decrease) the number of. In our example we're using a single Dirt Block (image 8), so in the search field we'll enter 1 (image 9). If you're using a stack of items instead you need to enter the stack number.
- MobInvGuide - GK S 7.png
- MobInvGuide - GK S 8.png
- MobInvGuide - GK S 9.png
- Upon searching this time we should receive a list of values (image 10). Some (YouTube videos) report that editing the first entry will work, but as it may not we'll do something else.
- Select the "three lines" symbol, then "
Data control" (image 11).
- Select "
Modify all values" (image 12). This step requires the registered version of Game Killer and thus Lucky Patcher.
- MobInvGuide - GK S 10.png
- MobInvGuide - GK S 11.png
- MobInvGuide - GK S 12.png
- Enter the number of items you would like (image 13). In this example we'll use 700 (image 14). Click "
OK" (image 15).
- MobInvGuide - GK S 13.png
- MobInvGuide - GK S 14.png
- MobInvGuide - GK S 15.png
- All or some of the lines should now change into "700" (image 16).
- You should now have a stack of 700 items (in this example, 700 Dirt Blocks) (image 17). This may happen even if not all lines change.
- MobInvGuide - GK S 16.png
- MobInvGuide - GK S 17.png
- Subsequent stack editing can be done by placing items in the same inventory slot. When opening Game Killer it should automatically identify the stack value, which in turn can be modified with "Modify all values". It might however still be a good idea to always specify (with the search function) the new item(s)' stack value before modifying it.
Though the in-game max stack is 999, it appears that the highest stack that artificially can be created is 32767.
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.
- MobInvGuide - Other4.png
|Mobile version items IDs|
(Game Killer "
(from second ID)
(Hex Editor entry)