Skip to content
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.