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:
Item search itself is also kept intuitive, displaying results as you type in a familiar form:
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:
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)
Dear creator, I tested your site for use on my android, and when I opened it, did not appreciate any words, only black squares, and a blue background (as usual), can you help me?
Hello, I’m aware of issues relating to using Terrasavr on mobile – I’m currently working on a new version that’s mobile-friendly.
Black rectangles are kind of a bad sign though – usually means that you’re out of memory.
Hello, in fact I wanted to know how to get a normal object in, for example, ruthless on Terrasavr?
You click an item once to select it, and then there are modifies on the “edit” tab on the right that you can click to apply. Some modifiers may not work for some items.
Bonjour j’aimerais savoir comment enchanter un objet sur Terrasavr (en gros par exemple prendre un équipement normal et le faire passer impitoyable) merci de votre réponse ;)
I used this before and only problem was that the map the character discovered before dissapears. Is there a way to fix that?
You might have renamed the character file while saving – map exploration data is stored separately in a subdirectory, so you’d have to rename/copy that
Hello Yellow,
How did you find the AES Encryption key for the Terraria files?
Pretty sure I simply looked it up on forums at the time, though it can be easily found with ILSpy (it’s the same static key for all files)
Thank you for this tool, it rocks!
it is awesome
it helped me beat the moon lord and all the other bosses
i love the terrarian yoyo and the meowmere
thnx so much :3
How do we create our own items. I see the button for it, but then it asks me to load a file. I don’t know what code/download I need to create for it, so any advice would be good. Thanks in advance
Those buttons aren’t for loading custom items, they are for loading item sets – for example, you might group some bullets and supplies to a set. For custom items, I think TerraPatcher had some sort of a simple editor? But most likely you’ll have to learn some C#
So, I’m making a new character, right?
Since, I’m kinda…UNABLE TO SEE MY CURRENT CHARACTERS
I can only see the one I made IN the folder, but booting up terraria, it doesn’t recognize the character even being there.
What can I do??
Try temporarily disabling cloud saving or using file search to locate where the actual files are (they are named like character name.plr). When cloud saving is enabled, Steam can save the files wherever it wants (usually in some subdirectory of Steam install instead of the usual save directory)
Would it be possible for you to take the terrasavr experience to Xbox and PS?
Not impossible, but would be far less straightforward for the user, and wouldn’t be too legal either (FAQ), so I don’t think I’ll be trying my luck.
Hello, is there a way to update your tool so that it can show modded items (if only by Item ID, qty, modifiers, and maybe an item icon denoting that it’s from a mod)? That way modded items will not get overwritten when editing the save file, and they can be moved around and manipulated.
Really useful tool for building servers, though. Thanks much for creating it.
If modded items use numeric IDs, they should still show up in Terrasavr, like so:
It is only if items are stored somewhere else entirely that they cannot be shown; Terrasavr tries to not break things by writing any extra data from the file the same way it was read.
That’s also where the trouble comes, as there’s no universally agreed upon way of doing this so it varies mod to mod – some use normal IDs slighlty outside of game’s ID space, some write them to the end of the file, some write them to an entirely different file.
Not sure how one would support this without enduring the task of writing (and maintaining) a few decades of different format handlers. Hopefully ReLogic will do some form of official modding API sometime.
Hey, This is an amazing tool! Is there any way to add souls with this editor? I can’t find any of the souls of light, might, fright, sight, night…
There’s a search bar where categories are, example.
How do I transfer my character onto the console version if i can?
You can’t – mobile and console versions use a different format for save files, and there are other factors (FAQ).
oh. Do you have anything or know anything for console?
I’m not aware of there being any specific tools for that, but I also don’t play Terraria on console so I’m not a reliable source of information on this, unfortunately.
Having a problem loading the website, chrome just says i run out of memory when loading the site
Try the flash version. If you have large screen resolution/density but a small amount of RAM, can also try running the program in a separate smaller window.
Hey, YAL
I am having problem that I have green dots in terrasavr inventory.
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).
Thanks, alot I did not know you still had Terrasavr support.
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.
i cant open it ;-it is always loading
You may need a media player which needs flash.And it must be ran on computers (Windows 10 except?)
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?
And is the maximum value 2147483647?When it becomes higher,it turns opposite
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.
Can u give me some suggestions?(I wonder which mod can do changing the value ”use time”)Thx :-)
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
You can use some hacks from mpgh.
Is there a way to choose like 500 Blocks at the same time?
Exactly same as in the game – click and hold to pick more blocks. Or middle-click to stock an item to max capacity.
A option to full map? plis
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.
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.
Dude how to add mods in terrasavr
Isn’t the terrasvr working anymore?
I now see it no longer works in Firefox v50.0.2 (actually Waterfox).
In Internet Explorer v11.576.14393.0 it does work correctly.
How do you stack items?
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).
Thanks! I had this problem too much.
Is it possible to edit a world? For example make a Normal mode world to a Expert mode vice versa. Would be great :P
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).
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!
Nevermind I figured it out thanks again!
How did you figure it out?!