2 unstable releases

0.2.0 Jan 7, 2024
0.1.0 Aug 16, 2023

#1103 in Filesystem


Used in 2 crates

MIT/Apache

30KB
533 lines

CDragon library for RMAN files

Library to work with RMAN manifest files used by Riot for League of Legends.


lib.rs:

Support of RMAN files, Riot manifest files

Use [Rman] to open an RMAN file and access its content.

An RMAN file is made of a header and multiple tables (bundles, file names, ...). When an instance is created, only the headers are read. Tables are then iterated on using the iter_*() methods.

Example: list files


let rman = Rman::open("example.manifest").expect("failed to open or read headers");
// Directories are listed separately from files and their basenames
let dir_paths = rman.dir_paths();
// Iterate on files, print the full paths
for file in rman.iter_files() {
    println!("{}", file.path(&dir_paths));
}

Dependencies

~5MB
~90K SLoC