Introducing: Terrasavr!

Terrasavr

Hello again. It've been a short while, but I have some news - today I'm proud to present you with... Terrasavr! Terrasavr is a web-based profile viewer & editor for Terraria (video game). You can either take a look at it from that last link, or read the full post for more details.

When

Just recently - as you may know, I've added FileReference support into OpenFL-bitfive some time ago, which means that one can now use file dialogs to exchange files with user in HTML5 applications. Provided that I wanted to verify that new features work as intended in most cases, it was a logical choice to actually make something to use it. So I've settled with a project that requires a bit of file operations, a bit of cryptography (Terraria profiles are AES-encrypted), and some UI elements as well. So a week of morning work later, there goes this.

Why

Well... because, I can. Also, should you look at existing profile viewers/editors for Terraria, most of them are written in C#, do not have that much of a comfortable UI, and are generally not particularly up to par. So I've decided to make something that would be a change - look good, stay functional, and work everywhere.

How

One of things I find particularly annoying in tools of this kind is the dependency on other tools or documentation - even if there's a built-in item search function, you still cannot efficiently compare items without looking at wiki (which can be outdated) or loading up the game (which takes time).
At the same time, Terraria (application itself) features an external interface, which can be used by applications for multiple purposes. So I've made a small separate C# tool that would poll the game for item information and then write down significant parts for later use in Haxe app.
For one, results are amusing - application displays pretty much the same set of data that actual game does, sometimes even more:

Comparison of information shown by Terraria and Terrasavr

Item search itself is also kept intuitive, displaying results as you type in a familiar form:

Terraria item search in Terrasavr

And, just in case you don't even know what you're searching for, there is a library of items, both by categories and by index:

Terraria item browsing in Terrasavr

And, of course, there's the usual functionality of adding/removing items, tweaking prefixes, changing player names & modes, and whatnot. Everything is kept more or less intuitive and matches style of game fairly well.

Technology-wise, Terrasavr is made with Haxe + OpenFL, and is compiled into JavaScript+HTML5 application with use of my OpenFL-bitfive. Source will probably be available later on, once I'll clean things up to a point when it would no longer be possible to scare children with some sections of code.

Check it out!
also:
Flash version
(if default one doesn't work)
Documentation
(if you are feeling lost)

Related posts:

142 thoughts on “Introducing: Terrasavr!

  1. Hey, I just wanted to ask for some help, I’m still not sure how to use this program and I’d really like to use it. But unfortunately, It doesn’t load the items and dyes I’ve put into my backpack via Terrasavr. Nor does it display the other saves I have when it displays the single save it does display. Thanks for the help!

  2. Is it possible to edit a world? For example make a Normal mode world to a Expert mode vice versa. Would be great 😛

    • There’s TEdit for that.

      I have no plans of making any web-based world editor for Terraria since such a project would either be very basic (if it was only to allow changing a few variables, which you don’t need often) or extremely costly to develop and maintain (since it would need to download and precisely replicate drawing of most of in-game graphics).

    • Same as in-game – hold to grab more of an item. Or use mouse wheel. Or click on item twice to select the slot and enter the desired number in the right-side section (keep in mind that game won’t let you “overstack” items past limits though).

  3. Does terrasavr work on a mac? I’ve tried to use it but my character wont load in the game. Is there something i’m doing wrong?

    • It should, so long as you are using the flash version or a non-outdated version of Safari. Did you take a look at FAQ?

      • I’m using Chrome and I can save and download the character, but it doesn’t show up in the load character screen. However, i will check the FAQ to see if I can fix it.

    • Not possible – the map is stored server-side. The only thing stored client-side is the minimap data, but the file contains nothing more useful than what you can already see on the map view in-game. I would assume that someone might have made a minimap data viewer by now – take a look around the forum.

    • Exactly same as in the game – click and hold to pick more blocks. Or middle-click to stock an item to max capacity.

  4. hey Actually the link doesn’t work on PC’s explorer but on the mobile’s.How about adding the function of changing the value ”Use time”?That can be useful.Is that possible?

      • The game stores most of the things as 4-byte integers so values are in -2147483648..2147483647 range. This is not something that can be bypassed without having mods that change the save format, again (e.g. TAPI allowed higher values but it’s kind of dead now).

    • It is not possible because the save files only store item ID (numeric), item prefix, and item quantity. Item stats are determined by the game itself. You’ll need some actual patch/mod for that.

        • Unfortunately I haven’t had time to properly play Terraria since 1.3.0 release (was that mid-2015?), so I’m not aware of what mods work best/at all with the current version.

          I made a tiny TerrariaPatcher plugin in 2015 to allow changing use time and a few other stats via INI files, but I’m pretty sure that it doesn’t work anymore (ask on forums, maybe someone can fix it up), and it seems like TerrariaPatcher isn’t updated to the current game version either.

          In general, modding Terraria is not a pleasant process, as the amount of work required to update the mod grows both based on number of changes it makes, and on number of changes that new game update introduces.

          • What a pity!That plugin sounds so wonderful!I have to ask others for a useable mod

    • That would mean items that are either not something present in the base game (e.g. mod-made items), or not something known to Terrasavr (e.g. ReLogic sometimes add a few items together with fixes into updates). There’s no harm in these and you can still manipulate them as usual (aside of not seeing name/icon).

        • Will there be any update fix for green dots in terrasavr.

          And yes what are you going to do for the next update

          • If it’s some Terraria items, then yes – when I’ll be updating the program for the next large[-ish] update of the game.

            If it’s about modded items, then no (see FAQ).

            Generally I just update Terrasavr to work with new non-minor releases of Terraria because there’s a lot of other work to do. Will probably try making a new editor when OtherWorld comes out, but I guess that’s not super soon.

Leave a Reply

Your email address will not be published. Required fields are marked *