Crates.io | xmrs |
lib.rs | xmrs |
version | 0.5.13 |
source | src |
created_at | 2023-03-12 16:14:42.698424 |
updated_at | 2024-05-10 09:30:06.472044 |
description | A library to edit SoundTracker data with pleasure |
homepage | |
repository | https://codeberg.org/sbechet/xmrs |
max_upload_size | |
id | 808145 |
size | 148,027 |
A library to edit Sound Tracker data with pleasure.
Because "Representation is the Essence of Programming".
For now MOD Amiga Modules and XM FastTracker II files are supported.
Useful struct parts:
AmigaModule
struct using AmigaModule::load(&amiga)
Module
using .to_module()
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 CARGO_PKG_VERSION_MAJOR.