Tool TConvert - Extract content files and convert them back

Not foolproof: i just "zipbombed" myself into desktop expecting it to create a folder and put everything in it
 
I'm trying to extract the textures from older versions (so far 1.0, 1.0.1, and 1.0.6.1) and like half of the textures have errors, why might that be happening? It gets these errors:
Reason: IO error (Unable to read beyond the end of the stream.)
Reason: Exception ((window_posn + this_run) > window_size)
Reason: IndexOutOfRangeException (Index was outside the bounds of the array.)

I tried with TExtract too, it just doesn't progress after the first problematic file
 
Last edited:
Heuqc2a.png


A combination tool for managing Terraria content resources. Extract from Xnbs, convert to Xnbs, backup, and restore. The unofficial sequel to TExtract.

Supports: Images, Sounds, Sprite Fonts, ReLogic's Dynamic Sprite Fonts, and Wave Banks




0WIdxpO.png


Preview

(This preview has been sped up)
XWBaOIG.gif


0WIdxpO.png


Features

~ Extract image, sound, and font resources from Terraria's Xnb files, and extract songs from Terraria's Xwb wave bank ~
~ Convert images and sounds back into Xnb format and copy them to the content directory ~
~ Backup and restore your content folder for when you need to remove changes (Glorified file copier) ~
~ Run scripts that give more control over where files go when they are converted or extracted ~
~ Drop files into the window to automatically process them ~
~ Command line support for use with Windows Shell or the command prompt ~
~ Set paths as "." to use the current directory of the executable ~

Requirements

.NET Framework 4.5.2 | Windows 7 or later

Downloads: v1.0.2.1

TConvert-1.0.2.1.exe
(The main UI-based executable)
TConvert-Console-1.0.2.1.exe
(The pure terminal version of TConvert. Works better in command prompt but has no UI)

~ Previous downloads can be found at the bottom of the page ~

0WIdxpO.png


Script Guides

How to Write XML
How to Write Scripts
Example Script


Links

Wiki | Credits | Image Album | Source Code


0WIdxpO.png


⬅ Other Information

v1.0.2.1
  • Program no longer crashes when failing to find the Terraria install directory and trying to extract a Wave Bank.
v1.0.2.0
  • Both now support premultiplying image alpha when converting to XNB. Note: This feature is enabled by default as most users will be expecting it (especially when A == 0 and RGB != Black)
v1.0.1.0
  • Now packaged with the full version of FFmpeg, which drastically increased the file size of the executable.
  • Numerous non-wave audio formats are now supported.
  • Now launches Terraria from the configured save folder in Terra Launcher if present on the computer.
  • A bit of code refactoring.
v1.0.0.4
  • No longer throws an error when encountering comments in xml scripts.
v1.0.0.3
  • Wave Banks can now extract to and from paths with spaces in them.
  • Renamed extracted tracks and TrackList file.
v1.0.0.2
  • Font checkbox in extract tab should properly disable.
  • No more errors related to invalid or null paths.
v1.0.0.1
  • Fixed an outdated error message window using the old program name and not linking to the correct GitHub page.
v1.0.0.0
The first release. Comes with everything you need to convert and extract Xnb files.​
Im still confused on a few things
Where are the files for say bosses? Like if I wanted to retexture the Golem boss and tried to use this as a guide, where would I find the info I need? Like what to title the retexture, where to put the retexture and what not. I can't even find enemies so I'm confused.
Is this up to date with 1.4.9?
 
Worked on almost everything: sounds, images and fonts

but didn't work on shaders (gets an error) and music comes all glitchy and painful
 
An attempt to extract the wavebank results in a small bunch of broken wav files, some of which are described as unknown, in any case none of them are played, the player outputs a wild screech. I think this is because of the new wavebank formats that the developers implemented.
 
Back
Top Bottom