nod-rs

Library for traversing & reading GameCube and Wii disc images.
Based on the C++ library nod, but does not currently support authoring.
Currently supported file formats:
- ISO
- NFS (Wii U VC files, e.g.
hif_000000.nfs)
CLI tool
This crate includes a CLI tool nodtool, which can be used to extract disc images to a specified directory:
nodtool extract /path/to/game.iso [outdir]
For Wii U VC titles, use content/hif_*.nfs:
nodtool extract /path/to/game/content/hif_000000.nfs [outdir]
Library example
Opening a disc image and reading a file:
use ;
use NodeType;
use new_disc_io;
use Read;
let mut disc_io = new_disc_io?;
let disc_base = new_disc_base?;
let mut partition = disc_base.get_data_partition?;
let header = partition.read_header?;
if let Some = header.find_node
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.