Skip to content
Extract sprites from iNES ROM files.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Extract sprites from iNES ROM files. Sprites are represented by 16 bytes which are splitted in two channels (the first 8 bytes and the second 8 bytes). Adding the bits from the nth byte of each channel results in a pixels color index (from 0 to 3).

An example implementation can be found in /cmd/nes-sprites/main.go. The following sprites are extracted from Super Mario Bros.

$ go install
$ nes-sprites mariobros1.nes


The format is described at Sadistech and N3S. Note that this package only reads CHR ROM and not CHR RAM.

You can’t perform that action at this time.