Terrasavr » documentation
Loading, please wait...

Table of Contents

This is a set of pages intended to serve as a user manual \ FAQ for Terrasavr.

If there are particular questions that are not covered here, you can also contact me.

Pages by categories:

Saving and loading:

Using Terrasavr:

Misc:

New! Translating Terrasavr

Locating PLR files

"PLR" (short for "Player"?) is the file extension used by Terraria when storing character information. The files themselves are small (usually under 10KB) and contain tightly packed information about the character's stats, visuals, inventory contents, and few other things.

Whereabouts of the files vary by platform:

Windows

Saved characters in Terraria for Windows are located in

My Documents » My Games » Terraria » Players
Most often these are in your "personal" folder (as opposed to "shared" folders).

If needed, you can also quickly bring up this location via "Run" or "Explorer" by using a relative address:

%UserProfile%\Documents\My Games\Terraria\Players

Mac

Saved characters in Terraria for Mac are located in

~/Library/Application Support/Terraria/Players
The easiest way to get there is:

  1. Open "Finder"
  2. Pick menu "Go - Go to Folder..."
  3. Paste the said address
  4. Press the "Go" button

Alternatively you may use the search feature in "Finder" to locate the folder.

Linux

Saved characters in Terraria for Linux are located in

~/.local/share/Terraria/Players
You can usually "cd" there just fine. If using a file manager application, the process is as following:

  1. Open your "home" folder in the file manager of choice.
  2. Enable display of hidden files if not done already (default Ctrl+H)
  3. Navigate to ".local" » "share" » "Terraria" » Players

Depending on your configuration, the files may instead reside in

$XDG_DATA_HOME/Terraria/Players

iOS/Android

(see the Mobile section)

Use with Terrasavr

Usually you should be able to navigate to the saved characters folder directly from the browser's "file picker" dialog.

If that is not possible, you can often copy the file path to clipboard (e.g. "C:/.../Terraria/Players/Yellow.plr") and paste it into the dialog.

If that is not possible either (or unnecessarily complicated), you can copy the file(s) into an easily accessible location, work with file(s) there, and copy the file(s) back afterwards.

Troubleshooting loading problems

This page houses a list of common problems that you may encounter while loading files and their resolutions.

"Failed to dispatch FileReader"

Means that program has received the file, but could not read it due to certain functionality not being present in the browser. Resolved by using the Flash version, but trying a different (newer) browser also may work.

"The file is empty"

Quite literally, means that the file uploaded contains nothing inside (size is 0KB).
Usually a result of the file going corrupt before the game has decided that there's nothing left to fix in it. Try loading the backup versions (.bak) if there are any.

"That doesn't look like a valid character file"

Due to how the game encodes\decodes the files, their size (in bytes) can only be a multiplier of 16. This error means that the chosen file's size isn't, most likely due to corruption or otherwise missing fragments.

"Failed to load profile. The error was ..."

Is an error from the underlying file reading routines. If neither the regular nor Flash versions can load the file, it usually means that it is corrupt or in wrong format (for example, mods may have an incompatible format for files).

Troubleshooting saving problems

This page houses a list of common problems that you may encounter while saving files and their resolutions.

Nothing happens upon clicking "Save"

Usually means that either:

  1. The browser had skipped the file dialog and sent the file to the "Downloads" folder.
    Check your downloads and copy the file from there if that's so.
  2. The browser had ignored the incoming file alltogether.

Trying the Flash version or a different browser may help.

The browser opens a new tab with gibberish text

