terra-wld
Library for reading and modifying terraria world files.
Example
use World;
use ;
let mut world = read?;
world.name = "bajo jajo".to_owned;
world.write?;
License
AGPL v3+ © Filip K.
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.