Navigation Menu

Skip to content

bake/nes-sprites

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nes-sprites

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 github.com/bake/nes-sprites/...
$ nes-sprites mariobros1.nes
$

Sprites

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

About

Extract sprites from iNES ROM files.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages