In this example we:
- Create a
BrawlMod
from a brawl mod sd card folder and a brawl dump folder. - Load
Fighter
s from the brawl_mod. This is the raw data from the fighter folder, stored in a tree of structs. - Create a
HighLevelFighter
from an exported brawl fighter directory. This contains processed data from theFighter
struct, stored in a tree of structs.
use BrawlMod;
use HighLevelFighter;
use PathBuf;
let brawl_path = from;
let mod_path = from;
let brawl_mod = new;
for fighter in brawl_mod.load_fighters.unwrap