celesteloader 0.5.2

Code for working with Maps, Assets, and Mods for the game Celeste
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use anyhow::{Context, Result};
use celesteloader::dialog::Dialog;

fn main() -> Result<()> {
    let file = std::env::args().nth(1).context("no file passed")?;

    let contents = std::fs::read_to_string(file)?;
    let dialog = Dialog::from_txt(&contents);

    println!("{:#?}", dialog.get("VanillaContest2023_0_Lobbies_Lobby"));

    Ok(())
}