Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
Lihzahrd
Lihzahrd

User guide

  • Install Lihzahrd
  • Command-line tools

Developer guide

  • lihzahrd
    • terraria
      • utils
        • file_processor
        • structures
        • pack
      • data
        • classenumtype
        • classenums
        • classmembers
        • frameimportant_variant
        • enums
      • common
      • world
        • sections
        • frame_important
        • header
        • tiles
        • chests
        • signs
        • characters
        • tile_entities
        • pressure_plates
        • rooms
        • bestiary
        • journey
        • footer
  • Common operations

Contributor guide

  • lihzahrd._generate
  • Style guide
Back to top
View this page

utilsΒΆ

Module for utilities useful for the processing of Terraria save files.

It has three submodules:

  1. lihzahrd.terraria.utils.structures, with some basic data structures that appear often in save files;

  2. lihzahrd.terraria.utils.file_processor, for low level Terraria save file operations;

  3. lihzahrd.terraria.utils.pack, a set of mixins to implement reading and writing classes to FileProcessor, plus validation capabilities to optionally ensure the values being written are correct.

Next
file_processor
Previous
terraria
Copyright © 2026 Stefano Pigozzi -
Made with Sphinx and @pradyunsg's Furo