1 unstable release

0.1.0 Sep 12, 2024

#2400 in Encoding

MPL-2.0 OR LGPL-2…

39KB
192 lines

n64_cart

n64_cart is a module for reading N64 ROM metadata. Only ROMs in proper big endian format are recognized. Additionally, currently the library only works with ROMs that use ASCII instead of JIS X 0201 for encoding text in the header.

This also includes an example application that reads the metadata and prints it to standard output as a JSON string.

Example Application Usage

The module includes an application which parses N64 ROMs and prints their metadata.

cargo run [ROMs...]

The example application prints the parsed header metadata as a JSON string, with an array holding a number of objects equal to the number of ROMs successfully parsed. Any errors are reported to standard error. metadata.

License

This module is released under the following licenses:

  • GPL v2 or later
  • LGPL v2.1 or later
  • MPL 2.0

Refer to the LICENSE file for more information.


lib.rs:

This crate contains routines to read N64 ROM internal headers.

This has a companion cli application crate that will read an N64 file and print out its information.

Dependencies

~9.5MB
~39K SLoC