Skip to content

How to Patch Terraria

Robert Jordan edited this page Aug 25, 2017 · 3 revisions

How to Patch Terraria

Terraria Item Modifier is a patch. This means it makes makes changes to the Terraria executable by inserting instructions in order to call item modification functions. The program will ask to make a backup upon patching. It is highly recommended that you do so. If for some reason you lose the backup, you can always use Steam's Verify Integrity of Game Files feature. If you lose the backup and do not have the Steam version, you will have to reinstall.


Important Files

Below are the important files to take note of.

Backup File

The backup has the same name as the Terraria executable with .bak on the end. So Terraria.exe will become Terraria.exe.bak. This file will be created in your Terraria folder.

Modification File

The modification file is named ItemModifications.xml and created in your Terraria folder. Edit this file in order to customize Terraria items. The modification file uses XML. (May include ini files in the future)


Patching Options

Below are the available options for patching with Terraria Item Modifier.

Patch

  1. (If a backup does not exist) Asks if you'd like to first backup your current Terraria executable. If yes, the executable will be duplicated and given the same name with .bak on the end.
  2. The program will make changes to the Terraria executable and then move the required dlls into the Terraria folder.
  3. (If modification file does not exist) An ItemModifications.xml file will be created in the Terraria folder with a commented out example modification.

Restore & Patch

  1. Backup must exist in order to continue.
  2. The current Terraria executable will be replaced with the backup. The backup will not be removed.
  3. The program will modify the Terraria executable and then move the required dlls into the Terraria folder.
  4. (If modification file does not exist) An ItemModifications.xml file will be created in the Terraria folder with a commented out example modification.

Restore

  1. Backup must exist in order to continue.
  2. The current Terraria executable will be replaced with the backup. The backup will not be removed.