Means that your browser, for some reason (perhaps extension being shared with something else), had decided to display the incoming PLR file as text instead (which it isn't). You should be able to "save" (default Ctrl+S) the opened file just fine.

The browser opens a blank tab (without anything in it)

This is an issue that occurs on certain versions of Safari on Mac - the browser, for reasons uncertain, may not understand that it was given a file and is supposed to be displaying a dialog for letting the user choose where to save it.

While I'm yet to find a solution (if any) to this on program's side, there are a couple of possible workarounds:

  1. Use the flash version. The Flash Player provides it's own file dialogs, and can be trusted with the task of successfully showing them.
  2. If you can not (or do not want to) install the Flash Player to run the Flash version, download a standalone Flash Player ("Flash Player Projector") and use it to open the downloadable SWF of Terrasavr.
  3. If you cannot do that either, try a different browser. Should you be wondering, you can also find portable\standalone browsers for Mac.

The game considers the edited character corrupt

If the character wasn't corrupt before opening it with the Terrasavr, it may mean that you've found a bug in the program. If you can send me a copy of the initial (.plr\.bak) and the corrupt (.plr) files along with a short description of what you were doing, that'd be nice (and I would have a chance to fix the problem).

The game ignores the changes to the character

Make sure that the game is closed or is at the title screen while editing.

  • If the character was open in-game, the game will overwrite the changes when exiting back to the menu.
  • The character selection screen will not automatically notice the changes, as it essentially loads all player files (to display the miniatures) when it is opened.

The game crashes time to time \ on "Exit and Save"

This is a very rare problem related to the browser sometimes setting the downloaded files as "read-only". Open "Properties" for both .plr and .bak files and untick the "read-only" checkbox if it is set and apply changes.

Some of the added items\stats\... are missing

While you may change the character file pretty much as you please (and Terrasavr helps with that), the game reserves the right to ignore the changes as it sees fit:

  • There are limits to the maximum amount of health\mana that a character can have. Mods may change or lift the limitations.
  • "Equip" (armor\accessory\social\dye\misc) slots can only house single-item stacks.
  • Not every item can receive every prefix.
  • Items have a maximum stack size and usually cannot be stacked past that.
  • Buffs have a maximum duration (usually 5 hours)
  • When saving a file for the older versions of the game, content added in newer versions will not work (because it wasn't there yet).

However, here's a small list of things that do work while they shouldn't:

  • There is no minimum limit what maximum health can be.
    You can even set it to be 0 and watch the character die in one hit from anything.
  • Armor items can have accessory prefixes.
  • Armor can be equipped in wrong slots (e.g. 3 helmets). Set bonuses will not be granted.
  • Armor items can be equipped in accessory slots (and vice versa).
  • Bullets can have some of the prefixes.
  • You can equip two pets or two "light pets" instead of one of both kind.
    Certain combinations (e.g. Shadow Orb + Fairy Bell) will cause the game to glitchfully re-summon the pet 60 times per second.

Editing the character

General character-related information can be edited via the "Character" tab.
Contents and their functions are as following:

Format

File format version. If you want to migrate the character to an earlier version of the game, this can be used. Version options are grouped by functionality introduced - you only need to set this to a version earlier or equal to the game version used.

Health

Current and maximum health. Click the according number and input the new value.

Mana

Current and maximum mana. Click the according number and input the new value.

Mode

Mode\difficulty. Setting a character to Hardcore mode requires confirmation to avoid accidents. "Expert mode" is set for worlds rather than for characters.

Hair style

Determines the looks of the character's haircut. You can enter an index manually or use arrow-buttons to switch through over the hundred of ones available.

Gender

Determines the character's gender. Gender in Terraria only affects the character's appearance and "hurt" sound effects.

Cloth style

Controls the appearance of character's default clothes. Terrasavr currently does not display these separately, meaning that you may have to experiment with the options to see how each one looks.

Colors

The set of options determines the colors of character's features and default clothes. Colors are entered in hexadecimal format. You can find applications to aid you with picking a color visually by searching "hexadecimal color picker online" or so. A in-program color picker is planned for a later update.

Fishing quests complete

The number of quests completed for the Angler. Higher number means better rewards for the new quests, but only up until 150. Due to a code error, rewards for quests 151+ will have similar odds to those on quest 1. The issue persists since the introduction of fishing quests and is not fixed as of 1.3.0.7.

Extra accessory

Whether the extra accessory slot for "expert mode" worlds have been unlocked. Has no effect in non-expert-mode worlds.

Editing items

The character's possessions are shown across multiple tabs, akin to how they are shown in-game.

Managing items

Items can be managed in roughly the same way as they can be in Terraria:

  • Items can be moved by clicking the source cell, and then clicking the destination cell.
  • Item stacks can be split by right-clicking them (alternatively, shift+clicking).
  • Item stacks can be destroyed by dropping them off into the "library" section on the bottom of each tab.

Adding items

The most common way to add items is through use of "library". To do so, click "Library" on the right, and select a desired item library from the list.
Once selected, the section on the bottom of the tab will be filled with library items, and you will be able to move them to your inventory similar to how you would with shops in the actual game (you can also hold the mouse button to pick up more items at once).

Editing items

Whenever an item slot is clicked, it becomes selected (indicated via a border around it). The selected item can then be edited via the "Edit" tab on the right side.

There you can change the item ID (if you know the desired one), change the item quantity, or change it's prefix. All of three are done by clicking the according number and inputting the new value.

For convenience, the bottom of the "Edit" tab is filled with prefix categories, with items being clickable to quickly apply one or other prefix to the item.

Restocking items

If you need to stack up an item to max capacity, you can do so by middle-clicking it (alternatively, ctrl+clicking). This can be handy for restoring the used up stacks of materials or "preparing" the library tab before filling the inventory tab with item stacks.

Setting modifiers\prefixes

To change an item' modifier, you need to:

  1. Click an item to select it (and click again if you don't want to move it anywhere)
  2. Open the "Edit" tab on the right.
  3. Pick the desired prefix from the bottom half of the tab.

Note that different kinds of items can have different prefixes. If the game discards (or changes) the prefix upon loading, chances are that it's an incompatible one.

Editing buffs

This is mostly akin to editing items - you have your "inventory" of active buffs, and then the catalogue on the bottom/right.

Infinite buffs

Terraria doesn't do infinite buffs in a conventional way - instead duration of 18000 (5 hours) is used as an indicator.

For buffs that can be non-expiring (e.g. Shadow Orb), this prevents them from ticking down.

For the rest, well, you have to refill them once per 5 hours.
A set of buttons on the bottom of the tab allows to easily back up/restore a set of buffs.

Editing spawnpoints

This tab, previously titled "Worlds", allows you to edit your spawnpoints - that is, where you will be when you enter the world or after you die and respawn.

There is very little reason to touch this tab, save for carrying over information to a new character or cleaning up old spawnpoints if you have somehow hit the 200-spawnpoint hard limit (after which you cannot set any more)

Downloading \ offline use

While Terrasavr is largely an online\browser-based program, in some cases you may want to use the program without a connection to the internet.

If you have tried to save the page as-is, chances are that the local copy did not work correctly (or at all). This is due to a couple of factors:

  1. The default (non-Flash) version requires a specific server configuration to run in.
  2. Web browsers can be awkwardly bad at saving interactive web pages for local use.

However, that can be helped - if you download the SWF file used by the flash version, you'll be able to open it with a browser even if no internet connection is available.

If you need to download this documentation, that is much easier to do - simply save any of it's pages. It is specifically designed to include all content in a single file, which then displays displays one or other part of itself depending on the input.

Supported game versions/platforms

Terrasavr supports a number of Terraria versions,

  • PC/Mac/Linux: 1.1+
    Terrasavr supports desktop versions of Terraria all the way down to v1.1 (2011).
  • iOS/Android: 1.3+ (with caveats)
    Although the 2019 mobile versions were updated to be in line with PC file format, modifying your save files voids your right to technical support and may get you in trouble if you post them on official forums (official policy). See the related page for more information.
  • Consoles: 1.3+ (with even more caveats)
    Although Switch, XB1, and PS4 versions of Terraria now use a format slightly resembling that of PC version (which Terrasavr can load), modifying your save files voids your right to technical support and may even lead to an account ban by console vendor (official policy). See the related page for more information.

As result, Terrasavr is primarily intended as an character editor for desktop versions, and an character viewer for anything else.

Using Terrasavr on mobile

Mobile 1.3 update certainly took a massive amount of effort from developers, and brings the game more in line with PC versions, including save file format and surprisingly user-friendly options for save file backup/restoration.

There are some caveats, however:

  • Editing your save files voids your right to technical support (as per 505 games policy).
  • Sharing edited files on official forums is prohibited.
  • Editing your save files may cause the game to be more eager to crash, and you won't have anyone to complain to (as per caveat #1).

With that out of the way, let's review the points of interest

Finding your save files

To much of your (and mine) convenience, there are official guides for backing up and restoring save files:

Using Terrasavr

Although you can transfer your files to a computer, edit them, and transfer them back, you can also use Terrasavr on your mobile device!

So you can open Terrasavr in your mobile browser as usual, pick your save file, tweak what you must, save it back to the device (usually the file will end up in Downloads folder), and move it back to the save directory as per the official guide.

Unless your device has a pretty big screen, it is generally recommended that you use Terrasavr in landscape mode (much like Terraria itself); please excuse some clunkiness - I was not warned in advance that I'd have to make it work on mobile devices.

Troubleshooting

  • Terrasavr opens, but all text is black boxes (Android)
    This is an unidentified bug with Chromium on some devices.
    Opening the program in Firefox instead fixes this.
  • Files save with wrong extension (iOS)
    This is an issue that was only fixed in iOS 13.
    If updating the OS is not an option, use a file manager to give the file a correct (.plr) extension manually.

Terrasavr and console versions

As modern console versions of Terraria are starting to update ot PC-like features and save file format, some of their save files become compatible with Terrasavr. There's a whole bunch of caveats, however:

  • Editing your save files voids your right to technical support (as per 505 games policy).
  • Editing your save files may result in an account ban on XBox/PS (I am unable to find an official policy for Switch, but probably alike)
  • Sharing edited files on official forums is prohibited.
  • As with any external modifications, editing your save files may cause the game to be unstable. I don't think your console could catch fire, and Terrasavr does its best to not touch anything except for what you asked to change, but still a thing to keep in mind.
  • Depending on console, save files may be hard to acquire, even harder to replace, and may have a secondary layer of encryption (e.g. on Switch), making the whole activity somewhat impractical.

For above reasons, I don't think the reward is worth the risk and work involved;

As of writing this (Oct 2019) people have only confirmed Terrasavr to work with Switch save files.

The flash version

The flash version of the program uses Adobe Flash Player instead of JavaScript for vast majority of it's functions.

While it relies on the aforementioned browser plugin to function, that permits it to work more consistently and remain independent of system and browser settings.

If the regular version is not working correctly for you, the flash version is a good alternative to having to open the program in a different browser.

It can also be downloaded for offline use.

Feature requests \ roadmap

This page contains a list and status of commonly requested features.

Set custom stats for items

Currently not possible: Terraria only stores a bit of information about each item in the file, namely just the item index (which item it is), item quantity (where applicable), and the item' prefix index. So that's a job for the downloadable game mods.

Preview the character with armor\vanity\dyes

Planned, but don't hold your breath: while a potentially useful feature, is also a crazy amount of work - not only would I need to efficiently pack all the additional armor and particle imagery, but also precisely replicate the game's algorithms of drawing the various effects and dyes.

tAPI support

Implemented: is a separate program.

While item names\icons\descriptions from custom mods will not be displayed, they can be modified as long as you know the item IDs to input.

Mod support

"Are there plans to support mod X?"

Planned: Since the character files only store item indexes (as opposed to actual stats), supporting a given mod currently requires me to make a partially altered version of the program that would recognize those items and file format changes (see above). Needless to say, that is a lot of work.

In future I plan to make the program more adapted for supporting multiple formats and item sets at once. Most likely will be done together with some major UI overhaul if anything.

Downloadable\executable version

Planned: While you already can download Terrasavr for offline use, I would like at some point to make a "proper" downloadable version that would be able to save/load files without displaying file prompts every time.

That is not as easy as it sounds though - web applications function quite differently to the "native" ones, and doing a native application "right" is quite different from doing a web application "right".

Consistently compiling 5 versions of the program (JavaScript, Flash, Windows, Mac, Linux) would likely be a rather time-consuming process as well.

Localizations

"Will Terrasavr be available in language X?"

Planned: Currently Terrasavr is only available in English. This is due to a couple of reasons:

  1. The program was not made with multi-language support in mind and thus includes no mechanisms for displaying multiple possible captions for everything.
  2. The font used by the game ("Andy") does not include any non-Latin characters as-is. Picking a different font would disturb the visual consistency with the game.
  3. It would only be possible to include item names and descriptions available in the actual game - any other languages would have a mix of localized UI and English item names/descriptions, which is not good.

I plan to experiment with more compatible approaches to displaying user interface in future, which should potentially both allow to rely on the viewer's system for font features and for translation software to be able to "read" the program's text.

Software for other games

"Could you make an editor for game X?"

Maybe, but most likely not: Most of the time I'm extremely busy with work (which is mostly on videogames! Go take a look sometime), life, and supporting a variety of existing projects.

Intents & motivation

People sometimes ask me why I made Terrasavr, or why I still update it, so

Ease of use

Most of the existing tools at the time would have one or other kind of setup requirements - sometimes you'd need a .NET framework version, sometimes Java, sometimes an incredibly specific version of Python.

Then, of course, you had the actual tool UI, which varied from somewhat expected to unconventional.

For these reasons Terrasavr was made web-based (which means that it runs on majority of devices with no additional effort) and mimics the way UI works in Terraria itself.

Safety

There is an inherent risk to running software that you downloaded from the internet.

Most of the people making tools are in for a technical challenge, but how many are ready to support these tools for years to come?

You never know when a thing you use quietly changes hands twice and ends up in hands of an Israel-based company that is extremely interested in selling your entire browsing history.

So, Terrasavr is a web-based tool.
The only things it touches are the files you give it.
The only information it collects is the fact of opening it via Google Analytics/Adsense.
The save files are processed client-side and are not uploaded anywhere.

I think this is a good setup to strive for.

Balance

My by-far biggest gripe with Terraria at the time of starting to work on Terrasavr (late 2013) was the scarcity of some of the essential items - most notably Magic Mirror. You'd only get 1-2 of these per a small world, so, if you wanted to play with 3 players, some of you would have to get around by foot for the entire duration.

Over time this problem was gradually mitigated (first by introducing Recall Potions, then by introducing Magic Mirror variants acquired through other means), but Terrasavr remains valuable for situations where you don't want to have a huge hole in your world's desert just because you wanted some sandstone for construction.

Translating Terrasavr

You can help translate Terrasavr to other languages!

For this you will need a few things:

  • A text/code editor, preferably something with JSON syntax highlighting.
    VS Code is a good option.
  • Basic understanding of English or sufficient understanding of Terraria/Terrasavr.
  • A bit of patience - there are 350 translatable snippets of text total.
    (though many are only 1-2 words long / can be omitted entirely)

The process

  • Download the sample localization file by clicking "Save sample" on the languages tab.
    You can also download the entire language package if you want to look at the existing translations as reference.
  • Translate right-hand values ("B" in any "A": "B" pair) of interest.
  • Use "Load/preview" button on the languages tab to see if it's working correctly.
    (e.g. that your labels fit in the UI)
  • Once you are done, send your translation file one or other way.

Additional notes

  • "itemLocale" in "misc" section indicates which item names/descriptions to use.
    These are pulled directly from the base game.
    The following are available:
    • "en-US": English.
      You can also use "", which will use the Terrasavr's default data set, which can be slightly more precise.
    • "de-DE": German
    • "es-ES": Spanish
    • "fr-FR": French
    • "it-IT": Italian
    • "pl-PL": Polish
    • "pt-BR": Brazilian Portuguese
    • "ru-RU": Russian
    • "zh-Hans": Simplified Chinese
    Note that the base game translations can be slightly inaccurate/incomplete, though that is slightly less of a problem for Terrasavr to address.
  • "useBitmapFont" in "misc" section can be set to false to always use user's system fonts instead of the stylized font that Terrasavr and Terraria use by default. It's an option to enable if some/all characters of your language are rendered as "?" in Terrasavr.
  • Pretty much every label/button/field can also have a tooltip (e.g. saveEquips and saveEquips.ttip) - if you have to shorten words anywhere, you can add tooltips/explanations to items that didn't have them in the English translation.

Terrasavr © YellowAfterlife. Terraria content/materials are trademarks/copyrights of Re-Logic and its licensors.