Terraria

Terraria

37 ratings
A Guide to Resource Packs
By Mabel
We all know that Terraria 1.4 officially supports resource packs, but it's a little hard to make them.
   
Award
Favorite
Favorited
Unfavorite
Requirements
Some photo editor (that handles transparency, I recommend Aseprite as it's great for pixel sprites, but Aseprite is $20, so Gimp[www.gimp.org] also works, and it's free.)
Some sound editor (that can export as wav, I recommend Audacity[www.audacityteam.org])
XNB Converters[drive.google.com]
Localization Unpacker[forums.terraria.org]
Game Assets (your terraria folder)
Data IDs[terraria.fandom.com]
Music IDs[terraria.fandom.com]
Terraria (obviously)
Step 1: The Original Files
Open up Terraria's files and navigate to the content folder.

In the content folder, there will be sounds and images.

XNB files you want in the images folder go into the XNB to PNG converter
XNB files you want in the sounds folder go into the XNB Sound Converter

XNBs will be named based off of the ID of the texture. Data IDs are found here[terraria.fandom.com]

Make sure to first move the XNBs you want to a new folder outside of the terraria folder, otherwise you're gonna have PNGs in your terraria directory.
Drag those XNBs into their respective converters.
You now have terraria's assets.
Step 2: Editing
Now that you have the files, open up your photo editing app/audio editing app and edit the files to what you want them to be.
Once you have your version of the files, drag the WAVs into the WAV to XNB converter. You do not need to convert PNGs back, they work in their standard PNG format.

Converter files
Step 3: Putting it all together
You'll need a few files for this.
First, a "pack.json".
pack.json contains the information about your resource pack (name, author, etc)
Here's what it should look like.
{ "Name": "A Guide to Resource Packs", "Author": "Nyrif", "Description": "Hey, this is the guide I'm reading!", "Version": { "major": 1, "minor": 0 } }
Put that file into a new folder, that folder will be the folder for your resource pack.
In that same folder, create a new one called "Content".
In the Content folder, create an "Images" folder if you have images and a "Sounds" folder if you have sounds.
Put all your images into the Images folder and all sound XNBs into the Sounds folder.
Now you just need an icon. Create a 512x512 icon that will represent your resource pack.
Place it in the resource pack folder.
Step 4: The Working Resource Pack
Place your resource pack folder into C:\Users\username\Documents\My Games\Terraria\ResourcePacks.
Boot up Terraria.
Enable your resource pack in the workshop section.
Test it out, make sure it works.
Once you're ready to put it on the workshop, hit the publish resource pack button in the workshop menu for terraria.
You now have a resource pack of your own.

A sample of what a working resource pack should look like. (Using my LISA Mags resource pack)
Optional: Localization
If you want to change text in game, use the Localization Unpacker tool to get the localization files.
In the app itself, select where your terraria EXE is and select where the unpacked files will go.
Click the unpack button.

Once you have the localization files, open the one you want to edit.
Edit anything in it
Save it and name it "en-US.json".
(If the file has another word before .json, put it there too (example: en-US.item.json))
Put it in the content folder of your resource pack in a folder called "Localization".
Now you have custom text for stuff in game.
Optional: Music
It is also possible to replace music.
It's actually really simple to do.

In the Content folder of your resource pack, make a folder called "Music"

Get the Music ID from here[terraria.fandom.com]
It will be under the "In-game tracks" category.

Place a wav file in the Music folder named "Music_#.wav"
Replace the # with the number of the song.
For example, Boss 2 is Music_12.wav
NOTE: For some reason, you don't have to convert the wav back to XNB for music.

If you have the song's MP3 file but not the WAV file, you can use Audacity[www.audacityteam.org] or FFMPEG [ffmpeg.org] to convert it.
(Audacity is a lot more simple.)

Other Things To Know
1: Updating your resource pack does not reupload it as another submission, as long as you don't delete the workshop.json file.

2: When changing the image of a painting, make sure to change it's tileset too. Same thing with boulders and other placeable tiles.

3: Armor and the armor item icon are 2 separate files. Make sure to change both.
Bonus: How to be unfunny
Step 1: Post those stupid ass doge/bob/whatever copypastas
Step 2: Congratulations, you're now unfunny.
33 Comments
Orange Firefly 30 Jan @ 1:08pm 
Turns out I put a comma instead of a period when changing the file to a .JSON file. Whoops.
Mabel  [author] 30 Jan @ 11:19am 
either you messed something up, or they changed resource packs since i wrote this
Orange Firefly 30 Jan @ 2:02am 
I followed every step, but it didn't show up in the resource packs menu, any way to fix this?
Funeral of the Dead Butterflies 11 Aug, 2024 @ 9:54pm 
This is gonna be helpful one day
Electro 13 Oct, 2023 @ 4:42am 
alright
Mabel  [author] 12 Oct, 2023 @ 8:34pm 
I forgot lmao Ive moved on to C# in Unity rather than texture replacements in terraria
Electro 12 Oct, 2023 @ 11:49am 
is there a folder where I can access my currently active textures? The game's system absolutely sucks with me having to cherry-pick the exact order of resource packs that I have in vanilla to put them in tmodloader, and you can't drag mods too so that makes it hard to move them into the correct order. So I've been looking for where I could find a folder with my current active resource packs, since the workshop folder showcases all textures, not just the ones active.
Adzer88 21 Jun, 2023 @ 1:18pm 
Ok, thanks :steamthumbsup:
Mabel  [author] 21 Jun, 2023 @ 1:05pm 
It's been forever since I've made a terraria texture pack, but I'm pretty sure you just upload it again, it'll have to have the same name and you'll have to keep the workshop file in it
Adzer88 21 Jun, 2023 @ 5:58am 
How do you update a resource pack without taking it down and reuploading? I've done it before i just forget and can't find anything online.