infinite-fusion 0.2.0

A simple crate for reading Pokemon Infinite Fusion's data
Documentation

infinite-fusion

A crate for deserializing the data from Pokemon Infinite Fusion's *.dat (ruby marshal format) files.

Implementations are naive, with few notable performance optimisations other than move flags being a u16 bitflag and BaseStats allowing for u8 representation. The point of the crate is to give an easy and reasonably sane way to access the data in Rust.

Usage

// Dex types are just a wrapper over Vec
let SpeciesDex(dex) = SpeciesDex::from_path("InfiniteFusion/Data/species.dat")?
// Maps are an IndexMap so you can access values by their ID
let SpeciesMap(map) = SpeciesMap::from_path("InfiniteFusion/Data/species.dat")?;