pnm2chr - converts PNM files to NES sprite data (.chr files)
version 0.02
pnm2chr input.pgm # generates input.chr pnm2chr < input.pgm > output.chr
This is a simple wrapper around Games::NES::SpriteMaker to convert existing files from PNM format to CHR-ROM format. If you pass a filename as an argument, it will create a new file in the same directory with the same name except replacing the extension with .chr, otherwise it will read PNM data from stdin and write CHR data to stdout.
.chr
Jesse Luehrs <doy@tozt.net>
This software is Copyright (c) 2014 by Jesse Luehrs.
This is free software, licensed under:
The MIT (X11) License
To install Games::NES::SpriteMaker, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Games::NES::SpriteMaker
CPAN shell
perl -MCPAN -e shell install Games::NES::SpriteMaker
For more information on module installation, please visit the detailed CPAN module installation guide.