A library to edit Tracker data with pleasure.
Because "Representation is the Essence of Programming".
For now XM FastTracker II files are supported.
Useful struct parts:
XmModule
struct using XmModule::load(&XM)
Module
using .to_module()
Module
to XmModule
: XmModule::from_module(&module)
XmModule
save()
fnEdit data using rustified structs, use Module
struct.
Note: You can only save InstrDefault
using XM fileformat.
let mut mod = Module::load(&data)?;
let data = mod.save()?;
data contain a small five bytes header b"XMrs" + version coming from CARGOPKGVERSION_MAJOR.