A tool to export and import uncompressed (a.k.a. "raw") graphics from Nintendo 64 games.
Download for Windows. (Also available for 64-bit Windows.)
It has built-in help, so look at that to see an explanation of all the parameters. As an example, the following command exports the cactus from an extended Super Mario 64 ROM.
n64rawgfx -m export -r "Super Mario 64.ext.z64" -b cactus.bmp -f RGBA -d 16 -a 0xcdbbd1 -x 32 -y 32
Importing is similar, except the image dimensions are automatically read from the BMP file. The following command replaces the coins with cacti.
n64rawgfx -m import -r "Super Mario 64.ext.z64" -b cactus.bmp -f IA -d 16 -a 0xAB7B8C
If you don't specify the BMP filename during import or export, the address (padded to eight digits) will be used as the filename.
The following formats can be exported:
- RGBA (16-bit, 32-bit)
- IA (16-bit)
- I (4-bit, 8-bit)
The output file will be a 32-bit BMP file with an alpha channel.
The following formats can be imported:
- RGBA (16-bit, 32-bit)
- IA (16-bit)
- I (4-bit, 8-bit)
The input file must be a 32-bit BMP file.