terra-wld 0.3.0

Terraria world parser
Documentation

terra-wld

Library for reading and modifying terraria world files.

Example

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)?;

License

AGPL v3+ © Filip K.