1NBFS2TGA(1)               BSD General Commands Manual              NBFS2TGA(1)
2

NAME

4     nbfs2tga — Nintendo raw NBFS image to TGA converter
5

SYNOPSIS

7     nbfs2tga [options] nbfs nbfp tga [width [height]]
8

DESCRIPTION

10     nbfs2tga converts Nintendo's raw NBFS images into common TGA images.
11     Both an NBFS file, containing the pixel data, and an NBFP file with the
12     palette data are needed.  If no height is specified, it is calculated
13     using the width value and the size of the NBFS file.  If no width is
14     specified either, this tool tries to guess the dimensions.  It might
15     guess the wrong dimensions.
16

OPTIONS

18     -h
19     --help
20           Show a help text and exit.
21     --version
22           Show version information and exit.
23     nbfs
24         The name of the NBFS file to read.  The NBFS contains the pixel
25         graphics part of the image.
26     nbfp
27         The name of the NBFP file to use.  The NBFP file contains the palette
28         part of the image.
29     tga
30         The resulting TGA file will be written there.
31     width
32         The width of the NBFS image.
33     height
34         The height of the NBFS image.
35

EXAMPLES

37     Convert an NBFS+NBFP into a TGA and specify dimensions:
38
39           $ nbfs2tga a.nbfs a.nbfp a.tga 64 64
40
41     Convert an NBFS+NBFP into a TGA and only specify width:
42
43           $ nbfs2tga a.nbfs a.nbfp a.tga 64
44
45     Convert an NBFS+NBFP into a TGA and guess image dimensions:
46
47           $ nbfs2tga a.nbfs a.nbfp a.tga
48

SEE ALSO

50     More information about the xoreos project can be found on its website:
51     https://xoreos.org/.
52

AUTHORS

54     This program is part of the xoreos-tools package, which in turn is part
55     of the xoreos project, and was written by the xoreos team.  Please see
56     the AUTHORS file for details.
57
58BSD                              July 23, 2015                             BSD
Impressum