#sfc #metadata #snes #header-parser #assume

bin+lib sfc_cart

SNES/SFC ROM header library and utilities

1 unstable release

0.1.0 Sep 10, 2024

#1671 in Encoding

MPL-2.0 OR LGPL-2…

6.5MB
626 lines

sfc_cart

sfc_cart is a crate for reading SNES SFC ROM metadata stored in the ROM itself. It also inclueds an example application that reads the metadata and prints it to standard output as a JSON string.

Of note, this crate assumes the ROMs do not have an .smc header.

Example Application Usage

The module includes an application which parses SFC files and prints their metadata. The SNES/SFC ROMs must not have a .smc header.

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.

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 and write Super Nintendo SFC ROM internal headers.

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

Dependencies