| Crates.io | terra-wld |
| lib.rs | terra-wld |
| version | 0.2.1 |
| created_at | 2025-09-28 22:21:58.952809+00 |
| updated_at | 2025-10-09 19:06:35.55257+00 |
| description | Terraria world parser |
| homepage | |
| repository | https://gitlab.com/terra-conv/terra-wld |
| max_upload_size | |
| id | 1858669 |
| size | 391,955 |
Library for reading and modifying terraria world files.
use terra_wld::World;
use std::{
fs::File,
io::{BufReader, BufWriter},
};
let mut world = World::read(BufReader::new(File::open("WORLD0.WLD")?))?;
world.name = "bajo jajo".to_owned();
world.write(BufWriter::new(File::create("WORLD1.WLD")?), 69)?;
AGPL v3+ © Filip K.