Hey guys, it's Chicken Bones here, and I'm just starting to look around modding Terraria, because that game is my jam.
Save Converter (tAPI r14 and below)
Download
Just put it in the Mods/Local folder, boot up tAPI and enable it.
Now you can put vanilla character and world saves in your tAPI/Players and /Worlds folders, and whenever mods are loaded, it will try and convert them.
I make no guarantees that this will work, I hacked it together in about 5 hours on my first day of Terraria modding and C#.
Hey look, tAPI r15 is out, that was sooner than I expected, don't worry I'll make something useful someday.
Technical details:
Whenever the AllModsLoaded callback is run on the mod, it scans the Worlds and Players folders for .plr and .wld files. It tries to load them as Zip files (tAPI format) and if it fails for any reason, it assumes they're vanilla and tries to convert them.
I just shoved vanilla Terraria into ILSpy, and copied the load methods for players and worlds into my mod, and used the tAPI save methods.
If anyone wants to give me some modding tips or recommendations, I'd love to hear them.
Happy modding guys.
Save Converter (tAPI r14 and below)
Download
Just put it in the Mods/Local folder, boot up tAPI and enable it.
Now you can put vanilla character and world saves in your tAPI/Players and /Worlds folders, and whenever mods are loaded, it will try and convert them.
I make no guarantees that this will work, I hacked it together in about 5 hours on my first day of Terraria modding and C#.
Hey look, tAPI r15 is out, that was sooner than I expected, don't worry I'll make something useful someday.
Technical details:
Whenever the AllModsLoaded callback is run on the mod, it scans the Worlds and Players folders for .plr and .wld files. It tries to load them as Zip files (tAPI format) and if it fails for any reason, it assumes they're vanilla and tries to convert them.
I just shoved vanilla Terraria into ILSpy, and copied the load methods for players and worlds into my mod, and used the tAPI save methods.
If anyone wants to give me some modding tips or recommendations, I'd love to hear them.
Happy modding guys.
Last edited: